2016年2月22日 星期一

Debian Hotplugged Network Interface

# vi /etc/network/interfaces
allow-hotplug usb0
auto usb0
iface usb0 inet dhcp

2016年2月11日 星期四

Weewx Raw/LOOP Data Plugin (raw.py)

  1. Copy the extra/plugins/weewx/raw.py file into $WEEWX_HOME/bin/user/
  2. vi weewx.conf
    [Databases]
        [[raw_mysql]]
        database_name = weewx
        host = localhost
        user = weewx
        password = weewx
        driver = weedb.mysql
    [Engine]
        [[Services]]
            archive_services = weewx.engine.StdArchive, user.raw.RawService
    [Raw]
        raw_database = raw_mysql
        data_limit = 24
  3. ./bin/weewxd weewx.conf




References :
Re: Re: How does weewx process Davis LOOP packets?
Upgraded raw plugin for MesoWx v0.4.0