I have a light scheduler node that is supposed to turn a light on @ 0315 and off @ 0515. It is turning the light on just fine but then even though the scheduler node shows as “Off” the light is not getting commanded off. In fact if something or someone else turns the light off prior to the “Off” time it appears as though the node turns the light back “On” at the end of the on period.
Please post your call service node for the light as well.
Do you have 2 seperate calls for turning on and off?
From the Picture it looks like its just going directly into the call service node without any filtering beforehand.
Probably you can add a switch node in between, filter for on & off and send it to the corresponding TurnOn/TurnOff command.
Yes, you were correct! And after reading and digesting your reply I realized the error in my thinking. I knew that the Light Scheduler would be outputting “on” or “off” according to the schedule but I neglected to consider that I had the service node for the light set to “turn_on”. Hence regardless of the payload from the scheduler it was going to trigger the device to “turn_on”.
I was thinking that the output from the scheduler would be sufficient but that is not the case. Setting the light service node to “toggle” works fine as long as no other entity transitions the light in between the events being triggered by the scheduler.
So I guess I need to have a service node for “turn_on” and another for “turn_off” for the light.
Aha! Interesting, Thank you!