It seems that system#wake and system#boot are triggered either way.
I wanted to prevent a deepsleep via rules by setting a variable only after a coldboot instead of using a pin.
I thought about something like this:
Code: Select all
On System#Wake Do
Let,1,0
Endon
On Rules#Timer=1 Do
If [var#1]=1
DeepSleep,60
Else
TimerSet,1,30
Let,3,1
Endif
Endon