@Ghost hast Du schon eine Ursache gefunden?
Bei mir steigt die Api auch irgendwann aus, laut Mqtt-Explorer kommen aber weiter die Daten an.
Allerdings schreibt bei mir die aktuellste Cassandra-Version immer wieder einen Fehler in der Console. Starte ich Cassandra neu ist der Mäher sofort wieder verbunden. Allerdings habe ich z.B. keine Anzeige der Batteriestatistic in Cassandra über Mqtt, was über http aber geht.
File "/home/wally/.local/lib/python3.10/site-packages/dash/_callback.py", line 442, in add_context
output_value = func(*func_args, **func_kwargs) # %% callback invoked %%
File "/home/wally/ardumower/CaSSAndRA/CaSSAndRA/src/components/state/charts.py", line 250, in update_charts
timerange_delta = timerange_state[1]-timerange_state[0]
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
2025-05-31 07:38:55 ERROR Exception on /_dash-update-component [POST]
Traceback (most recent call last):
File "/home/wally/.local/lib/python3.10/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/home/wally/.local/lib/python3.10/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/wally/.local/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/home/wally/.local/lib/python3.10/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/home/wally/.local/lib/python3.10/site-packages/dash/dash.py", line 1310, in dispatch
ctx.run(
File "/home/wally/.local/lib/python3.10/site-packages/dash/_callback.py", line 442, in add_context
output_value = func(*func_args, **func_kwargs) # %% callback invoked %%
File "/home/wally/ardumower/CaSSAndRA/CaSSAndRA/src/components/state/charts.py", line 250, in update_charts
timerange_delta = timerange_state[1]-timerange_state[0]
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'