-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output turns on by itself after several hours of being off #2348
Comments
It seems that something is causing a reboot. Logs are needed to debug it. |
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? |
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 |
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
The text was updated successfully, but these errors were encountered: