Doorbell is seen as sensor... unable to trigger on push

I’ve a cheap wireless doorbell of which the signal is received by RFXTRX on HASS. The problem is that the push button is seen as a sensor which transmit (on push) a value of 139. Because automations can only be triggered on changed value, I’m unable to trigger an action every time the doorbell is pushed. (Value stays 139)

EntityID: sensor.0716021a00ddXXXX_sound
State: 139

Properties:
Sound: 139
Battery numeric: 0
Rssi numeric: 8
unit_of_measurement:
friendly_name: 0716021a00dd8b80

Configuration sensors.yaml

- platform: rfxtrx
  automatic_add: True
  devices:
    0716022600dd8b80:
      name: Deurbel
      fire_event: True

I’ve try to configure the device as a switch instead of sensor, but this doesn’t seem to work for my device. (RFXcom and klik-aan-klik-uit (KAKU) doorbell)

Can anyone give my a hint on howto trigger an action on every doorbell push?

Hass version: 0.75.2

try this:

- alias: Doorbell Notification
  trigger:
    - platform: event
      event_type: signal_received
      event_data:
        entity_id: sensor.deurbel

This seems to work. Thanks.

Thanks. Feel free to mark it as a solution :slight_smile:

The signal_received did not work for me, don’t know why.
I solved it lie this:
the binary_sensor.ac_1488eca_1 is a KaKu via rfxcom…

alias: doorbell
description: ''
trigger:
  - platform: event
    event_type: state_changed
    event_data:
      entity_id: binary_sensor.ac_1488eca_1
condition: []
action:
  - service: notify.prowl
    data:
      message: Somebody at the door
      title: DingDong
mode: restart
1 Like