I think that script is very useful but in my case it doesnt work. Progress bar stops at 79% with following error
[DEBUG] 00:36:44: 2019-01-06 00:36:44.883673 [ fatal] Unknown exception: /opt/fibaro/scenes/229.lua:95: attempt to perform arithmetic on a nil value
Can you also share the door (with the blue glass) and window icons both open and closed state without the other symbols? My Fibaro brown door doesn't match the temp sensor white door icon.
Upgraded from previous versions of scene and VD's, and everything is working like a charme. I use it on a HC2 for controlling all my time based events.
I prefer to have fixed nighttime so changed line 676 in main scene like this:
Replaced this line:
with this one:
Everything else runs out of the box and perfectly matches my needs.
Thanks, and nice job @Sankotronic
Hello to all, I am just starting my journey with Lua and want to thank all of the Forum's members. Your work and suggestions are of tremendous help and only increase my interest in all things Lua.
I am slowly working my way through basics and hope with time i will grasp the slight more difficult programming...
I have downloaded several Lua scenes and am adjusting them to meet my needs. Thanks again to all who contribute ( i can only imagine how many hour you put into your work), and to Fibaro for supporting this Forum.