{"action":"created","issue":{"url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/98","repository_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub","labels_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/98/comments","events_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/98/events","html_url":"https://github.com/sidoh/esp8266_milight_hub/issues/98","id":243178538,"number":98,"title":"Master ON and OFF on buttons on MiLight remote don't publish a correct MQTT event","user":{"login":"kociubin","id":30198197,"avatar_url":"https://avatars4.githubusercontent.com/u/30198197?v=4","gravatar_id":"","url":"https://api.github.com/users/kociubin","html_url":"https://github.com/kociubin","followers_url":"https://api.github.com/users/kociubin/followers","following_url":"https://api.github.com/users/kociubin/following{/other_user}","gists_url":"https://api.github.com/users/kociubin/gists{/gist_id}","starred_url":"https://api.github.com/users/kociubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kociubin/subscriptions","organizations_url":"https://api.github.com/users/kociubin/orgs","repos_url":"https://api.github.com/users/kociubin/repos","events_url":"https://api.github.com/users/kociubin/events{/privacy}","received_events_url":"https://api.github.com/users/kociubin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-07-15T14:31:29Z","updated_at":"2017-07-15T22:44:52Z","closed_at":null,"body":"Pressing the Master On or Off button on the MiLight remote publishes an event like this:\r\n{\"device_id\":16184,\"device_type\":\"rgbw\",\"group_id\":0,\"state\":\"OFF\"}\r\n\r\nThere is no way to distinguish the Master On/Off event from the group On/Off event.  They are the same.\r\n\r\nIt would be great if Master On/Off could publish an event that identifies that ALL groups are off (e.g. use -1 to identify the special \"all\" group):\r\n\r\n{\"device_id\":16184,\"device_type\":\"rgbw\",\"group_id\":-1,\"state\":\"OFF\"}"},"comment":{"url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/comments/315568176","html_url":"https://github.com/sidoh/esp8266_milight_hub/issues/98#issuecomment-315568176","issue_url":"https://api.github.com/repos/sidoh/esp8266_milight_hub/issues/98","id":315568176,"user":{"login":"kociubin","id":30198197,"avatar_url":"https://avatars4.githubusercontent.com/u/30198197?v=4","gravatar_id":"","url":"https://api.github.com/users/kociubin","html_url":"https://github.com/kociubin","followers_url":"https://api.github.com/users/kociubin/followers","following_url":"https://api.github.com/users/kociubin/following{/other_user}","gists_url":"https://api.github.com/users/kociubin/gists{/gist_id}","starred_url":"https://api.github.com/users/kociubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kociubin/subscriptions","organizations_url":"https://api.github.com/users/kociubin/orgs","repos_url":"https://api.github.com/users/kociubin/repos","events_url":"https://api.github.com/users/kociubin/events{/privacy}","received_events_url":"https://api.github.com/users/kociubin/received_events","type":"User","site_admin":false},"created_at":"2017-07-15T22:44:52Z","updated_at":"2017-07-15T22:44:52Z","body":"Tested in 1.4.1.  Working perfectly!  "}}
{"actor":{"display_login":"kociubin"}}