Page 1 of 2

Control the RFXtrx433 from Linux Command Line?

Posted: Sun Jun 03, 2012 7:53 am
by icepick
I Got myself the RFXtrx433... and I must say.. it's an interesting box.. I see lots of signals going by from my remotes.. however I want to use it to control some of my click-on-click-off devices.. With the SDK you can pretty much create anything you want.. but before I get really busy on programming.. does anyone know of a easy way to control the device from the linux command line? Just to transmit? Maybe there are tools already out there that can do the job..
So far I found a perl library (not very wel documented) and a tool called heyu.. but this CLI tool doesnt seem to work for me.. any other ideas?
Cheers
Alex

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Sun Jun 03, 2012 11:17 am
by b_weijenberg
HEYU does not (yet) support the RFXtrx433.

You can use RFXmngr under MONO. See the RFXtrx User Guide how to.

There are some Linux programs, for example DomotiGa that supports the RFXtrx fully.
Check the supported software link on the RFXCOM home page for other programs.

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Sun Jun 03, 2012 11:39 am
by icepick
Thanks for your reply..

Using mono is not really an option on embedded devices.. besides that wouldn't be command line :)
I saw their support page.. but I am looking for a CLI program.. not for a all in one solution like Domotiga..

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Wed Aug 29, 2012 10:45 pm
by RobertF
I'm also looking for a linux command line control program for the rfxtrx433.

Any recent breakthroughs?

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Thu Aug 30, 2012 7:48 am
by icepick
For the transmit part I use a piece of C code that I found somewhere on the web.. that part seems to work fine.. for the receiving end I use a little perl script.. I pretty much monitor /dev/ttyUSBX and once a transmission is made I pick it up in the perl script. However all the configuration etc I do with rfxmanager.. so far it works reasonable..the receiving script misses out on a signal sometimes.. but 95% of the time it works. I only use klikaanklikuit.

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Thu Aug 30, 2012 10:38 am
by RobertF
Thanks for the reply Alex, I've been trying to find a solution like this for some time. Would you be able to point me in the direction of the C Code and perl script? They sound ideal!

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Wed Sep 05, 2012 9:53 am
by RobertF
Would really appreciate any info as to the whereabouts of the scripts? Thanks

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Wed Sep 05, 2012 8:34 pm
by kevinmcd
Heyu now seems to support the RFXtrx device...

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Thu Sep 06, 2012 5:21 am
by RobertF
If this is true this is wonderful News!

I won't be able to test this for a couple of days, when you say it seems heyu supports it, is this from usage of the program or have you seen a published announcement?

is this for transmitting or receiving? Or both?

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Mon Sep 17, 2012 8:09 am
by b_weijenberg
rfxcmd is created by Sebastian:

What is rfxcmd
Command line utility written in Python to receive data from RFX devices.

At the moment RFXCMD does only support to receive messages from the RFX devices. Not all can be processed yet and inserted to MySQL. The goal is to support as much as possible, and it will be added when I get logs from users with other sensors.

The plan is to introduce the SEND functionality as well

http://code.google.com/p/rfxcmd/

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Mon Sep 17, 2012 11:27 am
by RobertF
Didn't have much joy with heyu, doesn't seem to support the device.

Great News about Sebastian's rfxcmd!

This looks like becoming what we've all been waiting for. :)

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Mon Sep 17, 2012 8:29 pm
by ssjoholm
Hi,

Thanks for the interest :)

It takes some time to include all the protocols, but I will post on the GoogleCode page when I have the first protocols integrated.

Regards,
Sebastian

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Sun Jul 14, 2013 12:17 pm
by dave123
Heyu is now supporting RFXtrx transceivers, see http://heyu.tclcode.com/ , at least most of the interesting sensors. No transmit support yet though.

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Tue Jan 07, 2014 12:21 pm
by kokki
Is there some way to reset the device ..? I send maybe some dozens packets and maybe the rfxtrx device is receiving same time.. and then the red light comes up and the device is not responding after that. I can only unplug the cable or reboot the machine. Is there some solution to remove the linux module or something that I can reset the device?

Re: Control the RFXtrx433 from Linux Command Line?

Posted: Tue Jan 07, 2014 12:35 pm
by b_weijenberg
If the red LED is on it indicates that the RFXtrx433 is in boot mode and waits for flash commands!