Search found 3 matches

by Dirk79
Thursday 27 September 2018 11:34
Forum: LUA
Topic: Variable doesn't trigger script
Replies: 18
Views: 2868

Re: Variable doesn't trigger script

Thanks for all the input guys! Whitelisting the IP did the trick.
by Dirk79
Thursday 27 September 2018 8:55
Forum: LUA
Topic: Variable doesn't trigger script
Replies: 18
Views: 2868

Re: Variable doesn't trigger script

Thank you! Most likely that only JSON will trigger uservariable scripts then. How did you write your http request in the script? I've tried different 'versions' of the following line: commandArray['OpenURL']="http://127.0.0.1:8080/json.htm?param=updateuservariable&type=command&vname=Nacht&vtype=2 ...
by Dirk79
Wednesday 26 September 2018 11:05
Forum: LUA
Topic: Variable doesn't trigger script
Replies: 18
Views: 2868

Variable doesn't trigger script

Hi All, After a few days of searching I hope you can help me. I've got the following time script that updates a uservariable 'Night' with True of False: commandArray = {} --Haal de huidige tijd op timenow = os.date("*t") minutesnow = timenow.min + timenow.hour * 60 --Vergelijk de tijd met ...