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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/62b368f6-ace0-4b50-a8f0-9fa144b201fdn%40googlegroups.com.

Reply via email to