looking for someone to help me.
I got a lua when sensor triggered a light go on(thx to this forum
Now i want if time between 18.00 en 06.00 the light is blue en dim to 50 and between 06.01 en 17.59 white and 100.
I got the json and this works when enteren manual but i can not get it work in a script.
json call blue = http://ipadres:port/json.htm?type=command¶m=setcolbrightnessvalue&idx=93&color={%22m%22:3,%22t%22:0,%22r%22:0,%22g%22:1,%22b%22:255,%22cw%22:0,%22ww%22:0}&brightness=50
json call white = http://ipadres:port/json.htm?type=command¶m=setcolbrightnessvalue&idx=93&color={%22m%22:2,%22t%22:0,%22r%22:0,%22g%22:0,%22b%22:0,%22cw%22:255,%22ww%22:0}&brightness=100
these is milight group with a set of bulbs