Make your RF Doorbell smart

If you are like me and never hear your doorbell ring from certain locations in the house and have some smart speakers, then this blog is for you.

https://youtube.com/watch?v=G4qoufbih9A%3Ffeature%3Doembed

In this DIY Milney Smart Automation blog, I will take you through how to setup your RF doorbell, with a Sonoff RF Bridge leveraging tasmota to send codes to Home Assistant and Node Red and to play TTS (Text to Speech) on your Sonos Speakers as well as have a popup notification on your phone.

Step 1 – RF Doorbell

If you have an RF doorbell already then you are good to go. In my situation I actually have a smart doorbell which sends both an RF code and notifies my app.  Both work, we just looking to get the RF code sent when the bell is pushed.

You will need a few items to make sure you can get this right and you can get all of them from our store.

1 x Milney Smart Hub

1 x Sonoff RF Bridge

1 x RF Doorbell

If you don’t want to tasmotize your RF Bridge, buy the configured option

Step 2 – Tasmotize your Sonoff RF Bridge

We are going to use Tasmota on a Sonoff RF Bridge, cause its easier to use later and then it works very well in Home Assistant.

Pop the back open, flip the switch and connect your FT232RL to the Sonoff RF.  Make sure the LED does not touch the antenna. When starting up the RF make sure to hold down the reset button.  If you can see the port popup on Tasmotize on your machine you are good to go, if not try again.

Pro tip – If you are trying to flash and its not working, swop the TX and RX cables.

Step 3 – Configure MQTT and Home Assistant

While we technically don’t go into Home Assistant here, we will need the details to connect to the MQTT server.

Now get the device on the network by connecting the Tasmota SSID and adding your network SSID details.

Once connected change the module to RF Bridge via Configuration > Configure Module > Module Parameters > Sonff Bridge (25) and click Save

This should show once reboot has been completed.

Add the MQTT settings via Configuration > Configure MQTT > MQTT Parameters

Add Host, User and Password and click Save

Step 4 – Listen for codes

Go into the console and while pressing your RF remote you should see some codes coming in.  Make a note of which code matches which button.

“11:07:32 MQT: tele/38CR_6596C1/RESULT = {“Time”:”2021-05-04T11:07:32″,”RfReceived”:{“Sync”:5710,”Low”:340,”High”:990,”Data”:”004792″,”RfKey”:”None”}}”

Step 5 – Home Assistant and Node Red

Add RF Bridge MQTT listener with ‘mqtt in’

Add the TOPIC your RF bridge is using i.e. ‘tele/38CR_6596C1/RESULT’

Add json parser

Add the Property ‘payload.RfReceived.Data’ with the code your doorbell sent out.

For the phone notifications add a ‘Call Service’ Node

The Data is in JSON format like this.

{“message”:”Someone rang the front door”,”title”:”Front Door Bell”}

To add the TTS via Sonos add another ‘call service’ node

Domain TTS, Server Google_Say and select the Sonos speakers.

The data is as follows

“{    “message”: “Someone is at the front door”}”

Step 6 – Listen for codes

Show off to all your friends on how awesome your home is

Leave a Reply

Your email address will not be published. Required fields are marked *