Page 1 of 1

RFXtrx433(e) with Linux Bash Command

Posted: Thursday 02 June 2016 18:57
by viewbelwas
I have on a RPIv3 with Domoticz a RFXtrx433(e) transceiver connected
I would like to operate an X10 device by sending an RF signal with the RFXtrx433(e) using a bash command. For example send binary code 01100000 10011111 00100000 11011111 for house/unit code A1 off (in HEX 609F20DF) to the RFXtrx433(e)
I set the USB1 port with stty
/bin/stty -F dev/ttyUSB1 38400 cs8 raw
I then would like to send the binary code to USB1. I tried in HEX format with the echo command
/bin/echo -e '\x60\x9F\x20\xDF' > /dev/ttyUSB1
This does not seem to work. Is there an other method to send an X10 RF signal with the RFX433(e) using a Linux command

Thx
John

Re: RFXtrx433(e) with Linux Bash Command

Posted: Thursday 02 June 2016 19:29
by Raspberry Piet
Might be possible with RFXcmd i think. (I haven't tried it myself!)
https://code.google.com/archive/p/rfxcmd/wikis

Re: RFXtrx433(e) with Linux Bash Command

Posted: Thursday 02 June 2016 21:13
by b_weijenberg
Create a X10 device with code A1 in Domoticz.