BWR102 scales with WL500-GP running OpenWRT

Forum about Rfxcom home automation Domotica devices.

Moderator: b_weijenberg

Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

Hi everybody,

I've been watching this forum for a while now, and Bwired, Icepick and a few more have been a great inspiration for me. Today i decided to submit my very first post on this forum. So, here we go.

I am running a couple of WL-500GP's with OpenWRT (all connected via WDS) that should perform all sorts of home automation tasks. I made my own weather station with 1-wire temperature sensors, and display the output with Rrdtool (Round Robin Database). All of this is functioning like a charm.

My next plan, is to step onto a BWR102 scale, send the value to the nearest WL500-GP and store this value in a Round Robin Database and make a chart of this. The Rfxcom USB receiver and BWR102 scales are funcioning fine with the supplied software. But now that i want to use it with Linux, i'm running into some difficulties. I'm sure, some (or all) of you are using Linux as their OS, so my question should be kind of familiar.

If i use "cat /dev/usb/tts/0", nothing is shown when i step on the scales. I am quite sure that the baud rate is fine (4800/38400, tried both with STTY), but still no luck. I use this method successfully with an RFID receiver. Both devices have the same FTDI interfaces, which are fully supported within OpenWRT. The only difference i can come up with, is maybe that the RFID receiver sends ASCII, where rfxcom sends HEX? Shouldn't CAT display HEX too? Do i have to initiate communications in some way, or is serial data output in one way constantly?

Any hints, tips or tricks are very welcome.

Best regards,

Ed.
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1746
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

BWR102 scales with WL500-GP running OpenWRT

Post by b_weijenberg »

You are right, the RFXCOM receiver transmits the data in hex.

Bert
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Digit »

Just curious: who's Icepick?
Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

Well,

Icepick was one of the first websites that i found, that put home automation online, much like Bwired does now. If i remember correctly, he or they got a lot of media attention in the beginning. After that, things slowed down a bit, but now the website seems to be kept more up to date again. This website is dutch as well [:D].

Take a look at: http://www.icepick.com

Of course, i am not related to this website in any way, or trying to promote anything in any way [:D].

Ed.
------------------------------------
So many projects and so little time...
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Digit »

Ok, i already found it; i thought you were referring to a forum member :-)
Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

For all i know, he could still be a member [:D].
I would be surprised if he (Icepick) never visited the Domotica forum.

Ed.

------------------------------------
So many projects and so little time...
Kroonen
Member
Member
Posts: 302
Joined: Mon Oct 01, 2007 6:38 pm
Location: Netherlands

BWR102 scales with WL500-GP running OpenWRT

Post by Kroonen »

Maybe you can use heyu for that, see manual, weight sensors

Heyu recognizes protocols for Oregon signals beyond those listed as supported, but by default classifies them
as noise.

Directive DISPLAY_ORE_ALL YES - Instructs Heyu to display "RFdata" signals with all recognized Oregon proto-
cols even though the support may not yet exist for them in Heyu. Recognized but unsupported protocols are:

WS1, WS2, WS3 - Anemometers and wind direction sensors.
R1, R2, R3 - Rain gauges.
WG1, WG1 - Weight sensors
DT1 - Real time clock/calendar.
EL1 - Remote AC current sensor.
UV1, UV2 - Ultraviolet sensors.
Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

<s>Unfortunately, Heyu is not designed to run on a WL-500GP.</s>

I found that the "dd" command does receive the data from the rfxcom usb receiver. But, only in ascii.
I have to puzzle some more. Any ideas are welcome.

Gr.
Ed.

------------------------------------
So many projects and so little time...
Stevexyz
Member
Member
Posts: 87
Joined: Fri Dec 14, 2007 1:45 am
Location: United Kingdom
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Stevexyz »

I have some Linux code which works with an RFXCOM USB but it's fairly primitive and just prints out hex values for valid 32-bit X10 and CR14 (Ninja camera) codes. I can't test it with an Oregon sensor as I don't have one! It will give you an idea of what you have to do; it's quite straightforward as the RFXCOM does all the work.

Let me know if this would be any use to you.

Cheers, Steve (stevem@seawasp.com)
Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

Sure!

Any help is welcome.

I would like to try anything that would run on my Asus. Raw or lean and mean, i don't care [:D]

Ed.


------------------------------------
So many projects and so little time...
Mrio
Starting Member
Starting Member
Posts: 2
Joined: Wed Nov 26, 2008 2:48 am
Location: Portugal

BWR102 scales with WL500-GP running OpenWRT

Post by Mrio »

Where can I buy this oregon bath scale?
Stevexyz
Member
Member
Posts: 87
Joined: Fri Dec 14, 2007 1:45 am
Location: United Kingdom
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Stevexyz »

OK, source code, Makefile and executable: http://www.seawasp.com/rfxcom.tar.gz

Cheers, Steve
Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

To Mrio,

Check this out...
http://vandaagleven.nl/index.php/produc ... eters.html

Best regards,

Ed.


------------------------------------
So many projects and so little time...
Kroonen
Member
Member
Posts: 302
Joined: Mon Oct 01, 2007 6:38 pm
Location: Netherlands

BWR102 scales with WL500-GP running OpenWRT

Post by Kroonen »

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Mr.Ed</i>
<br />Unfortunately, Heyu is not designed to run on a WL-500GP.

Well I think it's supported, with openwrt

https://dev.openwrt.org/changeset/3299

I know the in heyu 2.5 this will be supported

Added a module type ORE_WGT1 for the Oregon BWR102 scale.
See section SPECIAL BWR102 SETUP in man page x10oregon(5).


<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Mr.Ed
Starting Member
Starting Member
Posts: 9
Joined: Sun Nov 02, 2008 1:32 pm
Location: Netherlands
Contact:

BWR102 scales with WL500-GP running OpenWRT

Post by Mr.Ed »

Okay,

I stand corrected then. [^]

I would have to investigate this, to see what is needed to run Heyu on my router. I know how to install packages, but compiling is not (yet) my cup of tee.

Thanks for pointing it out for me.

Ed.


------------------------------------
So many projects and so little time...
Post Reply

Return to “Rfxcom Receivers & Transmitters Forum”