Wonderful Home Doorbell - Custom Protocol #2835
jimmejames
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
If you have trouble with reliability then: round up This is a great write-up, if you can please copy this to a wiki page (https://github.com/merbanan/rtl_433/wiki/Custom-Protocol-with-HA) and insert links on the main page and sidebar. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to integrate a Wonderful Home D10 wireless doorbell into Home Automation setup and didn't find a step-by-step guide for my application, so sharing what I did in the hopes it helps someone else. My device was not one of the readily available protocols, so I had to add a custom one. I'm going to assume you have Home Automation running, a SDR radio, MQTT installed and configured, rtl_433 installed (as an Add-On) and configured (I used rtl_433 version 0.4.1 running HASS Core 2024.2.1 and OS 11.5 on a Raspberry Pi), and did a search to figure out the frequency of your transmitter.
I did not know what data (payload or format) of my transmitter, so first step was setting up a configuration file for rtl_433. Using the File Editor Add-On in HA, I created a file here: /homeassistant/rtl_433/rtl_Spa.conf.template with the following:
Obviously you need to replace the and with your MQTT credentials and frequency with the particulars of your device.
Going to Settings -> Add-ons -> rtl_433 and Starting/Restarting, I was provided this line in a mix of a larger output on the Log tab:
I then edited my /homeassistant/rtl_433/rtl_Spa.conf.template with File Editor as follows:
Home Assistant, at that point, could 'see' the device if I told MQTT to 'Listen to a topic', but it wasn't yet an automation. As my device was a simple binary 'button press' or 'button not pressed' signal, I started out trying to look at the data received in MQTT for a match to my expected String (14 8d df b9 80), but found that parsing the JSON data was frustrating as I couldn't be guaranteed any particular row of data would have my String. Fortunately, as my device only sent a signal when the button was pressed, I didn't care about times it wasn't pressed, so I scratched looking at the data field and only looked at the time stamp for my automation.
In other words, I created a Sensor in a *.yaml file:
And then I created an Automation that sends a notice to my cell when the time stamp of the door bell changes (in other words, when someone presses the button):
Pitfalls and complications:
Edit 3/8/24: I had an issue where I'd periodically catch a neighbor's signal so I tweaked the Home Assistant automation to be more robust. Is it overkill? Don't know- been working about a month without issue.
Beta Was this translation helpful? Give feedback.
All reactions