Using RFXtrx433E to control AS73 outlets

Hi there,

I’m using a RFXtrx433E connected to my Pi3 running openHAB 2.2 to control a bunch of AB440 power outlets. This composition works (almost) perfect.

However I also got some other 433 MHz power outlets (me micro-electric AS 73) that should by switched via RFXtrx433E/OpenHAB, too. I’m already able to switch them on/off via a command line script written in Python (rfxcmd, see https://github.com/ssjoholm/rfxcmd) after I was able to encode the system / reveiver codes (see http://blog.johjoh.de/funksteckdosen-umrechnung-fur-culcuxd/) into the raw message format using the LIGHTING4 protocol of the rfx device.

For example:

System code:   FFFFFF
Receiver code: F0FF (Channel B)
Binary ON:     010101010101000101010001
Raw ON:        09130003555151015E50
Binary OFF:    010101010101010001010001
Raw OFF:       09130003555451015E50

I’m currently switching the outlets by calling the python script providing the according raw message code. But I want to switch them with the rfxcom binding directly independent from the external script.

By the way, pressing the buttons on the remote control gives me this debug output:

2018-02-28 21:41:10.597 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 09130003555051016760, Packet type = LIGHTING4, Seq number = 3, Sub type = PT2262, Device Id = 349445, Com
mand = ON_1(1), Pulse = 359
2018-02-28 21:41:11.012 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 09130004555151016560, Packet type = LIGHTING4, Seq number = 4, Sub type = PT2262, Device Id = 349461, Com
mand = ON_1(1), Pulse = 357
2018-02-28 21:41:11.015 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:7de6e621 message: Raw data = 09130004555151016560, Packet type = LIGHTING4, Seq number = 4
, Sub type = PT2262, Device Id = 349461, Command = ON_1(1), Pulse = 357
2018-02-28 21:41:11.108 [INFO ] [rnal.messages.RFXComLighting4Message] - A not completely supported command with value 15 was received, we can send it but please report it as an issue including what the comm
and means, this helps to extend the binding with better support.
2018-02-28 21:41:11.111 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 091300055555FF016560, Packet type = LIGHTING4, Seq number = 5, Sub type = PT2262, Device Id = 349535, Com
mand = UNKNOWN(15), Pulse = 357

Sometimes new things appear in my Paper UI inbox, but I haven’t been able to use them at all yet. The device ID changes in every line of the log file even though I’m sending the same command with my remote control.

Does anybody know how to get that to work? Or is there a way to implement AS73 support into the rfcom binding? I could offer help with encoding into the raw message format if necessary.

Thanks in advance,
Thomas