RFXCom problem adding cheap RF remote

when i want to add a simple remote, with two buttons ON an OFF. I see them in the logs

when i hit the ON button

2020-08-12 16:46:22 DEBUG (MainThread) [homeassistant.components.rfxtrx] Receive RFXCOM event: {'packet_type': 19, 'sub_type': 0, 'type_string': 'PT2262', 'id_string': 'e40901', 'data': '09130034e4090101ad60', 'values': {'Command': 'On', 'Rssi numeric': 6}}
2020-08-12 16:46:22 DEBUG (MainThread) [homeassistant.components.rfxtrx.binary_sensor] Binary sensor update (Device ID: e40901 Class: LightingDevice Sub: 0)
2020-08-12 16:46:22 DEBUG (MainThread) [homeassistant.components.rfxtrx.sensor] Sensor update (Device ID: e40901 Class: LightingDevice Sub: 0)

when i hit the OFF button

2020-08-12 16:46:59 DEBUG (MainThread) [homeassistant.components.rfxtrx] Receive RFXCOM event: {'packet_type': 19, 'sub_type': 0, 'type_string': 'PT2262', 'id_string': 'e40903', 'data': '09130035e4090301aa70', 'values': {'Command': 'On', 'Rssi numeric': 7}}
2020-08-12 16:46:59 DEBUG (MainThread) [homeassistant.components.rfxtrx.binary_sensor] Binary sensor update (Device ID: e40903 Class: LightingDevice Sub: 0)
2020-08-12 16:46:59 DEBUG (MainThread) [homeassistant.components.rfxtrx.sensor] Sensor update (Device ID: e40903 Class: LightingDevice Sub: 0)

ive got two seperate entries as switch, how to make one switch to toggle ON an OFF?

What you mean?
You want to use the 2 buttons to toggle 2 devices, or
use the 2 buttons to turn 1 device on with 1st button and off with the 2nd?

i used this with NodeRed to toggle 8 devices :nerd_face:

Make a template switch.

1 Like

do you know, the rfxcom integration is also adding a switch and a binary sensor. the state of the sensor is not changing?