BWR102 scales with WL500-GP running OpenWRT
Moderator: b_weijenberg
BWR102 scales with WL500-GP running OpenWRT
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.
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.
- b_weijenberg
- Forum Moderator
- Posts: 1746
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
BWR102 scales with WL500-GP running OpenWRT
You are right, the RFXCOM receiver transmits the data in hex.
Bert
Bert
BWR102 scales with WL500-GP running OpenWRT
Just curious: who's Icepick?
BWR102 scales with WL500-GP running OpenWRT
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...
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
Ok, i already found it; i thought you were referring to a forum member 

BWR102 scales with WL500-GP running OpenWRT
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...
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
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.
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
<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...
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
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)
Let me know if this would be any use to you.
Cheers, Steve (stevem@seawasp.com)
BWR102 scales with WL500-GP running OpenWRT
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...
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
Where can I buy this oregon bath scale?
BWR102 scales with WL500-GP running OpenWRT
To Mrio,
Check this out...
http://vandaagleven.nl/index.php/produc ... eters.html
Best regards,
Ed.
------------------------------------
So many projects and so little time...
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
<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">
<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
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...
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...