Output turns on by itself after several hours of being off #2364
Replies: 3 comments 1 reply
-
It seems that something is causing a reboot. Logs are needed to debug it. |
Beta Was this translation helpful? Give feedback.
-
Alright, will setup a log server and wait for a failure. By the way, during a normal boot both exits are initialized as 0. Just out of curiosity, why should it differ with a reboot? |
Beta Was this translation helpful? Give feedback.
-
Ok, now I have the logs. It seems that the weird behavior is due to
After that event, even when service 1 is used, the OFF state of service 2 becomes
Hope this helps to debug the issue |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
System description
The accessory has:
BUTTON1
BUTTON2
TRIGGER
LED
OUT1
OUT2
Lock
, exposed as a switch to Homekit and controlled byBUTTON1
andBUTTON2
Command
, exposed as a plug to HomekitTrigger Status
, hiddenControl
, hiddenThe system is meant to turn on
Command
whenLock
ORTrigger Status
are on and to turn it off whenLock
ANDTrigger Status
are off.Lock
is also re-set every night at 2 am. The twoCommand
outputs,OUT1
andOUT2
are meant to be turned on and off with a delay of 42s when turning on and 2s, in reverse order, when turning off.I know the same result could be achieved through a Free Monitor that sums
Lock
andTrigger Status
and that commandsCommand
, however I wanted to make it in a bit more interesting wayIssue
It generally works exactly as intended however, randomly, and usually after several hours/days that the system is off,
OUT2
turns on by itself, withLock
andControl
off in Homekit and withOUT1
off. What could be the reason?MEPLHAA Script
Used device
ESP32-S2
HAA version
12.14.5
Beta Was this translation helpful? Give feedback.
All reactions