Sorry, this is sort of a problem, and I want to ask for a second set of eyes to look at it if there is an elephant I'm missing.
Screen shot of flow:
the white lines show the other link
node paths.
Sorry for the Messy layout.
The stuff at/near the bottom is there only for trying to check what's going on and not usually there.
Story:
I have 3 schedules (was 2 but added a third recently.)
1 - Every day
2 - Alternate days. (Tue, Thu, Sa)
3 - Weekly. (Mon)
At 11:55 it sends a TRUE
and at 12:05 a FALSE
.
They get translated to ON
and OFF
. (Ease of reading)
(While posting this I think I know the problem, but anyway......)
I leave this node showing the Overview
- which may be contributing to the problem. Not sure.
Else where I have a drop down
selector that selects the desired one to be used.
(As shown in the screen shot, brown lines.)
They are switch
nodes that allow the message to pass dependant on flow.context
.
At the given time all 2 outputs get sent a true
signal. Only 1 gets through and becomes the ON
signal.
At 12:05 all 2 send FALSE
and only 1 gets through and becomes the OFF
signal.
I didn't include the third output because I am not using it just now.
Now, another thing I've done wrong is the node's settings so it only sends a signal if it is different to the previous one.
Though what I did does have a nice consequence that you see the xRBE
nodes.
This helps me see which output is causing the work be done.
Why am I asking this? It is obvious how things work.
Because I changed it from DAILY
to ALTERNATE
. So things should only happen on Tue, Thu and Sat.
But it happened on one of the other days.
I checked the flow.context
and it was set correctly.
Sod's law.
Since I added the bit of extra code to catch messages, timestamp then and format the message, queuing them and displaying the messages were added: It has worked ok.
But I just would like a second set of eyes to check it for me.
Thanks in advance.
P.S.
It isn't really covered in the docs - that I can see.
So if I change what the node is showing from OVERVIEW
to the desired one, will only that output send messages at the given times?
(Sorry forgot to check that point)