Control the RFXtrx433 from Linux Command Line?

Forum about Rfxcom home automation Domotica devices.

Moderator: b_weijenberg

icepick
Starting Member
Starting Member
Posts: 12
Joined: Tue Jan 24, 2012 7:02 am

Control the RFXtrx433 from Linux Command Line?

Post 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
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: Control the RFXtrx433 from Linux Command Line?

Post 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.
icepick
Starting Member
Starting Member
Posts: 12
Joined: Tue Jan 24, 2012 7:02 am

Re: Control the RFXtrx433 from Linux Command Line?

Post 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..
RobertF
Starting Member
Starting Member
Posts: 7
Joined: Wed Aug 29, 2012 10:41 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post by RobertF »

I'm also looking for a linux command line control program for the rfxtrx433.

Any recent breakthroughs?
icepick
Starting Member
Starting Member
Posts: 12
Joined: Tue Jan 24, 2012 7:02 am

Re: Control the RFXtrx433 from Linux Command Line?

Post 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.
RobertF
Starting Member
Starting Member
Posts: 7
Joined: Wed Aug 29, 2012 10:41 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post 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!
RobertF
Starting Member
Starting Member
Posts: 7
Joined: Wed Aug 29, 2012 10:41 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post by RobertF »

Would really appreciate any info as to the whereabouts of the scripts? Thanks
kevinmcd
Starting Member
Starting Member
Posts: 9
Joined: Fri Aug 31, 2012 3:17 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post by kevinmcd »

Heyu now seems to support the RFXtrx device...
RobertF
Starting Member
Starting Member
Posts: 7
Joined: Wed Aug 29, 2012 10:41 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post 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?
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: Control the RFXtrx433 from Linux Command Line?

Post 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/
RobertF
Starting Member
Starting Member
Posts: 7
Joined: Wed Aug 29, 2012 10:41 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post 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. :)
ssjoholm
Starting Member
Starting Member
Posts: 3
Joined: Mon Sep 17, 2012 8:23 pm

Re: Control the RFXtrx433 from Linux Command Line?

Post 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
dave123
Starting Member
Starting Member
Posts: 1
Joined: Sun Apr 13, 2008 12:17 pm
Location: Netherlands

Re: Control the RFXtrx433 from Linux Command Line?

Post 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.
kokki
Starting Member
Starting Member
Posts: 8
Joined: Tue Nov 20, 2012 9:23 am

Re: Control the RFXtrx433 from Linux Command Line?

Post 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?
Tellstick DUO, soon with RFXTRX433
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: Control the RFXtrx433 from Linux Command Line?

Post by b_weijenberg »

If the red LED is on it indicates that the RFXtrx433 is in boot mode and waits for flash commands!
Post Reply

Return to “Rfxcom Receivers & Transmitters Forum”