Re: Anyone running weewx on OpenWRT (linksys router)?

890 views
Skip to first unread message

John Canfield

unread,
Dec 3, 2012, 10:47:15 PM12/3/12
to weewx...@googlegroups.com
I've used DD-WRT and Tomato running in a primary router with no issues, but the weewx box was another router behind the primary.  Can't imagine it would be an issue.

John
weather.janeandjohn.org

On Monday, December 3, 2012 4:06:46 AM UTC-6, Tom Van Dyck wrote:
Hi,
I want to try to connect my Davis console to a router running OpenWRT, I have already succesfully been running pywws (also Python) on it using a Fine Offset weather station. So I guess weewx should work too?

I will try it anyway this week, but if anyone already has experience with it, please let me know

Best Regards,

Tom Van Dyck

unread,
Dec 7, 2012, 3:02:27 PM12/7/12
to weewx...@googlegroups.com
Hmm, packages like python-configobj, python-cheetah,... are not in the openwrt software repository... that makes things harder.

root@OpenWrt:/app/weewx/weewx-2.0.2# opkg install python-configobj
Unknown package 'python-configobj'.

Thomas Keffer

unread,
Dec 8, 2012, 10:10:36 AM12/8/12
to weewx...@googlegroups.com
LOL! Well, that's not a very useful editorial, is it?

Off the top of my head...
  • Try building Cheetah --- it just uses "distutils", so it might be a simple as running setup.py
  • Configobj is pure Python, so its installation should be trivial
  • You can try a different, more full-featured OS
-tk

--
 
 



--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer

Brandon Peterson

unread,
Dec 13, 2012, 11:42:56 PM12/13/12
to weewx...@googlegroups.com
I'm running mine on a TomatoUSB install which is similar to OpenWRT. It uses ipkg instead of opkg but what I found was that some of the packages had a slightly different naming convention than the normal. For example I had to install py26-cheetah vs python-cheeta, py26-configobj vs python-configobj, etc.

Not sure what you are using for the connection to the console but in my case with the Davis USB logger I had to compile my own kernel module for the serial driver (cp2101).

HTH,
Brandon

Lee

unread,
Mar 5, 2013, 6:57:53 AM3/5/13
to weewx...@googlegroups.com
Has anyone got a package for configobj or cheetah for OpenWRT? Unfortunately I couldn't find anything with remotely similar names. 
I've got fowsr working, but for some reason the data on the rain gauge is corrupted.
If anyone can help out with those above packages I'd be keen to try weewx with my WH-3081. 

alste...@gmail.com

unread,
Jan 4, 2014, 5:17:08 AM1/4/14
to weewx...@googlegroups.com
http://pronas.pl/epguide-instalacja-poziomu-konsoli-t5576.html

gunzip configobj-4.7.2.tar.gz
tar xf configobj-4.7.2.tar
cd configobj-4.7.2
python setup.py install 

alste...@gmail.com

unread,
Jan 4, 2014, 7:53:35 AM1/4/14
to weewx...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages