Display switches automatically on
Closed this issue · 1 comments
hermannw commented
Hi guys,
I am using the Node-Red example and I added the following:
The code in the function nodes:
Display:
var night = msg.payload;
if (night == "on")
{
msg.sleepMode = true;
}
else
{
msg.sleepMode = false;
}
node.status({ fill: "yellow", shape: "ring", text: "SleepMode is " + msg.sleepMode });
return msg;
Display ON:
msg.sleepMode = false;
node.status({ fill: "yellow", shape: "ring", text: "SleepMode is " + msg.sleepMode});
return msg;
Display OFF
msg.sleepMode = true;
node.status({ fill: "yellow", shape: "ring", text: "SleepMode is " + msg.sleepMode});
return msg;
When night mode is activated automatically or manually and either the clock or the date is shown at that moment, Pixelit goes to sleep mode (zzz) but a few seconds later it comes back on and keeps showing only the clock and date.
I am using big fonts. When the clock comes back up, it shows small and bold font for a few seconds and the it switches back to big font.
PixeIt Version 2.5.0 running on Wemos D1 mini.
Any ideas why this happens?
Hermann
github-actions commented
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days