So i added some switches with the RFXtrx platform but nothing happends when i press them in the lovelace UI. If i watch entity state it changes when i press on and off.
And if i use the remote that came with the switches the entity state changes also.
Is like the RFXcom dont send any signal.
All this worked fine a year ago before my sdcard crashed. I finally did a new install and started allover from scratch.
Here is my config
device id is not correct, have changed since trying different options.
configuration.yaml
rfxtrx:
device: /dev/ttyUSB0
subfolder yaml file
- platform: rfxtrx
automatic_add: false
debug: true
devices:
0b11000400286c0201010f50:
name: Vardagsrum Fönsterlampa
0b11003300286c0202000050:
name: Fotoram
0b11003800286c0203000060:
name: Ambilight
and also i have added some sensors, and they WORK (edit, have worked for 2 days, now one of my sensors randomly changed entity and have to be readded)
i added the switch to the lovelace UI with the ENTITIES card.
Is there a possibility i need to firmware update the rfxcom or is the lovelace bugged or something?
okey, so i enable the logging
here is the logs when i press on and off with the actual remote (and this works)
2019-05-04 21:28:17 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 0286c02_1 Class: LightingDevice Sub: 0, Pkt_id: 0b11003a00286c0201000050)
2019-05-04 21:28:17 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Device_id: 0286c02_1 device_update. Command: Off
2019-05-04 21:28:19 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: a7_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 0850073ba700005c79)
2019-05-04 21:28:20 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 0286c02_1 Class: LightingDevice Sub: 0, Pkt_id: 0b11003c00286c0201010f50)
2019-05-04 21:28:20 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Device_id: 0286c02_1 device_update. Command: On
and this is the log when i try to turn the switch on and off in HA UI (dont work)
2019-05-04 21:28:23 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 83_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 0850073d830000e779)
2019-05-04 21:28:40 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 97_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 0850073e970080d679)
2019-05-04 21:29:00 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 6d_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 0850073f6d0000d879)
2019-05-04 21:29:07 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: a7_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 08500740a700005c79)
2019-05-04 21:29:10 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 83_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 08500741830000e779)
2019-05-04 21:29:28 DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 97_00 Class: RFXtrxDevice Sub: 7, Pkt_id: 08500742970080d679)
shouldnt it transmit instead if receive when i press hass UI buttons?