Hi,
Yesterday I saw that rules that I introduced somehow had an unintended effect.
I have a group gWindowLights in which DimmerFNsterlampanEverspring_SwitchMultilevel is a member.
TaklampanFibaro_PowerOutler a member of gLighting, and both DimmerFNsterlampanEverspring_SwitchMultilevel and TaklampanFibaro_PowerOutler are members of the same room group.
Group:Switch:OR(ON,OFF) gLighting "Lamps on right now [%d]" <light>
Group gDimmerLights <dimmablelight> (gLighting)
Group:Switch gWindowLights <light> (gLighting)
Group:Switch gOutsideLights <light> (gLighting)
rule "Turn off window lights late at night"
when
Time cron "0 30 23 ? * *" or
Time cron "0 30 0 ? * *"
then
gWindowLights.sendCommand(OFF)
gOutsideLights.sendCommand(OFF)
end
Now, the rules I introduced are these:
rule "Turn off light when it is time for bed"
when
Time cron "0 0 22 ? * MON-FRI" or
Time cron "0 30 22 ? * SAT,SUN"
then
DimmerFNsterlampanEverspring_SwitchMultilevel.sendCommand(OFF)
end
rule "Toggle bedroom window light when ceiling light is toggled"
when
Item TaklampanFibaro_PowerOutlet recieved update
then
DimmerFNsterlampanEverspring_SwitchMultilevel.sendCommand(TaklampanFibaro_PowerOutlet.previousState())
end
and all of a sudden also the outside lights were also turned off (I assume) around 22. At least they were not on until 23.30, as the turnoff rules says any more.
I have not seen odd things like that before, so I now must consider that the issue can be something related to my rules.
Of course, I assumed that you may control individual lights within a group without affecting other members of the group…
What could be the issue?
Fredrik