phifogg / ioBroker.sainlogic

An IoBroker Adapter for Sainlogic based weather stations
MIT License
20 stars 10 forks source link

When restarting, all data points are set to 0 / Bei Neustart werden alle Datenpunkte auf 0 gesetzt #190

Open sansonifabio opened 5 months ago

sansonifabio commented 5 months ago

Describe the bug

Hello, if you restart the adapter or the server, the adapter sets all Data points set to 0. For me, for example, this triggers certain scripts that trigger at 0 degrees. Can't you do it so that the adapter leaves the data points as they were before the restart and then updates them in the next interval?

Hallo @phifogg wenn man den Adapter neu startet, oder auch den Server, setzt der Adapter alle Datenpunkte auf 0. Das löst dann bei mir zum Beispiel, bestimmte Scripte aus die bei 0 Grad triggern.

Kann man es nicht so machen, das der Adapter die Datenpunkte so beläßt wie sie vor dem Neustart waren und dann im nächsten Intervall dann aktualisiert? Ich hole mir die Daten per Zeitplaneinstellung ab.

Herzliche Grüße Fabio

To Reproduce

  1. Restart Adapter or Server

Versions:

phifogg commented 2 weeks ago

Ich schau's mir an.