I've done my best to implement this DIY solution myself:
https://www.youtube.com/watch?v=8Mszg0qecgk
How to connect a Mighty Mule Driveway Alarm sensor into your smart home system
Some differences to note from what the video shows:
- Contact sensor is branded as Schlage. It appears to be identical to the one in the video though. I assume it's a model that licensed under multiple brands. The enclosed instructions also list branding of Nexia and Ingersoll Rand.
- Hubitat! - Of course. The video uses Smart things. I think this might be where I’m running into my issue.
I have everything wired up as seen on the video and, for the first few hours, it worked like a charm. Any time the receiver had the activity LED blink (on or off), the status of the sensor would also change. I used the status change as a trigger for a rule to send a notification to my phone, and to several speakers in the home. Speakers and notification worked. In fact, it all seemed to work, until the next day.
A day later, and it seems the rule fails to trigger. I see the Schlage sensor light up due to a change in power flow from the LED on the Mighty Mule receiver. However, the status of the sensor per Hubitat hasn't changed. This is where it gets odd. Sometimes, triggering the Mighty Mule receiver will change the sensor to active, sometimes inactive, and sometimes…no change. I'm assuming this is due to the "delay" the video author references, but I'm unsure how to set that up. Clearly the LED flashing at various times is changing the sensor state, but maybe it changes so fast the sensor doesn't report it to Hubitat as a status change?
I turned on debugging and noticed even when the sensor's status doesn't change, I get some activity in the log from the sensor, as follows, seemingly in response to the LED flashing due to the receiver being triggered:
Is there a way to use any of the activity in the log as a trigger for a rule? Any advice is appreciated.