How to connect to lan-rfxcom with linux

Forum about Rfxcom home automation Domotica devices.

Moderator: b_weijenberg

User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by Snelvuur »

have you looked at some pieces i posted on http://wiki.binkey.nl ? some xpl documentation is there..

// Erik (binkey.nl)
francisb
Member
Member
Posts: 54
Joined: Sat Sep 29, 2007 8:53 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by francisb »

Well, seems to be down.....
pvbrakel
Starting Member
Starting Member
Posts: 3
Joined: Mon Nov 03, 2008 11:13 pm
Location: Netherlands

How to connect to lan-rfxcom with linux

Post by pvbrakel »

I also use xpl-perl as a test. xpl-perl works but is not as stable as it should be. Commandline arguments missing from the help, help missing, etc. As said, a lot of work for one person.
If you want to use it, sometimes you have to look at the perl sourcecode to see whats realy going on and maybe fix a bug.
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by Snelvuur »

yeah my server crashed sortoff, i'am in the process of putting up a new server.. but this will take some time, have a backup and its coming along.. hopefully it should be back up end of the week.. then i'll get 500 domotica forum mails, if they didn't bounce allready.. :P

// Erik (binkey.nl)
Pieterpaul
Member
Member
Posts: 145
Joined: Sat Jul 05, 2008 7:00 pm
Location: Netherlands

How to connect to lan-rfxcom with linux

Post by Pieterpaul »

I agree that xpl-perl help text is often wrong (missing commandline options, using wrong options, etc) and that there are some bugs in the commandline arguments, but I wouldn't call it unstable. I have never seen one of the modules crash or something like that. I don't know much about Perl, but I have always been able to figure out the proper commandline options by looking at the code.
I do have problems getting RRD to work though - for some reason I can't get graphs from RFXMeter or RFXPower devices (they are empty). RFXSensor works perfectly. I don't know enough of RRD and Perl to be able to understand what could be wrong, but I have always been able to figure out the proper commandline options. (I don't use Zenah)

Regards, PP
francisb
Member
Member
Posts: 54
Joined: Sat Sep 29, 2007 8:53 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by francisb »

Well, i was able to get some readings from the rfxcom power en gas sensors, but getting the rrd to work is for me also a problem.
I hope someone can help us, maybe he has some howto.
You can find a lot of info but its very scattered, what a lot of (beginning) users need is a step to step howto, otherwise they giveup very soon, and think the products are crap.
Most of the time i think at it to difficult at the end it is mostly very simple
Pieterpaul
Member
Member
Posts: 145
Joined: Sat Jul 05, 2008 7:00 pm
Location: Netherlands

How to connect to lan-rfxcom with linux

Post by Pieterpaul »

Domotica under Linux is in my experience not really suitable for beginners, and unfortunately xpl-perl is no exception. This is of course somewhat true for Linux in general, but home automation is apparently one of the areas that are still for geeks only. Most of the open source projects are not very well designed and/or maintained and seem to die because of lack of interest after some time. Strange, as the windows tools are relatively stable and userfriendly. Maybe with growing interest in domotica things will get better.
If I find some more time I will see if I can figure out the rrd problem. In case anyone has gotten this to work, any hints are welcome!

/PP
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by Snelvuur »

http://wiki.binkey.nl/index.php?title=Main_Page does work, but if you click on a link it says not found.. change the link name to index.php?title=<name>

Its a bit overkill but i'am leaving for the plain tomorrow so i dont have that much time, my mail is working (2000+ spam) and the files.binkey.nl of the forum is up aswell.. i'll fix it when i get back..

// Erik (binkey.nl)
francisb
Member
Member
Posts: 54
Joined: Sat Sep 29, 2007 8:53 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by francisb »

Well, i think i getting the hang of it, resolved the HOSTNAME error (my server hostname was with a symbol the program could not understand (dash)).But i still can not figure out how to connect to lan.
When i use the setup i get the same error as gb1980, snelvuur answers with: "i just use the xpl-perl setup. There you can say xpl-rfxcom ip:port at startup". I do not understand what he is saying, should i alter the setup script?

regards,

Francis
Esteban
Forum Moderator
Forum Moderator
Posts: 677
Joined: Sun Jan 13, 2008 6:39 pm
Location: Netherlands

How to connect to lan-rfxcom with linux

Post by Esteban »

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by snelvuur</i>
<br /> then i'll get 500 domotica forum mails, if they didn't bounce allready.. :P
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Hehe, I was wondering why my e-mails bounced. ;)
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by Snelvuur »

francisb: last time i used it, i did it like that. if i check my service:

debian:/var/service/xpl-rfxcom# cat run
#!/bin/sh
exec 2>&1
exec chpst -uxplperl:xplperl /usr/bin/xpl-rfxcom -v 192.168.1.98:10001

so you can see its started like that, xpl-rfxcom ip:port.. and then the spamming came by itself (temperature, etc, ec)

// Erik (binkey.nl)

p.s. i fixed the wiki now, its normal again. Hopefully it has some information for you aswell.
francisb
Member
Member
Posts: 54
Joined: Sat Sep 29, 2007 8:53 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by francisb »

He snelvuur,

Well i am probaly very stupid, but i do not have a /var/service/ so i am stuck again.
And this is not helping either:

francis@domserver:/$ sudo sv up xpl-rfxcom
[sudo] password for francis:
fail: xpl-rfxcom: unable to change to service directory: file does not exist


The search goes on.
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by Snelvuur »

/var/service comes from the sv service (this is a service to keep your programs up and running)

if you get that message, that usually means you changed the syntax..

if i did sv stop xpl-rfxcom , instead of sv xpl-rfxcom stop (this is just a example though) then it did work, so check the syntax really good.

// Erik (binkey.nl)
Kroonen
Member
Member
Posts: 302
Joined: Mon Oct 01, 2007 6:38 pm
Location: Netherlands

How to connect to lan-rfxcom with linux

Post by Kroonen »

I'm curious if heyu should work with the lan version. I'm using heyu with rfxcom instead of xpl-perl, because x10 and oregon sensors are supported.
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

How to connect to lan-rfxcom with linux

Post by Snelvuur »

x10 and oregon sensors are supported by xpl-perl too as far as i know.

// Erik (binkey.nl)
Post Reply

Return to “Rfxcom Receivers & Transmitters Forum”