That fine, thanks a lot I understanding what you are writing.Egregius wrote:I'm terrible in writing complete manuals.
$d is the array holding all the information of the system.
So $d['device']['s'] is the status.
t is the timestamp of update.
m is set with the storemode function.
storemode('device', 0); for example.
I use that for dimmers, rollers etc.
0 is mostly automatically, 1 manual. Whatever you want.
I was looking at swithing the light on only when there is movement and when the amount of Lux is below 100. But that can be done with [‘s’]==<100 I guess
Sent from my iPhone using Tapatalk