I have a RFXCOM 433Mhz reciever/transmitter and am using node red and a 433Mhz “keyfob” for my alarm system. I have identified the keyfob a a sensor and when i press the different buttons the sensor shows “ARMED”, “ARMED AWAY” and “DISARMED”
How i go about to SEND these codes from home assistant?
I.e. i want to ARM etc my alarm system from home assistant without using the keyfob?
I’ve done something similar to send a signal to alarm bells in HA:
I’ve read the signal from a remote, deiscover came up with a couple of binary_sensors, I’ve simply copied their code and created switches with them and deleted the binary_sensors
I end up with this:
Thank you for your input. I have however a problem.
I removed the sensor and added “true” on binary sensor binary_sensor:
platform: rfxtrx
automatic_add: true
But the buttonpress does not generate a “autoadd” 2019-03-25 21:34:53 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: a7a6c0_32 Class: RFXtrxDevice Sub: 0, Pkt_id: 08200000a7a6c00d79)
I the changed binary_sensor to false and added true on the switch switch:
platform: rfxtrx
automatic_add: true
And again nothing is added automatically. 2019-03-25 21:31:23 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: a7a6c0_32 Class: RFXtrxDevice Sub: 0, Pkt_id: 08200006a7a6c00d79)
How would i go about to add the button as a switch if it:s not autoadded?
don’t use discovery / auto add. Now that you have the device’s ID (something like 09130006131408015e70), use this to manually create a switch as per my example above