{"action":"created","issue":{"url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12","repository_url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs","labels_url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12/comments","events_url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12/events","html_url":"https://github.com/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12","id":221419840,"number":12,"title":"ESP8266 loses MQTT connection when setting effect or animation speed VER. 10 Apr 2017","user":{"login":"LunaLens","id":19724395,"avatar_url":"https://avatars1.githubusercontent.com/u/19724395?v=3","gravatar_id":"","url":"https://api.github.com/users/LunaLens","html_url":"https://github.com/LunaLens","followers_url":"https://api.github.com/users/LunaLens/followers","following_url":"https://api.github.com/users/LunaLens/following{/other_user}","gists_url":"https://api.github.com/users/LunaLens/gists{/gist_id}","starred_url":"https://api.github.com/users/LunaLens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LunaLens/subscriptions","organizations_url":"https://api.github.com/users/LunaLens/orgs","repos_url":"https://api.github.com/users/LunaLens/repos","events_url":"https://api.github.com/users/LunaLens/events{/privacy}","received_events_url":"https://api.github.com/users/LunaLens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-12T23:38:32Z","updated_at":"2017-04-23T22:33:47Z","closed_at":null,"body":"I am using the example HA config and unmodified code (save for topics and network info)\r\nWhen I set any effect besides Solid, subsequent commands do not work properly. Selecting a different color does nothing and turning the lights off causes the ESP to to set RGB to 0 several times and then lose connection to the MQTT server.\r\n\r\nThe only thing that seems to work properly is the animation speed set command.\r\nIronically, changing the animation speed before setting an effect causes the ESP to  loop setting RGB to the same value some 1000 times (i/e)\r\nSetting LEDs:\r\nr: 255, g: 255, b: 255\r\nLoop count: 82\r\nSetting LEDs:\r\nr: 255, g: 255, b: 255\r\nLoop count: 83\r\nSetting LEDs:\r\nr: 255, g: 255, b: 255\r\nLoop count: 84\r\nSetting LEDs:\r\nr: 255, g: 255, b: 255\r\nLoop count: 85\r\n"},"comment":{"url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/comments/296493770","html_url":"https://github.com/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12#issuecomment-296493770","issue_url":"https://api.github.com/repos/bruhautomation/ESP-MQTT-JSON-Digital-LEDs/issues/12","id":296493770,"user":{"login":"bruhautomation","id":14144928,"avatar_url":"https://avatars3.githubusercontent.com/u/14144928?v=3","gravatar_id":"","url":"https://api.github.com/users/bruhautomation","html_url":"https://github.com/bruhautomation","followers_url":"https://api.github.com/users/bruhautomation/followers","following_url":"https://api.github.com/users/bruhautomation/following{/other_user}","gists_url":"https://api.github.com/users/bruhautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/bruhautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruhautomation/subscriptions","organizations_url":"https://api.github.com/users/bruhautomation/orgs","repos_url":"https://api.github.com/users/bruhautomation/repos","events_url":"https://api.github.com/users/bruhautomation/events{/privacy}","received_events_url":"https://api.github.com/users/bruhautomation/received_events","type":"User","site_admin":false},"created_at":"2017-04-23T22:33:47Z","updated_at":"2017-04-23T22:33:47Z","body":"Sorry about the issue! I am unable to replicate this on my end. Can you post the MQTT messages that are being sent on your broker from HA to your ESP and vice-versa? \r\n\r\nIf you run Mosquitto MQTT, you can use the command `mosquitto_sub -d -u yourMQTTusername -P yourMQTTpassword -t \"#\"` in the terminal window to see the messages. "}}
{"actor":{"display_login":"bruhautomation"}}