{"action":"created","issue":{"url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws/issues/11","repository_url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws","labels_url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws/issues/11/comments","events_url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws/issues/11/events","html_url":"https://github.com/nidayand/motor-on-roller-blind-ws/issues/11","id":314263954,"node_id":"MDU6SXNzdWUzMTQyNjM5NTQ=","number":11,"title":"MQTT connection failed","user":{"login":"Glivmo","id":26405811,"node_id":"MDQ6VXNlcjI2NDA1ODEx","avatar_url":"https://avatars0.githubusercontent.com/u/26405811?v=4","gravatar_id":"","url":"https://api.github.com/users/Glivmo","html_url":"https://github.com/Glivmo","followers_url":"https://api.github.com/users/Glivmo/followers","following_url":"https://api.github.com/users/Glivmo/following{/other_user}","gists_url":"https://api.github.com/users/Glivmo/gists{/gist_id}","starred_url":"https://api.github.com/users/Glivmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glivmo/subscriptions","organizations_url":"https://api.github.com/users/Glivmo/orgs","repos_url":"https://api.github.com/users/Glivmo/repos","events_url":"https://api.github.com/users/Glivmo/events{/privacy}","received_events_url":"https://api.github.com/users/Glivmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-04-13T22:06:51Z","updated_at":"2018-12-30T09:44:46Z","closed_at":null,"author_association":"NONE","body":"So, I've used version 1.2.0 for quite some time and decided to update to 1.3.1. I'm using this in conjuction with an MQTT server through hass.io, for which i added username and password support myself in 1.2.0.\r\n\r\nAfter making the update to 1.3.1 the blinds are not functioning correctly. I set the wifi settings via the \"BlindsConnectAP\" network after which it tries to connect to my MQTT server, but it prints out the following:\r\n`Attempting MQTT connection...failed, rc=-2 try again in 5 seconds`\r\nIt then just keeps attempting the connection, but never manages to connect. I've already checked if my MQTT server works properly and it does. I tried almost everything (including different usernames), but it will never connect. When not filling in the mqtt_server, it does connect, but only for websocket (duh).\r\n\r\nI even tried going back to 1.2.0, but unfortunately it shows the same error. Any thoughts?"},"comment":{"url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws/issues/comments/450549527","html_url":"https://github.com/nidayand/motor-on-roller-blind-ws/issues/11#issuecomment-450549527","issue_url":"https://api.github.com/repos/nidayand/motor-on-roller-blind-ws/issues/11","id":450549527,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU0OTUyNw==","user":{"login":"Bennedetto","id":13197758,"node_id":"MDQ6VXNlcjEzMTk3NzU4","avatar_url":"https://avatars2.githubusercontent.com/u/13197758?v=4","gravatar_id":"","url":"https://api.github.com/users/Bennedetto","html_url":"https://github.com/Bennedetto","followers_url":"https://api.github.com/users/Bennedetto/followers","following_url":"https://api.github.com/users/Bennedetto/following{/other_user}","gists_url":"https://api.github.com/users/Bennedetto/gists{/gist_id}","starred_url":"https://api.github.com/users/Bennedetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bennedetto/subscriptions","organizations_url":"https://api.github.com/users/Bennedetto/orgs","repos_url":"https://api.github.com/users/Bennedetto/repos","events_url":"https://api.github.com/users/Bennedetto/events{/privacy}","received_events_url":"https://api.github.com/users/Bennedetto/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T09:44:46Z","updated_at":"2018-12-30T09:44:46Z","author_association":"NONE","body":"@SoundGoof Hi, sorry for the late reply.\r\nThis is a configuration issue - nothing you may fix with code change. Depending on your flash size, you should select anything equal or lower to you chips size **and including SPIFFS**. The configuration is saved as a json file in the SPIFFS - thus this should be available. This fixed the issue for me.\r\n![flashsize_spiffs](https://user-images.githubusercontent.com/13197758/50545945-810ad100-0c1f-11e9-9b06-9e798b63d16f.jpg)\r\n"}}
{"actor":{"display_login":"Bennedetto"}}