Search found 2 matches

by no0b
Tuesday 27 June 2017 13:58
Forum: Other questions and discussions
Topic: Python script to dummy device
Replies: 1
Views: 540

Re: Python script to dummy device

some more info...

python script has been made executable and looks like follow...

#!/usr/bin/env python

from lifxlan import Light
light = Light("mac","ip")
light.set_power("on")

Really don't get where I'm going wrong as script works outside domoticz
by no0b
Tuesday 27 June 2017 10:27
Forum: Other questions and discussions
Topic: Python script to dummy device
Replies: 1
Views: 540

Python script to dummy device

Hi all, totall rookie to all this but doing my best to learn and need some advice on how to go forward. Am trying to connect my Lifx bulbs to a dummy switch (which will later on be switched to a KAKU switch). So far I managed to piece together a short python script to turn on and off my bulbs ...