eliotstocker / Light-Controller

To Control lights from companys such as limitless LED etc
http://eliotstocker.github.io/Light-Controller/
62 stars 24 forks source link

Add night mode for newer rgbw bulbs #31

Closed eliotstocker closed 9 years ago

eliotstocker commented 9 years ago

This should be fairly simple and I would like to add it in for the next release.

LimitlessLED commented 9 years ago

This from the www.limitlessled.com/dev website

November 2014: how to send Nightmode to RGBW lights. send a second Off command 100 ms later. the second off command is a long press.. and it is command |= 0×80. for example 46 XOR 80 = C6 > So send 460055 Wait 100ms Then send C60055. that is hex commands 46 00 55 and C6 00 55.

From: Eliot Stocker [mailto:notifications@github.com] Sent: Monday, 2 March 2015 4:20 a.m. To: eliotstocker/Light-Controller Subject: [Light-Controller] Add night mode for newer rgbw bulbs (#31)

This should be fairly simple and I would like to add it in for the next release.

— Reply to this email directly or view it on GitHub https://github.com/eliotstocker/Light-Controller/issues/31 . https://github.com/notifications/beacon/AJ6MMAhv7aRSdziQLPksoXI3H0D_gNcZks5nwyWogaJpZM4DnrjL.gif

mrwhale commented 9 years ago

Here is the nightmode array for rgbw zones (0-4), this is the first byte nightarray=("x\C1" "\xC6" "\xC8" "\xCA" "\xCC") @LimitlessLED can confirm this is correct?

eliotstocker commented 9 years ago

This is done, and will be included in beta 4