more G-Labs products

Author Topic: Philips Hue Remake  (Read 4789 times)

September 19, 2015, 05:52:45 PM
Reply #15

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I believe all modules are initially off when you start up HG.

September 19, 2015, 10:05:42 PM
Reply #16

gustavo

  • *
  • Information
  • Newbie
  • Posts: 13
gustavo, yes this is correck to support the other type.
I only have 2 types at the moment. If you know other type, i will add them as well,
Or is there an oderway of finding out if the light support colors ?

The only other one I know of is "Color light" which is the bloom.  I have all three types at my house - bloom, regular hue bulbs, and non-color hue bulbs (both the $12 GE Links and the $20 hue lux's).  Your code works perfect with all of them when the single line fix I earlier suggested.  E.g. if it's a Color light or Extended color light, treat it one way, otherwise treat it as a non-color light.

Thanks,
Gus

September 23, 2015, 12:03:17 AM
Reply #17

ebasta

  • *
  • Information
  • Newbie
  • Posts: 12
ebasta, change this line in the code ,
const string MODULES_WIDGET = "erx/philips/hue";
To "homegenie/generic/colorlight";
This will replace the widget with te original one, but you will loose the new buttons.

The android application do not know wat to do whit my widget.

Totally worked - thank you!!