Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

Commit aedd3ab

Browse files
authored
Merge pull request #31 from jomjol/rolling
Rolling
2 parents 4be17c0 + 7597b59 commit aedd3ab

36 files changed

+144
-18
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,20 @@ Choose for the fitting docker tag and run the server with the following paramete
3636
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.
3737

3838
## Changelog - lastest version
39-
##### 5.3.0 (2019-01-08)
39+
##### 5.5.2 (2020-02-23)
40+
* Modification of Errortext in case RateToHigh, NegativeRate (Blank after "Error", e.g. "ErrorRateToHigh" --> "Error - RateToHigh")
41+
* Change MaxRateValue from 0.1 to 0.2 in Default Config.ini
42+
##### 5.5.1 (2020-02-15)
43+
* Update CNN-Digital to v5.0.0 (improved training data from iobroker users)
44+
* Update CNN-Analog to v5.0.0 (improved training data from iobroker users)
45+
##### 5.5.0 (2020-02-12)
46+
* Update CNN-Digital to v4.2.0 (improved training data from iobroker users)
47+
##### 5.4.9 (2020-01-27)
48+
* Extensdion to json output: ../wasserzaehler.json
49+
##### 5.3.0 (2020-01-08)
4050
* Integration of storage of prevalue in file to reload on startup
4151
* Correction of drawing analog counter ROIs even if they are disabled
42-
##### 5.2.0 (2019-01-03)
52+
##### 5.2.0 (2020-01-03)
4353
* 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)
4454
##### 5.1.0 (2019-12-28)
4555
* Raspberry Version: Autorestart on Python Crash of wasserzaehler.py

code/.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python: Aktuelle Datei",
9+
"type": "python",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/wasseruhr.py",
12+
"console": "integratedTerminal"
13+
}
14+
]
15+
}

code/Dockerfile_raspi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ RUN [ "cross-build-start" ]
44

55
WORKDIR /
66

7+
RUN wget -qO- https://getpm2.com/install.sh | bash
8+
79
COPY . ./
810
RUN pip3 install --no-cache-dir -r requirements_raspi.txt
911

code/config/config.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ReadPreValueFromFileMaxAge=30
1616

1717
AllowNegativeRates=False
1818
#Maximum Change of new to old value (+ or -)
19-
MaxRateValue=0.1
19+
MaxRateValue=0.2
2020
#Return in Case of Error: Value = OldValue or NewValue
2121
# ErrorMessage = Return Text with problem (seperated by Tabstopp) if nothing, then no error message
2222
# Readout = Real Readout without corrections (NewValue)
@@ -49,13 +49,13 @@ pos_y=386
4949

5050
[Digital_Digit]
5151
names=ziffer1, ziffer2, ziffer3, ziffer4, ziffer5
52-
Modelfile=./config/neuralnets/Train_CNN_Digital-Readout_Version_4.1.0.h5
52+
Modelfile=./config/neuralnets/Train_CNN_Digital-Readout_Version_5.0.0.h5
5353
#LogImageLocation=./log/digital_digit
5454
#LogNames=zeiger3, zeiger4
5555

5656
[Analog_Counter]
5757
names=zeiger1, zeiger2, zeiger3, zeiger4
58-
Modelfile=./config/neuralnets/CNN_Analog-Readout_Version-4.0.1.h5
58+
Modelfile=./config/neuralnets/CNN_Analog-Readout_Version-5.0.0.h5
5959
#LogImageLocation=./log/analog_counter
6060
#LogNames=zeiger3, zeiger4
6161

981 KB
Binary file not shown.
-3.78 MB
Binary file not shown.
Binary file not shown.

code/config/prevalue.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[PreValue]
2-
time = 2000-01-01_00-00-00
3-
LastVorkomma = 00000
4-
LastNachkomma = 0000
2+
time = 2020-01-26_18-43-18
3+
lastvorkomma = 00490
4+
lastnachkomma = 5325
5+

code/config_default/config.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ReadPreValueFromFileMaxAge=30
1515
AllowNegativeRates=False
1616
#Stores the last Value in a file for the case of a restart (e.g. Docker container after update)
1717
#Maximum Change of new to old value (+ or -)
18-
MaxRateValue=0.1
18+
MaxRateValue=0.2
1919
#Return in Case of Error: Value = OldValue or NewValue
2020
# ErrorMessage = Return Text with problem (seperated by Tabstopp) if nothing, then no error message
2121
# Readout = Real Readout without corrections (NewValue)
@@ -48,13 +48,13 @@ pos_y=386
4848

4949
[Digital_Digit]
5050
names=ziffer1, ziffer2, ziffer3, ziffer4, ziffer5
51-
Modelfile=./config/neuralnets/Train_CNN_Digital-Readout_Version_4.1.0.h5
51+
Modelfile=./config/neuralnets/Train_CNN_Digital-Readout_Version_5.0.0.h5
5252
#LogImageLocation=./log/digital_digit
5353
#LogNames=zeiger3, zeiger4
5454

5555
[Analog_Counter]
5656
names=zeiger1, zeiger2, zeiger3, zeiger4
57-
Modelfile=./config/neuralnets/CNN_Analog-Readout_Version-4.0.1.h5
57+
Modelfile=./config/neuralnets/CNN_Analog-Readout_Version-5.0.0.h5
5858
#LogImageLocation=./log/analog_counter
5959
#LogNames=zeiger3, zeiger4
6060

Binary file not shown.

0 commit comments

Comments
 (0)