Well,
I got home tonight and tried to control the Lightify bulb but can’t seem to get it work.
I place the mylightify.py script in my home/ptmuldoon location, and enabled the Exec 2.0 binding in OH2 as well.
The rule fires when I attempt to control it and I see it trying in the log, but the bulb is not responding.
2017-01-25 18:49:45.844 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1]'
2017-01-25 18:49:47.638 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 0]'
2017-01-25 18:49:51.792 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1]'
2017-01-25 18:49:58.388 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1, --brightness, 96.07843, --red, 244.99999650, --green, 244.99999650, --blue, 244.99999650]'
2017-01-25 18:49:58.408 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1, --brightness, 96.07843, --red, 244.99999650, --green, 244.99999650, --blue, 244.99999650]'
2017-01-25 18:49:58.424 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1, --brightness, 96.07843, --red, 244.99999650, --green, 244.99999650, --blue, 244.99999650]'
2017-01-25 18:50:00.232 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1, --brightness, 96.07843, --red, 244.99999650, --green, 54.00000870, --blue, 99.00004995]'
2017-01-25 18:50:02.030 [INFO ] [lipse.smarthome.io.net.exec.ExecUtil] - executed commandLine '[python, /home/ptmuldoon/mylightify.py, --bridge, 192.168.11.152, --device, Room1, --onoff, 1, --brightness, 96.07843, --red, 244.99999650, --green, 127.00000110, --blue, 50.00000475]'
2017-01-25 18:50:04.800 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 393435 failed: null
ptmuldoon@OpenHab2:~$ python mylightify_hub.py
{8984750156481036605: <lightify.Light object at 0x7f72442c85d0>, 9518399593889720855L: <lightify.Light object at 0x7f72442c8610>}
From what I can tell, I think the first ID ending in 6605 is the light and the second one ending 0855L may be the light strip.
But I can’t seem to control either one via OH2 yet.