linux sw for reading & displaying oregon sensors

Forum about Rfxcom home automation Domotica devices.

Moderator: b_weijenberg

Post Reply
docbee
Starting Member
Starting Member
Posts: 14
Joined: Sun Jun 10, 2007 3:09 pm
Location: Germany

linux sw for reading & displaying oregon sensors

Post by docbee »

during the last weeks i adapted my linux sw (written in plain c) that reads weather data from the oregon wmr928 to directly read sensor data via the rfxcom receiver. The advantage of this approach is, that you can now use as many sensors as you like (actually, i limited it to 10 of each type) and you dont really need the wmr928 master display.

i will make some further tests on the sw before releasing it under gpl. when things work as expected a first version will be available on sunday night.

feel free to have a look at the results so far in the weather section of my homepage: http://www.pasternak.net/joomla/content/view/40/79/

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

linux sw for reading & displaying oregon sensors

Post by Snelvuur »

I'am using xpl-perl for this, which also works like a charm, and also has support for the rest of the supported features of rfxcom.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

linux sw for reading & displaying oregon sensors

Post by Bwired »

Look great your page! I came to the same conclusion a while back I don't need the panel anymore. Still need the panel of my Davis vantage pro weather station, is a little harder to adapt the protocol.
docbee
Starting Member
Starting Member
Posts: 14
Joined: Sun Jun 10, 2007 3:09 pm
Location: Germany

linux sw for reading & displaying oregon sensors

Post by docbee »

the software did record 24h of sensor data without hick up, so i think i can release it for download. building weather graphs also works ok, so here we go...

http://www.pasternak.net/joomla/compone ... Itemid,70/

if you find bugs/errors, please let me know. as it is a major new release, i am sure there are some in there ;-)
docbee
Starting Member
Starting Member
Posts: 14
Joined: Sun Jun 10, 2007 3:09 pm
Location: Germany

linux sw for reading & displaying oregon sensors

Post by docbee »

I have a two new sensors connected to my rig.

1. THN132N
This sensor sends data like the THWR288 with two differences:
- packet length is 44 hex (sample 44ea4c203f8824808414)
- bit #3 of byte #6 indicated negative temperature sign (I assume this is the same with the THWR 288)

2. THGN122N
This sensor acts exactly like the THGR228. (sample 501a2d400f800840153db4)

May be you like to add this to your documentation.
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1746
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

linux sw for reading & displaying oregon sensors

Post by b_weijenberg »

The Oregon RF format document has been updated and the full document is available on the download page now.
The RFreceiver program has also been updated to support the THN132N.
http://www.rfxcom.com/downloads.htm
docbee
Starting Member
Starting Member
Posts: 14
Joined: Sun Jun 10, 2007 3:09 pm
Location: Germany

linux sw for reading & displaying oregon sensors

Post by docbee »

I have a first bug fix release for the software available:
http://www.pasternak.net/joomla/compone ... Itemid,70/

Changelog:
10.7. Bug Fix Release v2.1
- fixed bug in syncing rf packet headers, better printout of unidentified data
- added support for THN132N and THGN122N sensors
- fixed a bug in low battery computation
- fixed a bug in readout of negative temperatures
Post Reply

Return to “Rfxcom Receivers & Transmitters Forum”