I purchased low voltage out door lights. They have their own Wifi Enabled App which is fine but I really want it integrated with my Homeseer.
There is no current Plug in for it and I couldn't figure out how to use MQTT so IFTTT may be a solution that I can accept.
The problem is HS3 will only relate on and off commands to IFTTT. So I Figured for the colors I can create Multiple Virtual devices that each have 2 colors. After 5 devices I can have 10 colors. Then create another virtual device to control them all.
Example:
Device 1 - on (red) off (blue)
Device 2 - On (White) off (Green)
Device 3 - on ( purple) off (yellow)
Then do a virtual device with values 1 - 6 which correlate to Red, Blue, White, Green, Purple, Yellow.
Then I could do 6 events to change those initial device values and HS3 will tell IFTTT to tell magic Hue to change the color.
I have that all working fine but it is very labor intensive. I need an IFTTT applet for each color. then a device for each 2 colors. then an event for each color and another color selector device.
So I was thinking to cut out some of the steps would be to have a script that could do all of the events. For the life of me I have no idea how to get this scripted though. I cant figure out how to make a script that reads the value on 1 device and makes another device change its value.
Any suggestions on the script or another easier approach?
There is no current Plug in for it and I couldn't figure out how to use MQTT so IFTTT may be a solution that I can accept.
The problem is HS3 will only relate on and off commands to IFTTT. So I Figured for the colors I can create Multiple Virtual devices that each have 2 colors. After 5 devices I can have 10 colors. Then create another virtual device to control them all.
Example:
Device 1 - on (red) off (blue)
Device 2 - On (White) off (Green)
Device 3 - on ( purple) off (yellow)
Then do a virtual device with values 1 - 6 which correlate to Red, Blue, White, Green, Purple, Yellow.
Then I could do 6 events to change those initial device values and HS3 will tell IFTTT to tell magic Hue to change the color.
I have that all working fine but it is very labor intensive. I need an IFTTT applet for each color. then a device for each 2 colors. then an event for each color and another color selector device.
So I was thinking to cut out some of the steps would be to have a script that could do all of the events. For the life of me I have no idea how to get this scripted though. I cant figure out how to make a script that reads the value on 1 device and makes another device change its value.
Any suggestions on the script or another easier approach?
Comment