I am trying it now. I will tell result in some hours.
Mar 17 13:51:31 MeteoElche weewx[9026]: wmr300: content: d2 80 00 3f ee ee ee 00 0a 00 e9 00 00 7f ff 7f ff 7f ff 7f ff 7f ff 7f ff 7f ff 20 04 7f 7f 7f 7f 7f 7f 7f 00 08 7f ff 7f ff 7f ff 7f ff 7f ff 7f ff 7f ff 7f fd 7f ff 7f ff 7f ff 7f ff 7f ff 7f ff 7f ff 7f fd 7f ff 00 15 00 02 00 02 00 14 00 00 00 00 00 00 02 00 11 03 09 0f 01 00 00 27 e1 01 7f ff 7f ff 7f ff 7f ff 7f 7f 7f 7f 7f 7f 7f 7f ff 7f ff 7f ff 00 00 00 00 00 00 00 0f 01 Mar 17 13:52:20 MeteoElche weewx[9026]: wmr300: get history complete: count=0 last_index=15584 history_end_index=15585 Mar 17 13:52:20 MeteoElche weewx[9026]: engine: Starting main packet loop. Mar 17 13:52:21 MeteoElche weewx[9026]: wmr300: dump history Mar 17 13:52:21 MeteoElche weewx[9026]: wmr300: reading records since 2018-03-17 13:52:21 CET (1521291141) (last_index=15584 history_end_index=15585) Mar 17 13:52:21 MeteoElche weewx[9026]: wmr300: get history complete: count=0 last_index=15584 history_end_index=15585 El sábado, 17 de marzo de 2018, 1:18:02 (UTC+1), Cameron D escribió: > > Following up on my last post, I decided to bump the failure rate and ran > raid-check every day. > This revealed gaps up to 2 minutes between heartbeats, which confirmed the > diagnosis, so I have added the code to send a restart and it seems to be > keeping it alive. > > I have attached what I hope is a working version, with various diagnostic > log outputs. > > Ruben, it would be good if you could try this out. I don't think your > problems relate to the actual history reset code, but if you could leave > the history_limit value at 5 or 6% then it helps confirm that that code is > OK. In fact, I can't think of a good reason to have it much higher than > that. > > Cameron. > -- 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.