maxwellhadley / node-red-contrib-rfxcom

node-RED nodes to access an RFXtrx433 transceiver
BSD 2-Clause "Simplified" License
22 stars 13 forks source link

X10 - Arm Home #118

Open Miendar opened 2 years ago

Miendar commented 2 years ago

Hello Max,

I really appreciate your work !

I have a problem by using an Sonoff remote 8 ch. One key doesn't work. On log I have this:

2021-09-22 11:53:42.861 [rfxcom] on /dev/ttyUSB1 - Received: 08,20,00,38,8E,E5,20,0B,69 2021-09-22 11:53:45.022 [rfxcom] on /dev/ttyUSB1 - Received: 08,20,00,39,8E,E5,20,0B,69 2021-09-22 11:53:48.256 [rfxcom] on /dev/ttyUSB1 - Received: 08,20,00,3A,8E,E5,20,0B,69 2021-09-22 11:53:51.602 [rfxcom] on /dev/ttyUSB1 - Received: 08,20,00,3B,8E,E5,20,0B,69 2021-09-22 11:53:56.820 [rfxcom] on /dev/ttyUSB1 - Received: 08,20,00,3C,8E,E5,20,0B,69

On RFXmngr I have this:

0820000F8EE5200B79 Packettype = Security1 subtype = X10 security Sequence nbr = 15 id1-3 = 8EE520 decimal:9364768 status = Arm Home battery level = OK Signal level = 7 -64dBm

I try to use all node (including rfx-detector and rfx-PT2262) but I don't have any ouput of node. I do the update to version 2.11.3 but nothing change.

Have you got a idea to make it working ?

Thanks in advance for support.

maxwellhadley commented 2 years ago

According to the RFXCOM user guide (English) version 5.68 section 15.5, page 50, the Sonoff RF remote can be received using the Lighting4 protocol. This is supported by the rfx-PT226-in node, but the RFXtrx has to have the Lighting4 protocol enabled, using RFXmngr, for messages to be received and passed on to node-RED.

It looks like some, but not all, Sonoff button radio messages are similar enough to some X10 radio messages to be misinterpreted, if X10 reception is enabled. I don't know which interpretation will 'win' if both X10 and Lighting4 protocols are enabled. Try it and see!