Search found 2 matches

by Gergg
Thursday 26 June 2014 16:39
Forum: LUA
Topic: Blink light
Replies: 16
Views: 11392

Re: Blink light

ok thank you, I'll see to launch another script that will do what I want with curl.

like :

curl 'http://domoticz/json.htm?type=command&p ... &passcode='
...
by Gergg
Thursday 26 June 2014 11:43
Forum: LUA
Topic: Blink light
Replies: 16
Views: 11392

Blink light

hi, i want to make a blink light to make a meeting reminder but i dont find the sleep command. like : commandArray = {} if (devicechanged['blink_switsh'] == 'On') then commandArray['blink_switsh']='Off' commandArray['light']='On' sleep(10000) commandArray['light']='off' end return commandArray Some ...