So I own two of these nice Philips Living Color gen2 lamps. They come with a remote and if you have two, you can pair them up and control them with the same remote (having both of the lamps outputting the exact same color).
Now I wanted this to be part of my domotica (Vera3 / MySensors) system, but it proved to be hard, or nearly impossible, to use the same remote protocol as the Philips lamps did.
The Gen1 protocol was reverse engineered by Jeroen (spritesmods.com) (I will find the exact link of it later) and some have made DIY remote controllers for these lights.
Soon, after some days going to this thing called Internet, I went on the path of destruction.
The goal was to use the inner body’s heat sink to cool down a 12V 10 watt RGB led, hook this up to a MOSFET and connect it all to an Arduino based MySensors sytem.
In my Vera3 environment this looks like
philips_living_colors.ino sets up the MySensor environment and requests the latest value upon booting from the gateway.
In the loop, the 4 leds (Red, Green, Blue and All) are updated, upon an incoming message from the gateway the function incomingMessage is executed. This makes sure that the right color is changed accordingly to the message.
The class LedstripColor holds the current and the desired level of the led, and upon every update this is changed. The concept behind this class is of course a finite-state machine. It also makes sure that the gateway is in sync with the different objects.
Some test results
Hooking them up to my cheep-ass multimeter, it showed me the following:
If two leds use 17.04 Watt, than one uses 8.51 Watt. The Chinees company (i.e. ebay supplier) claimed 10 Watt, but I guess it only make up for 85.1% of it. In the end not that bad I guess.
Box drawn in tinkercad https://www.tinkercad.com/things/kZ8LGyqKAUW-usb-rgb-case
- After a while I noticed that when the colors had to change due to an incoming message, it kept flickering, like wanting to change to 40% and right after to 50%. Need to look into that somewhere in code.
- Make a top for the box or remove the Arduino’s power led as it gives a bit of undesired light.
|Arduino Nano||$ 2.68|
|3x P16NF06 MOSFET||$ 4.79|
|3d print||€ 5|
|2x 10watt RGB led||$ 3.40|
|2x Philips Living Color gen2||?|
|12 volt 6 amps power supply||€ 27.43|
|Other materials||$ 2|
I had the Philips Living Colors for a couple of years now, bought them around the time they came out. My guess would be around 80 euro each (yes that is quite expensive).
- Put a heat sink on the MOSFETs, or mount them to one of the fins of the inside of the lamp.