I’am new to HA, but was succesful having RFXcom integrated controlling Somfy shutters.
Also by using RFXcom I would like to sent lighting4 binary commands to a pt2262 switch.
I can capture/log the needed commands submitted by the remote via RFXmngr. I’am also able to sent those commands using lighting4 inf RFXmngr. Unfortunate I’am not able to sent those commands via HA.
Via the logger of HA I can capture the switch, see below:
2017-10-28 15:59:20 DEBUG (Thread-22) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 3c00c0 Class: LightingDevice Sub: 0, Pkt_id: 091300093c00c001a570)
2017-10-28 15:59:20 INFO (Thread-22) [homeassistant.components.binary_sensor.rfxtrx] Added binary sensor 091300093c00c001a570 (Device_id: 3c00c0 Class: LightingDevice Sub: 0)
2017-10-28 15:59:22 DEBUG (Thread-22) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 3c0000 Class: LightingDevice Sub: 0, Pkt_id: 0913000a3c000001a570)
2017-10-28 15:59:22 INFO (Thread-22) [homeassistant.components.rfxtrx] rfxtrx: found possible device 3c0000 for 3c00c0 with the following configuration:
data_bits=8
command_on=0xc0
command_off=0x00
From RFXmngr I understood that this represents respective:
27.okt.2017 17:23:46
27.okt.2017 17:23:46
Packettype = Lighting4
subtype = PT2262
Sequence nbr = 26
Code = 3C00C0 decimal:3932352
S1- S24 = 0011 1100 0000 0000 1100 0000
Pulse = 419 usec
Signal level = 8 -56dBm
27.okt.2017 17:23:47
27.okt.2017 17:23:47
Packettype = Lighting4
subtype = PT2262
Sequence nbr = 27
Code = 3C0000 decimal:3932160
S1- S24 = 0011 1100 0000 0000 0000 0000
Pulse = 421 usec
Signal level = 8 -56dBm
Does someone know which entry I should include in configuration.yaml