Ok, the story - longer version.
Base line:
I have big-timer
set to send dawn/dusk messages for here.
They are then handled by code to control the brightness of a display.
Starting with daytime and all things are brightest.
dusk
happens.
A variable time loop starts and it sends messages to reduce the brightness over several steps to the display being off
.
dawn
arrives and the display is turned on
and then only a couple of messages are needed to get it to full brightness.
(Cycle repeats daily)
All good in summer, but in winter I am up before dawn and it was not desired.
I added the cron-plus
node to send a message at 06:30 from March to September (check the code I may be wrong on the exact months) so when I am up, the display is working. (visible/on)
For reason way beyond this thread, I have been away a lot recently - or maybe the last 6 months.
2 weeks here, 2 weeks away.
When I come back it is about mid-day.
I walk in and the display is only just on
. Not bright.
Hmmmm......
Somethings going on.
No machines have rebooted. (Strange - but good)
Go to the settings page and set the brightness to maximum and move on.
But this became repetitive and noticeable recently and so I dug down.
Alas I have wiped the logs but don't worry, they will get repopulated as time goes on.
I see the triggers (dawn
and dusk
messages) and all is good.
But now when looking at the log I am now seeing a new message that isn't really ..... legitimate, and it is happening at 12:25 - daily it would seem.
Now, a big thing is that I am not often home at that time and so can't say it is happening daily or just Friday's when I have been getting home from being away.
(More study needed there.)
But:
Given it used to work and this node is the only new part, I would suspect - Not accuse - it.
Yes, there are problems with this as I have just admitted: I am not usually home at that time.
Alas it is another 5:30 minutes before it will happen again - today.
So until then, I am as much in the dark as anyone - no pun intended - to what is happening.
Just to put more cards on the table:
This is two messages from last night and this morning.
{"topic":"DAYTIME","state":"auto","value":0,"autoState":0,"manualState":0,"timeout":0,"temporaryManual":0,"permanentManual":0,"now":1160,"timer":0,"duration":682,"stamp":1617092405256,"extState":"Off for 11hrs 22mins","_msgid":"8f8b6ba4.63aad8","settings":{"input":"2021-03-30T08:20:05.968Z","input_format":"","input_tz":"Australia/Sydney","output_format":"YYYY-MM-DD HH:mm:ss","output_locale":"en_AU","output_tz":"Australia/Sydney"},"time":"2021-03-30 19:20:05","payload":"Dusk","ttl":0,"_queuetimestamp":1617092406112,"_queueCount":1}
{"topic":"DAYTIME","state":"auto","value":1,"autoState":1,"manualState":0,"timeout":0,"temporaryManual":0,"permanentManual":0,"now":402,"timer":0,"duration":757,"stamp":1617133376439,"extState":"On for 12hrs 37mins","_msgid":"7d93e81c.13e8f8","settings":{"input":"2021-03-30T19:42:56.470Z","input_format":"","input_tz":"Australia/Sydney","output_format":"YYYY-MM-DD HH:mm:ss","output_locale":"en_AU","output_tz":"Australia/Sydney"},"time":"2021-03-31 06:42:56","payload":"Dawn","ttl":0,"_queuetimestamp":1617133376486,"_queueCount":0}
I'll post more after 12:30 today - and update you on the brightness of the displays.