You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 24, 2021. It is now read-only.
@@ -36,6 +36,13 @@ Choose for the fitting docker tag and run the server with the following paramete
36
36
The config and the log directory can be empty at the very first start. They will be loaded with a default configuratio, that can be modified afterwards.
37
37
38
38
## Changelog - lastest version
39
+
##### 5.3.0 (2019-01-08)
40
+
* Integration of storage of prevalue in file to reload on startup
41
+
* Correction of drawing analog counter ROIs even if they are disabled
42
+
##### 5.2.0 (2019-01-03)
43
+
* Raspberry Version: Remove autorestart (not working) - instead: use cron job for regular restart to handle tensorflow memory leak [Setting up cron job](https://github.com/jomjol/water-meter-system-complete/blob/raspi-rolling/Raspi-Cron-Job.md)
44
+
##### 5.1.0 (2019-12-28)
45
+
* Raspberry Version: Autorestart on Python Crash of wasserzaehler.py
39
46
##### 5.0.0 (2019-12-28)
40
47
* Separate environmental setup to dedicated Docker images (for Raspberry: raspi-opencv-tensorflow and for Synology (Intel w/o AVX2): synology-opencv-tensorflow)
In the current version of Tensorflow (2.0) is a memory leakage in the function tf.predict(). This causes especially on the Raspberry the docker container to crash after some time.
4
+
A work around for this is a regular restart of the container. The idea is from the user pfried from the iobroker forum - Many thanks to this!
5
+
6
+
## Implementation
7
+
The restart is done using within a cron job. To make this easier it is recommendet to give your docker container a dedicated name at start (```--name wasser```):
8
+
9
+
```docker run -d --name wasser -p 3000:3000 --mount type=bind,source=/PATH_TO_LOCAL_CONFIG, target=/config --mount type=bind,source=/PATH_TO_LOCAL_LOG,target=/log jomjol/wasserzaehler:raspi-latest```
10
+
11
+
After this you can easily restart it with a given frequency using a cron job in the file '''/etc/crontab''':
0 commit comments