I have some Siemens RF433Mhz Door sensors with magnet (Model DCACC4) they only send a signal when the door is opening.
The signal is only 14 and it stay 14 even if i close the door and open it again.
I have added the fire_event: true but it still says 14.
sensor:
- platform: rfxtrx
automatic_add: true
devices:
07160012009f0e70:
name: Doorbell
data_type:
- Sound
fire_event: true
Any help or will they have to be put in the bin?
Since your senor only sends a signal when the door is opening, the state will always be 14.
If you want to use your sensor for automation, you can listen for the fired event:
volume_level: 0.4
- service: input_select.select_option
entity_id: input_select.radio_soverom
data:
option: "P3"
- service: automation.trigger
entity_id: automation.radio_soverom
- alias: "Sovetid pA soverom"
trigger:
- platform: event
event_type: button_pressed
event_data: {'state': 'group on', 'entity_id': 'switch.knapp_soverom'}
- platform: event
event_type: button_pressed
event_data: {'entity_id': 'switch.lyd_soverom', 'state': 'unknown command (0xd744fc)'}
condition:
- condition: state
entity_id: script.vekke_lys
state: 'off'
- condition: state