xpl-rfxcom
xpl-rfxcom
Hi
I;m using xpl-rfxcom for reading out some x10 and oregon sensors.
Nog i wanto to put it in a rrd database (oregon sensors) and rrd graph. With other sensors i have it works, ds18s20 with digitemp, see www.kroonen.eu
any help how to get it with linux working. Sample output shown. Does it work with xpl-rrd.
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - on k4
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - off k4
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - on k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - off k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - on k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - dim k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - dim k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - dim k2
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
I;m using xpl-rfxcom for reading out some x10 and oregon sensors.
Nog i wanto to put it in a rrd database (oregon sensors) and rrd graph. With other sensors i have it works, ds18s20 with digitemp, see www.kroonen.eu
any help how to get it with linux working. Sample output shown. Does it work with xpl-rrd.
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - on k4
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - off k4
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - on k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - off k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - on k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - dim k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - dim k2
xpl-trig/x10.basic: bnz-rfxcom.kroonen -> * - dim k2
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[temp]=10.8
xpl-trig/sensor.basic: bnz-rfxcom.kroonen -> * - thgr228n.ee[humidity]=94
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
xpl-rrd will create these graphs for temparature and such automaticly. i have that running too, didn't change anything for it and it went on creating. Try it, let me know if you have issues with xpl-rrd.
// Erik (binkey.nl)
// Erik (binkey.nl)
xpl-rfxcom
Erik,
Is start first, xpl-rfxcom /dev/ttyUSB2 &
that I start xpl-rrd /temp/rrd
than is see /termp/rrd/state.db
it's created but it doesn't grow, of date modified??
Is start first, xpl-rfxcom /dev/ttyUSB2 &
that I start xpl-rrd /temp/rrd
than is see /termp/rrd/state.db
it's created but it doesn't grow, of date modified??
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
did you give it some time? i have the following:
-rw-r--r-- 1 xplperl xplperl 12288 2007-11-03 21:22 state.db
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thgr228n.5a
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thgr228n.8c
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thgr228n.b4
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thwr288a.8e
and my graphs are in /var/www/rrd (standard i believe) so make sure thats there..
// Erik (binkey.nl)
-rw-r--r-- 1 xplperl xplperl 12288 2007-11-03 21:22 state.db
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thgr228n.5a
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thgr228n.8c
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thgr228n.b4
drwxr-xr-x 2 xplperl xplperl 4096 2007-09-02 12:38 thwr288a.8e
and my graphs are in /var/www/rrd (standard i believe) so make sure thats there..
// Erik (binkey.nl)
xpl-rfxcom
Hi,
you did xpl-perl-setup?? there are users as i can see xplperl..
The data is stored in /var/lib/rrd??
you did xpl-perl-setup?? there are users as i can see xplperl..
The data is stored in /var/lib/rrd??
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
yes, data is in /var/lib/rrd and the webpages should come to /var/www/rrd, didn't change the default but thats possible too. I also ran the xpl-perl-setup, but it should not be much different from running yourself.
// Erik (binkey.nl)
// Erik (binkey.nl)
xpl-rfxcom
Well I found the problems. The script is made for debian users, and as fedora user, addgroup doesn't work, so the user accounts groups went wrong while creating. Als securit on dirs was not working ok. No the xplperl user is created, groups and security to these dirs is set.
so if you have problems reader the setup script (xpl-perl-setup)
so if you have problems reader the setup script (xpl-perl-setup)
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
ah, i'll report it to the author.
// Erik (binkey.nl)
// Erik (binkey.nl)
xpl-rfxcom
addgroup is groupadd, and --system he doesn't understand.
you know the author?? so features and bugs we can discuss here or?
you know the author?? so features and bugs we can discuss here or?
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
on this forum, there is a person called "beanz" he wrote the xpl-perl part. i'll refer him to this thread so he can check.
// Erik (binkey.nl)
// Erik (binkey.nl)
xpl-rfxcom
Erik,
I have it working but sometims it looks like it hangs. The dat is not chaning sometimes for couple hours, sometims to get it back working i must reboot. Check op http://www.kroonen.eu/temp2
Maybe I have to change the channel of my oregon thgr228n?
I have it working but sometims it looks like it hangs. The dat is not chaning sometimes for couple hours, sometims to get it back working i must reboot. Check op http://www.kroonen.eu/temp2
Maybe I have to change the channel of my oregon thgr228n?
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
reboot? you are using linux right? I use sv to keep my things running (see wiki.binkey.nl for info)
// Erik (binkey.nl)
// Erik (binkey.nl)
xpl-rfxcom
Well it now works ok.
How do i get with a tool the latest value, for example from a sensor.
Graphs it is no problem, but i want it without rrdgraph.
any ideas?
How do i get with a tool the latest value, for example from a sensor.
Graphs it is no problem, but i want it without rrdgraph.
any ideas?
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
xpl-rfxcom
Read http://www.domoticaforum.eu/topic.asp?TOPIC_ID=464 it has more information.
The best thing to do, is to install zenah. This can control your lights, although it might be tricky to install in the first place. But you can also create rules in zenah so that it will keep a record of the temperature alone, so it will speed up the graphs when creating it. The example shown in the above topic will work, but not really fast. If you check www.binkey.nl and then sensors, you can see that it takes some time before they all appear.
If you go for the zenah approach, let me know how it goes all. Feedback is welcome so i can send it to the author or fix it at the wiki.binkey.nl where i try to keep everything clear.
// Erik (binkey.nl)
The best thing to do, is to install zenah. This can control your lights, although it might be tricky to install in the first place. But you can also create rules in zenah so that it will keep a record of the temperature alone, so it will speed up the graphs when creating it. The example shown in the above topic will work, but not really fast. If you check www.binkey.nl and then sensors, you can see that it takes some time before they all appear.
If you go for the zenah approach, let me know how it goes all. Feedback is welcome so i can send it to the author or fix it at the wiki.binkey.nl where i try to keep everything clear.
// Erik (binkey.nl)
xpl-rfxcom
Erik Binkey
I like the graphs of the sensors. Wat kind of tool are making the grpahs,, I only know rrdtool, en gnuplot??. Do you store the sensors in a mysql database?
I like the graphs of the sensors. Wat kind of tool are making the grpahs,, I only know rrdtool, en gnuplot??. Do you store the sensors in a mysql database?