Contact sensor with momentary switch and URL notification #2209
jlg89
started this conversation in
MEPLHAA Scripts
Replies: 2 comments 3 replies
-
Maybe something like this?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Now trying this, but the contact sensor accessory isn't working. When contact is broken on IO 4, the LED on the Sonoff board blinks, but the contact sensor status never changes in HomeKit, and the URLs don't get hit.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a Sonoff SV to monitor a septic system alarm, and allow me to silence the alarm remotely. I'm using a normally-closed relay on GPIO 14, so 14 is low by default, and goes high when the alarm turns on. I use GPIO 12 as a momentary switch to silence the alarm.
The silence-alarm switch seems to work properly, but the contact sensor doesn't. I think I'm missing something in the MEPLHAA. Do I need an f0 definition in there?
Beta Was this translation helpful? Give feedback.
All reactions