I made yesterday a copy of my weewx.sdb. I just pushed the copy on my raspi and now everything is solved!
I am happy - eventhough I do not know what happened ... On Saturday, August 31, 2024 at 4:43:33 PM UTC+2 Stefan Gliessmann wrote: > Hello - > > for some moments today, the upgraded weewx system worked just fine. > > Unfortunately, not for long time ... > > The MQTT driver from https://github.com/matthewwall/weewx-mqtt exits with > this message > > Aug 31 16:38:40 rvwx weewxd[2937]: DEBUG weewx.manager: Daily summary > version is 4.0 > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: MQTT: Unexpected > exception of type <class 'ValueError'>* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** Traceback > (most recent call last):* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** File > "/usr/share/weewx/weewx/restx.py", line 384, in run_loop* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** > self.process_record(_record, dbmanager)* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** File > "/etc/weewx/bin/user/mqtt.py", line 513, in process_record* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** record = > self.get_record(record, dbm)* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** File > "/usr/share/weewx/weewx/restx.py", line 317, in get_record* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** raise > ValueError(* > > Aug 31 16:38:40 rvwx weewxd[2937]: *ERROR weewx.restx: *** ValueError: > Inconsistent units (1 vs 1 vs 16) when querying for rain24* > > Aug 31 16:38:40 rvwx weewxd[2937]: *CRITICAL weewx.restx: MQTT: Thread > terminating. Reason: Inconsistent units (1 vs 1 vs 16) when querying for > rain24* > > Aug 31 16:38:40 rvwx weewxd[2937]: Exception in thread MQTT: > > Aug 31 16:38:40 rvwx weewxd[2937]: Traceback (most recent call last): > > Aug 31 16:38:40 rvwx weewxd[2937]: File > "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner > > Aug 31 16:38:40 rvwx weewxd[2937]: self.run() > > Aug 31 16:38:40 rvwx weewxd[2937]: File > "/usr/share/weewx/weewx/restx.py", line 357, in run > > Aug 31 16:38:40 rvwx weewxd[2937]: self.run_loop(_manager) > > Aug 31 16:38:40 rvwx weewxd[2937]: File > "/usr/share/weewx/weewx/restx.py", line 384, in run_loop > > Aug 31 16:38:40 rvwx weewxd[2937]: self.process_record(_record, > dbmanager) > > Aug 31 16:38:40 rvwx weewxd[2937]: File "/etc/weewx/bin/user/mqtt.py", > line 513, in process_record > > Aug 31 16:38:40 rvwx weewxd[2937]: record = self.get_record(record, > dbm) > > Aug 31 16:38:40 rvwx weewxd[2937]: > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Aug 31 16:38:40 rvwx weewxd[2937]: File > "/usr/share/weewx/weewx/restx.py", line 317, in get_record > > Aug 31 16:38:40 rvwx weewxd[2937]: raise ValueError( > > Aug 31 16:38:40 rvwx weewxd[2937]: ValueError: Inconsistent units (1 vs 1 > vs 16) when querying for rain24 > > Any recommendations on how to fix would be highly appreciated! > Cheers! > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1bd1e2c0-2d12-4d21-a65c-8f26b3d60848n%40googlegroups.com.