Now that the new floor is nearly finished, i can start working on some Home Automation related subjects again; the first was using LED strips in the kitchen.
In total 4 segments of LED strip are used; 2 near the floor at the plinths of the lower kitchen cabinets, 1 at the counter top and 1 on top of the upper kitchen cabinets.
Today i finished controlling all these LED strips individually.
The XBee RS232 board is powered by the adapter that also powers the Chromoflex, so all i needed was a wall outlet for the Chromoflex adapter and the Chromoflex was “connected”.
Now it was time to add control functions to my Touchscreen application, running on my Asus TOP in the livingroom. I added a “LED” button on the floorplan, in the middle of the kitchen:
And i found a very cool Trackbar Control and created a new pop-up form with it, that appears when you push the “LED” button:
With this form i can control each LED segment individually. To minimize traffic, i used the same approach as i did earlier with controlling my thermostat; a timer event fires when the Trackbar value hasn’t changed for 1.5 seconds and sends the new value to my Domotica System by XMLRPC:
That’s all there is to it. My Domotica system takes care of the rest e.g. building the Chromoflex packet based on the USP3 protocol, wrapping it in a XBee Transmit Request packet and sending it to the ZigBee coordinator. Home Automation is sooo cool