-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photo for gas meter drifting away #101
Comments
Hello Peter, reading out the pictures every 5 minutes is in the current setting not a good idea. To reduce the SD-card access, the image is then taken just in time. This takes 5-10 seconds and could interfere with the recognition itself. Although the web access is a frequent source of rebooting - reason is not know yet. If you want to log the images, please use the writing of the files to the SD-card. You can access them via internal fileserver or by reading out the SD-card manually from time to time. The settings for this are:
With this you would keep the last 3 days on the SD-card. Beste regards, |
config.ini is adjusted. Will do a soft reboot and then a hard reboot to be on the safe side. |
log_2021-02-01.txt ... |
Hello Peter, |
Hallo Peter, |
Additional information for those who run into the same problem: How do you determine that your ESP32-CAM is defect? |
My gas meter implementation is quite instable. I wrote a script fetching the photo from the Digitizer every 5 minutes:
The last proper reading propagated via MQTT is 34500.953.
When I turn the device off/on by removing power it starts all over again.
My config.ini:
[MakeImage]
;LogImageLocation = /log/source
;LogfileRetentionInDays = 15
WaitBeforeTakingPicture = 5
ImageQuality = 5
ImageSize = VGA
[Alignment]
InitialRotate = 177
/config/ref0.jpg 40 188
/config/ref1.jpg 432 420
SearchFieldX = 25
SearchFieldY = 25
AlignmentAlgo = Fast
[Digits]
Model = /config/dig0721s1.tflite
;LogImageLocation = /log/digit
;LogfileRetentionInDays = 3
ModelInputSize = 20 32
digit1 45 303 37 67
digit2 106 304 37 67
digit3 170 303 37 66
ROI3 234 303 37 66
ROI4 295 303 37 66
ROI5 358 303 37 66
ROI6 420 303 37 66
ROI7 494 303 37 66
;[Analog]
Model = /config/ana0630s2.tflite
;LogImageLocation = /log/analog
;LogfileRetentionInDays = 3
ModelInputSize = 32 32
analog1 444 225 92 92
analog2 391 329 92 92
analog3 294 369 92 92
analog4 168 326 92 92
ExtendedResolution = false
[PostProcessing]
DecimalShift = -3
PreValueUse = true
PreValueAgeStartup = 720
AllowNegativeRates = false
MaxRateValue = 9
ErrorMessage = true
CheckDigitIncreaseConsistency = true
[MQTT]
Uri = mqtt://192.168.3.10:1883
Topic = gaszaehler/zaehlerstand
TopicError = gaszaehler/error
ClientID = gas
;user = USERNAME
;password = PASSWORD
[AutoTimer]
AutoStart = true
Intervall = 5
[Debug]
Logfile = true
LogfileRetentionInDays = 3
[System]
TimeZone = CET-1CEST
;TimeServer = fritz.box
;Hostname = watermeter
;SetupMode = false
[Ende]
The text was updated successfully, but these errors were encountered: