pixelit-project / PixelIt

PixelIt is an ESP8266/ESP32 and WS2812B LED Matrix based PixelArt display
https://pixelit-project.github.io
MIT License
314 stars 52 forks source link

Display switches automatically on #354

Closed hermannw closed 1 month ago

hermannw commented 2 months ago

Hi guys, I am using the Node-Red example and I added the following: pixnr 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[bot] commented 1 month ago

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