{"action":"created","issue":{"url":"https://api.github.com/repos/eliotstocker/Light-Controller/issues/10","labels_url":"https://api.github.com/repos/eliotstocker/Light-Controller/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/eliotstocker/Light-Controller/issues/10/comments","events_url":"https://api.github.com/repos/eliotstocker/Light-Controller/issues/10/events","html_url":"https://github.com/eliotstocker/Light-Controller/issues/10","id":48402615,"number":10,"title":"White Light contol","user":{"login":"eliotstocker","id":224770,"avatar_url":"https://avatars.githubusercontent.com/u/224770?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotstocker","html_url":"https://github.com/eliotstocker","followers_url":"https://api.github.com/users/eliotstocker/followers","following_url":"https://api.github.com/users/eliotstocker/following{/other_user}","gists_url":"https://api.github.com/users/eliotstocker/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotstocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotstocker/subscriptions","organizations_url":"https://api.github.com/users/eliotstocker/orgs","repos_url":"https://api.github.com/users/eliotstocker/repos","events_url":"https://api.github.com/users/eliotstocker/events{/privacy}","received_events_url":"https://api.github.com/users/eliotstocker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eliotstocker/Light-Controller/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":47,"created_at":"2014-11-11T16:23:38Z","updated_at":"2015-01-16T06:33:16Z","closed_at":null,"body":"Control white only LEDS @mrwhale could you let us know what your are thinking on this one?"},"comment":{"url":"https://api.github.com/repos/eliotstocker/Light-Controller/issues/comments/70214055","html_url":"https://github.com/eliotstocker/Light-Controller/issues/10#issuecomment-70214055","issue_url":"https://api.github.com/repos/eliotstocker/Light-Controller/issues/10","id":70214055,"user":{"login":"LimitlessLED","id":10390576,"avatar_url":"https://avatars.githubusercontent.com/u/10390576?v=3","gravatar_id":"","url":"https://api.github.com/users/LimitlessLED","html_url":"https://github.com/LimitlessLED","followers_url":"https://api.github.com/users/LimitlessLED/followers","following_url":"https://api.github.com/users/LimitlessLED/following{/other_user}","gists_url":"https://api.github.com/users/LimitlessLED/gists{/gist_id}","starred_url":"https://api.github.com/users/LimitlessLED/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LimitlessLED/subscriptions","organizations_url":"https://api.github.com/users/LimitlessLED/orgs","repos_url":"https://api.github.com/users/LimitlessLED/repos","events_url":"https://api.github.com/users/LimitlessLED/events{/privacy}","received_events_url":"https://api.github.com/users/LimitlessLED/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T06:33:16Z","updated_at":"2015-01-16T06:33:16Z","body":"HOWTO: Send Nightmode to LimitlessLED RGBW lights.  www.limitlessled.com/dev \r\n\r\n \r\n\r\nsend 460055 Wait 100ms Then send C60055. (they are 3 hex bytes: 46 00 55 and C6 00 55)\r\n\r\n \r\n\r\ntechnical implementation details:\r\n\r\nto send a long press command, the format is always, send a second Off command 100 ms later. the second off command is a long press.. and the long press command is always XORed  ( 0x46 |= 0×80 )  for example 46 XOR 80 = C6  means the long press command is send  C6 \r\n\r\n \r\n\r\npress off = 0x46\r\n\r\nlongpress off = 0x46 |= 0x80   (result is 0xC6)\r\n\r\n \r\n\r\nRegards,\r\nHamish.\r\n\r\n-LimitlessLED.\r\n\r\nwww.limitlessled.com\r\n\r\n \r\n\r\n "}}