This is in OpenWrt Chaos Calmer 15.05 Just want to say it runs well, and share my notes for getting it going:
You need some extra packages, you may be able to do them via easy_install but i did them from source: configobj http://pypi.upc.edu/mirror/configobj/configobj-5.0.6.tar.gz six http://pkgs.fedoraproject.org/repo/pkgs/python-six/six-1.10.0.tar.gz/34eed507548117b2ab523ab14b2f8b55/six-1.10.0.tar.gz pyusb http://internode.dl.sourceforge.net/project/pyusb/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.tar.gz Then these packages from the repo: python-sqlite3 python-decimal Then you in the weewx.conf i disabled reports , as this saves installed some packages and i didnt need it, only reporting to wunderground: report_services = weewx.engine.StdPrint Then for the WMR200 you need to force the archive interval setting in 2 sections: archive_interval = 300 in the [WMR200] driver section that you add, and in the [StdArchive] section. Then you need to force the WMR200 driver to use the libusb driver installed earlier by editing the wmr200.py file in the drivers folder, so it reads like this at the top: import usb import usb.backend.libusb1 backend = usb.backend.libusb1.get_backend(find_library=lambda x: "/usr/lib/libusb-1.0.so") Now it should work. This is my init script to get it going at boot: #!/bin/sh /etc/rc.common # Simple weewkd initd for openwrt # Note paths used if different. # www.httech.com.au START=99 STOP=99 start() { logger "starting weewx" # commands to launch application /home/weewx/bin/weewxd --daemon /home/weewx/weewx.conf } stop() { logger "stopping weewx" # commands to kill application kill -9 `cat /var/run/weewx.pid` } restart() { logger "restarting weewx" # commands to kill application kill -HUP `cat /var/run/weewx.pid` } -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
