Yes I know, the title sounds a bit funny ;-)
Anyway, this is what I am trying to figure out:
My dinner table has a ceiling lamp, which is controlled by a Fibaro 1*3kW switch.
There is a script that runs every 20 seconds that decides how much the lamps in the dining and living room are supposed to be at. This scripts uses a logic that, among other things, uses all ligth sensors devices inside, one lightsensor outside, temp outside and humidity. This works like a charm! I am 100% satisfied with this, what I call "sliding scenery of the dimable lamps".
However from time to time I like to turn on the lamp above the dinnertable by the manual switch on the wall, which is connected direct to the Fibaro 1*3kW switch (S1).
This however have presented a problem, or a challenge if one prefers, and that is that the script running every 20 seconds above will, well, run-over the dim level from the logic instead the level I have choosen to use for the dining table (most likly will the script that runs every 20 seconds actually turn off that lamp - never mind why the script decides it is to be turned off, that logic is what it is).
So I need to add some sort of "manual override" on that script.
I just need to figure out what turned on that lamp, was it the script or the button on the wall switch?
Any ideas would be lovely :-)
Anyway, this is what I am trying to figure out:
My dinner table has a ceiling lamp, which is controlled by a Fibaro 1*3kW switch.
There is a script that runs every 20 seconds that decides how much the lamps in the dining and living room are supposed to be at. This scripts uses a logic that, among other things, uses all ligth sensors devices inside, one lightsensor outside, temp outside and humidity. This works like a charm! I am 100% satisfied with this, what I call "sliding scenery of the dimable lamps".
However from time to time I like to turn on the lamp above the dinnertable by the manual switch on the wall, which is connected direct to the Fibaro 1*3kW switch (S1).
This however have presented a problem, or a challenge if one prefers, and that is that the script running every 20 seconds above will, well, run-over the dim level from the logic instead the level I have choosen to use for the dining table (most likly will the script that runs every 20 seconds actually turn off that lamp - never mind why the script decides it is to be turned off, that logic is what it is).
So I need to add some sort of "manual override" on that script.
I just need to figure out what turned on that lamp, was it the script or the button on the wall switch?
Any ideas would be lovely :-)
Comment