Page 1 of 2

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 02, 2008 2:05 pm
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.

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 02, 2008 3:08 pm
by b_weijenberg
You are right, the RFXCOM receiver transmits the data in hex.

Bert

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 02, 2008 7:59 pm
by Digit
Just curious: who's Icepick?

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 02, 2008 8:19 pm
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...

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 02, 2008 8:25 pm
by Digit
Ok, i already found it; i thought you were referring to a forum member :-)

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 02, 2008 8:35 pm
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...

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 23, 2008 12:23 am
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.

BWR102 scales with WL500-GP running OpenWRT

Posted: Tue Nov 25, 2008 12:49 am
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...

BWR102 scales with WL500-GP running OpenWRT

Posted: Tue Nov 25, 2008 10:14 pm
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)

BWR102 scales with WL500-GP running OpenWRT

Posted: Tue Nov 25, 2008 11:59 pm
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...

BWR102 scales with WL500-GP running OpenWRT

Posted: Wed Nov 26, 2008 2:49 am
by Mrio
Where can I buy this oregon bath scale?

BWR102 scales with WL500-GP running OpenWRT

Posted: Thu Nov 27, 2008 4:39 pm
by Stevexyz
OK, source code, Makefile and executable: http://www.seawasp.com/rfxcom.tar.gz

Cheers, Steve

BWR102 scales with WL500-GP running OpenWRT

Posted: Sun Nov 30, 2008 3:20 pm
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...

BWR102 scales with WL500-GP running OpenWRT

Posted: Thu Dec 25, 2008 1:35 pm
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">

BWR102 scales with WL500-GP running OpenWRT

Posted: Thu Dec 25, 2008 2:16 pm
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...