I found that the time-based command rules probably don't work:
Code: Select all
on Rules#Timer
if %uptime%
Below are all the rules of this test device.
Code: Select all
on Si7021#Temperature do
7dt,[Si7021#Temperature]
done
On Clock#Time=All,01:51 do
TimerSet,3,57
Endon
on Rules#Timer=3 do
if %isntp% = 1
reboot
endif
endon
if %uptime% > 10
reboot
Endif
The task of these rules is to reboot the device every night or if their working time will be greater than 24h (in the absence of NTP).
Here, I set a test time of 10 minutes (not 24h).
I have several other devices with FW based on custom mega-20230306 but without 7 segment LED.
All work fine including those with 4x20 and 2x16 LDC display.
Any potential bug or my error?
UPDATE
Rules based on syntax:
Code: Select all
On Clock#Time=All,**:** Do