After 48 hours weewx lost connection with wmr300:

Oct  8 20:40:14 meteo weewx[20330]: manager: Added record 2018-10-08 
20:40:00 CEST (1539024000) to daily summary in 'weewx.sdb'
Oct  8 20:40:15 meteo weewx[20330]: restx: CWOP: Published record 
2018-10-08 20:40:00 CEST (1539024000)
Oct  8 20:40:15 meteo weewx[20330]: restx: AWEKAS: Published record 
2018-10-08 20:40:00 CEST (1539024000)
Oct  8 20:40:15 meteo weewx[20330]: restx: PWSWeather: Published record 
2018-10-08 20:40:00 CEST (1539024000)
Oct  8 20:40:15 meteo weewx[20330]: restx: Wunderground-PWS: Published 
record 2018-10-08 20:40:00 CEST (1539024000)
Oct  8 20:40:15 meteo weewx[20330]: restx: WeatherCloud: Published record 
2018-10-08 20:40:00 CEST (1539024000)
Oct  8 20:40:19 meteo weewx[20330]: wmr300x: read counts; Loop: 135; TH_0: 
11; TH_1: 16; TH_2: 10; TH_3: 10; TH_4: 10; TH_5: 10; TH_6: 10; TH_7: 10; 
TH_8: 10; barom: 10; forecast: 10; rain: 12; wind: 16
Oct  8 20:40:19 meteo weewx[20330]: wmr300x: write counts;
Oct  8 20:40:36 meteo weewx[20330]: cheetahgenerator: Generated 10 files 
for report StandardReport in 20.88 seconds
Oct  8 20:40:39 meteo weewx[20330]: wmr300x: read counts; Loop: 135; TH_0: 
10; TH_1: 16; TH_2: 10; TH_3: 10; TH_4: 10; TH_5: 10; TH_6: 10; TH_7: 10; 
TH_8: 10; barom: 11; forecast: 10; rain: 12; wind: 16; x57: 1
Oct  8 20:40:39 meteo weewx[20330]: wmr300x: write counts; xa6: 1
Oct  8 20:40:49 meteo weewx[20330]: imagegenerator: Generated 9 images for 
StandardReport in 13.02 seconds
Oct  8 20:40:49 meteo weewx[20330]: copygenerator: copied 0 files to 
/var/www/html/weewx
Oct  8 20:40:50 meteo weewx[20330]: cheetahgenerator: Generated 1 files for 
report TiempoElche in 0.53 seconds
Oct  8 20:40:56 meteo weewx[20330]: imagegenerator: Generated 8 images for 
TiempoElche in 6.80 seconds
Oct  8 20:40:56 meteo weewx[20330]: copygenerator: copied 0 files to 
/var/www/html/weewx/TiempoElche
Oct  8 20:41:00 meteo weewx[20330]: wmr300x: read counts; Loop: 49; TH_0: 
3; TH_1: 6; TH_2: 4; TH_3: 3; TH_4: 4; TH_5: 4; TH_6: 4; TH_7: 4; TH_8: 3; 
barom: 3; forecast: 4; rain: 5; wind: 6; x57: 1
Oct  8 20:41:00 meteo weewx[20330]: wmr300x: write counts; xa6: 1
Oct  8 20:41:10 meteo weewx[20330]: ftpgenerator: ftp'd 28 files in 13.77 
seconds
Oct  8 20:41:20 meteo weewx[20330]: wmr300x: read counts;
Oct  8 20:41:20 meteo weewx[20330]: wmr300x: write counts;
Oct  8 20:41:29 meteo weewx[20330]: wmr300x: Loop data packets in heartbeat 
interval = 0
Oct  8 20:41:30 meteo weewx[20330]: wmr300x: No loop data in heartbeat 
interval,  restarting
Oct  8 20:41:40 meteo weewx[20330]: wmr300x: read counts;
Oct  8 20:41:40 meteo weewx[20330]: wmr300x: write counts;
Oct  8 20:41:54 meteo weewx[20330]: wmr300x: Loop data packets in heartbeat 
interval = 0
Oct  8 20:41:54 meteo weewx[20330]: wmr300x: No loop data in heartbeat 
interval,  restarting
Oct  8 20:42:00 meteo weewx[20330]: wmr300x: read counts;
Oct  8 20:42:00 meteo weewx[20330]: wmr300x: write counts;
Oct  8 20:42:18 meteo weewx[20330]: wmr300x: Loop data packets in heartbeat 
interval = 0
Oct  8 20:42:18 meteo weewx[20330]: wmr300x: No loop data in heartbeat 
interval,  restarting
Oct  8 20:42:20 meteo weewx[20330]: wmr300x: read counts;
Oct  8 20:42:20 meteo weewx[20330]: wmr300x: write counts;

And a lot of log lines like these.

pi@meteo:~ $ lsusb
Bus 001 Device 002: ID 0fde:ca08 Oregon Scientific
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@meteo:~ $

Then trying to restart weewx:

Oct  8 21:51:57 meteo weewx[8577]: wmr300x: history limit is 6% at index 
1994
Oct  8 21:51:57 meteo weewx[8577]: wmr300x: using PyUSB backend: libusb1
Oct  8 21:51:57 meteo kernel: [337451.298735] Indeed it is in host mode 
hprt0 = 00021501
Oct  8 21:51:58 meteo kernel: [337451.505449] usb 1-1: reset full-speed USB 
device number 2 using dwc_otg
Oct  8 21:51:58 meteo kernel: [337451.505671] Indeed it is in host mode 
hprt0 = 00021501
Oct  8 21:52:15 meteo weewx[8577]: import of driver failed: Init comm 
failed after 3 tries (<class 'user.wmr300x-v19rc6+f3.ProtocolError'>)
Oct  8 21:52:15 meteo weewx[8577]: engine: Unable to load driver: Init comm 
failed after 3 tries
Oct  8 21:52:15 meteo weewx[8577]:     ****  Exiting...

I have had to reboot the raspberry and after that weewx went up again.

Thank's

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to