These settings are not a guarantee against lockups, but they will reduce the chance.
EASYWEATHER USB DRIVER ARCHIVE
The best settings for a Fine Offset station using weewx 2.6.x and earlier are: Īlso, set the station's archive interval to 5 minutes (300 seconds): sudo wee_device -set-interval=5 However, there are some workarounds: Use correct settings Obviously, this firmware bug makes the FineOffset stations unsuitable for unattended operation. Since the station receives power from USB, removing the batteries without disconnecting USB will not power cycle the station. That means remove the batteries, disconnect the USB connection, then reinstall the batteries and reconnect the USB. The only way to get things working again is to power cycle the station. No data available" is the sign of a lockup.
EASYWEATHER USB DRIVER DRIVER
The "could not detach kernel driver from interface.
In the weewx log you will see messages such as this: Jun 7 21:50:33 localhost weewx: fousb: get archive interval failedĪttempt 1 of 3: could not detach kernel driver from interface 0: No data available When the lockup happens, you will see a gap in weather data. The USB lockups were first noted in 2011. It might coincide with a change in radio communication protocols between console and sensors. It would appear to be a problem with stations manufactured after 2010 or so older stations seem to be immune. Some people experience the lockup with certain computers but not others, some report fewer lockups after switching to a powered hub or to a different USB cable.
It is possible that the lockup is due to hardware configuration. Jim Easterbrook (author of pywws) surmises that the lockup happens when a computer attempts to communicate with the station while the station is reading data from the sensors (every 48 or 60 seconds) or writing to console memory (every archive interval). It happens with weewx, Cumulus, pywws, wview, EasyWeather, etc. Since the lockup happens in the station firmware, no weather station software is immune. However, any communication over USB stops.
The weather station console continues to communicate with the sensors, and weather data are displayed properly on the weather station console. The Fine Offset stations are known to periodically stop communicating via USB. What to do when your Fine Offset station locks up