Stuck with doorbell

Hi All,

So I have a 433mhz doorbell and I would like to integrate it will HA

This is how I have it configured

switch:
  - platform: rflink
    devices:
      aster_00f4_01: {}

and here you can see it’s being received by HA

2021-02-09 18:25:34 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'aster_00f4_01', 'command': 'on'}
2021-02-09 18:25:34 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['switch.aster_00f4_01']
2021-02-09 18:25:34 DEBUG (MainThread) [homeassistant.components.rflink] passing event to switch.aster_00f4_01

The doorbell only sends an on command so it leaves the state as on.

How do you automatically turn the state to off?

Thanks

1 Like

If you configure it like a binary_sensor you can use the off_delay attribute:

binary_sensor:
   - platform: rflink
     devices:
       aster_00f4_01:
         off_delay: 5

You can configure other attributes too. More info in the documentation:

2 Likes

Is it sending on, ALLON, allon … etc as per the config guide? In whch case use @javicalle solution.

1 Like

Thank you works great

1 Like

What hardware do you use to communicate with 433?

Hardware -

1 x https://www.nodo-shop.nl/en/rflink-gateway/170-rflink-arduino-antenna.html

1 x https://www.nodo-shop.nl/en/home/191-rflink-wifi-koppelprint.html

1 x https://www.nodo-shop.nl/en/home/189-nodemcu.html

Software -

http://www.rflink.nl/blog2/

https://www.letscontrolit.com/wiki/index.php/ESPEasy

rflink is flashed onto the arduino and it receives the 433 sginals from the gateway board plugged in on top.

Then to make it wireless i use wifi board and nodemcu to act as a serial gateway for home assistant to connect to

1 Like

Cool! Thanks!