Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Wasserzähler - Selfmade

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    12
    1
    127

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

Wasserzähler - Selfmade

Scheduled Pinned Locked Moved Hardware
wasser wasserzählerhow-to
1.1k Posts 48 Posters 393.2k Views 72 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J jomjol

    @gerald123 sagte in Wasserzähler - Selfmade:

    @jomjol kann ich die neue Version per OTA auf den ESP flashen?

    Ja, kann du. Aber bitte auch drauf achten, dass auch die Dateien im Verzeichnis /html aktualisiert werden. Dort ist die Ansteuerung für die OTA, ... und dort habe ich auch noch einiges optimiert. Sollte aber in Zukunft weniger werden.

    G Offline
    G Offline
    gerald123
    wrote on last edited by
    #1042

    @jomjol hab das Löschen jetzt übers IPad geschafft, über Microsoft Edge funktioniert es bei mir nicht

    Synology 918+ 4GB; ioBroker auf RPI4; Zigbee; Sonoff

    J 1 Reply Last reply
    0
    • J jomjol

      @watcherkb
      Habe mir den Code gerade angeschaut. Die Fehlermeldung kann auftreten, wenn du zwar die Konsistenzprüfung eingeschaltet hast

      [ConsistencyCheck]
      Enabled=True
      

      aber in der Fehlerrückmeldung keine Errormessage angibst:

      ErrorReturn=OldValue, Readout
      

      Wie sieht denn deine Config.ini dort aus. Falls ErrorReturn so oder so ähnlich aussieht, probier mal:

      ErrorReturn=OldValue, ErrorMessage, Readout
      

      Wenn es das nicht ist, dann schick mir mal bitte dein Config.ini

      Gruß,
      jomjol

      W Offline
      W Offline
      watcherkb
      wrote on last edited by watcherkb
      #1043

      @jomjol
      Danke fürs Forschen. Leider habe ich ganz andere settings. Du hast mich aber auf die richtige Fährte geführt. Mit diesen Settings bekomme ich auf jeden Fall einen Wert:

      [ConsistencyCheck]
      enabled = False
      errorreturn = Readout
      

      Hier die Settings womit ich nichts erhalte:

      [Imagesource]
      timeoutloadimage = 30
      #ip durch die ip des esp32 ersetzen!
      urlimagesource = http://192.168.1.209/capture_with_flashlight?quality=25&size=svga
      logimagelocation = ./log/source_image
      #logonlyfalsepictures=false
      
      [ConsistencyCheck]
      enabled = False
      #stores the last value in a file for the case of a restart (e.g. docker container after update)
      readprevaluefromfileatstartup = True
      #maximum time spanning since last startup for use of prevalue from filestorage in minutes
      readprevaluefromfilemaxage = 30
      allownegativerates = true
      #maximum change of new to old value (+ or -)
      maxratevalue = 0.5
      #return in case of error: value = oldvalue or newvalue
      #                         errormessage = return text with problem (seperated by tabstopp) if nothing, then no error message
      #                         readout = real readout without corrections (newvalue)
      errorreturn = errormessage
      
      [AnalogReadOut]
      #if enabled analog counters will be read, if disabled only digital counters will be read.
      enabled = True
      
      [alignment]
      initial_rotation_angle = 180.0
      
      [alignment.ref0]
      image = ./config/ref0.jpg
      pos_x = 51
      pos_y = 125
      
      [alignment.ref1]
      image = ./config/ref1.jpg
      pos_x = 611
      pos_y = 59
      
      [alignment.ref2]
      image = ./config/ref2.jpg
      pos_x = 362
      pos_y = 398
      
      [Digital_Digit]
      names = ziffer1, ziffer2, ziffer3, ziffer4, ziffer5
      modelfile = ./config/neuralnets/Train_CNN_Digital-Readout_Version_6.1.2.tflite
      logimagelocation = ./log/digital_digit
      #lognames=
      
      [Analog_Counter]
      names = zeiger1, zeiger2, zeiger3, zeiger4
      modelfile = ./config/neuralnets/CNN_Analog-Readout_Version-6.2.0.tflite
      logimagelocation=./log/analog_counter
      #lognames=
      
      [Analog_Counter.zeiger1]
      pos_x = 572
      pos_y = 174
      dx = 158
      dy = 158
      
      [Analog_Counter.zeiger2]
      pos_x = 486
      pos_y = 344
      dx = 155
      dy = 155
      
      [Analog_Counter.zeiger3]
      pos_x = 329
      pos_y = 423
      dx = 156
      dy = 156
      
      [Analog_Counter.zeiger4]
      pos_x = 101
      pos_y = 352
      dx = 168
      dy = 168
      
      [Digital_Digit.ziffer1]
      pos_x = 174
      pos_y = 6
      dx = 48
      dy = 86
      
      [Digital_Digit.ziffer2]
      pos_x = 258
      pos_y = 7
      dx = 49
      dy = 88
      
      [Digital_Digit.ziffer3]
      pos_x = 345
      pos_y = 5
      dx = 50
      dy = 89
      
      [Digital_Digit.ziffer4]
      pos_x = 430
      pos_y = 8
      dx = 48
      dy = 85
      
      [Digital_Digit.ziffer5]
      pos_x = 516
      pos_y = 7
      dx = 46
      dy = 83
      
      
      

      CC2538+CC2592 PA-Zigbee-Funkmodul

      1 Reply Last reply
      0
      • G gerald123

        @jomjol hab das Löschen jetzt übers IPad geschafft, über Microsoft Edge funktioniert es bei mir nicht

        J Offline
        J Offline
        jomjol
        wrote on last edited by
        #1044

        @gerald123 Okay - guter Hinweis. Ich mache alles mit Firefox.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          watcherkb
          wrote on last edited by
          #1045

          könnte jemand bitte die richtigen Parser-Settings posten? Ich bekomme nichts mehr vernünftiges hin. Früher gab es noch vorangestellte Nullen, jetzt sind sie nicht mehr da. Komme nicht mehr drauf wie es richtig einzustellen ist.

          CC2538+CC2592 PA-Zigbee-Funkmodul

          AtifanA 1 Reply Last reply
          0
          • W watcherkb

            könnte jemand bitte die richtigen Parser-Settings posten? Ich bekomme nichts mehr vernünftiges hin. Früher gab es noch vorangestellte Nullen, jetzt sind sie nicht mehr da. Komme nicht mehr drauf wie es richtig einzustellen ist.

            AtifanA Offline
            AtifanA Offline
            Atifan
            wrote on last edited by
            #1046

            @watcherkb
            498089d7-f14e-4bb3-8448-6cca39b401d4-image.png

            RegEx -> [N|0-9][N|0-9][N|0-9][N|0-9][N|0-9]\D\d\d\d\d

            W 1 Reply Last reply
            0
            • AtifanA Atifan

              @watcherkb
              498089d7-f14e-4bb3-8448-6cca39b401d4-image.png

              RegEx -> [N|0-9][N|0-9][N|0-9][N|0-9][N|0-9]\D\d\d\d\d

              W Offline
              W Offline
              watcherkb
              wrote on last edited by
              #1047

              @Atifan sagte in Wasserzähler - Selfmade:

              [N|0-9][N|0-9][N|0-9][N|0-9][N|0-9]\D\d\d\d\d

              Danke. Aber bei mir funktioniert es nicht. Was steht denn bei dir in "Testtext"?

              5607666e-57f6-4ca3-a813-c2448c71287d-image.png

              CC2538+CC2592 PA-Zigbee-Funkmodul

              AtifanA 1 Reply Last reply
              0
              • W watcherkb

                @Atifan sagte in Wasserzähler - Selfmade:

                [N|0-9][N|0-9][N|0-9][N|0-9][N|0-9]\D\d\d\d\d

                Danke. Aber bei mir funktioniert es nicht. Was steht denn bei dir in "Testtext"?

                5607666e-57f6-4ca3-a813-c2448c71287d-image.png

                AtifanA Offline
                AtifanA Offline
                Atifan
                wrote on last edited by Atifan
                #1048

                @watcherkb bei mir steht das Ergebnis drin
                801b3caf-fb14-4328-9955-0b246802bc27-image.png

                J 1 Reply Last reply
                0
                • AtifanA Atifan

                  @watcherkb bei mir steht das Ergebnis drin
                  801b3caf-fb14-4328-9955-0b246802bc27-image.png

                  J Offline
                  J Offline
                  jomjol
                  wrote on last edited by
                  #1049

                  Hallo zusammen,

                  der "all-in-one" ESP32 macht deutliche Fortschritte. Bei mir läuft er jetzt seit einer Woche auch im "Produktiv"-System. Die ersten wirklich nervigen Kinderkrankheiten sind raus (z.B. Bootschleife und dann Ausbau und alles neu). Manchmal bootet er zwar neu, aber da das recht zügig geht und er dann auch den Vorwert verwendet, bekomme ich davon gar nichts mit. Ich habe meinen Docker-Container abgestellt.

                  Heute habe ich auch ein Gehäuse für den ESP32-CAM inkl. SD-Karte in Thingiverse gepostet (https://www.thingiverse.com/thing:4571627). Was noch fehlt ist ein Adapter auf den Turm im Wasserzähler. Einen Prototypen habe ich schon fertig - noch etwas Feinschliff und dann poste ich den auch.

                  Beste Grüße,
                  jomjol

                  W 1 Reply Last reply
                  0
                  • J jomjol

                    Hallo zusammen,

                    der "all-in-one" ESP32 macht deutliche Fortschritte. Bei mir läuft er jetzt seit einer Woche auch im "Produktiv"-System. Die ersten wirklich nervigen Kinderkrankheiten sind raus (z.B. Bootschleife und dann Ausbau und alles neu). Manchmal bootet er zwar neu, aber da das recht zügig geht und er dann auch den Vorwert verwendet, bekomme ich davon gar nichts mit. Ich habe meinen Docker-Container abgestellt.

                    Heute habe ich auch ein Gehäuse für den ESP32-CAM inkl. SD-Karte in Thingiverse gepostet (https://www.thingiverse.com/thing:4571627). Was noch fehlt ist ein Adapter auf den Turm im Wasserzähler. Einen Prototypen habe ich schon fertig - noch etwas Feinschliff und dann poste ich den auch.

                    Beste Grüße,
                    jomjol

                    W Offline
                    W Offline
                    watcherkb
                    wrote on last edited by
                    #1050

                    @jomjol sehr schön. Mich nervt die Docker-Lösung auch etwas weil ich sonst keinen Bedarf für Docker habe und nur deswegen einen ausgemusterten Rechner laufen habe. Wenn ich mehr Zeit habe werde ich auch auf die neue Lösung gehen.

                    CC2538+CC2592 PA-Zigbee-Funkmodul

                    pfriedP 1 Reply Last reply
                    0
                    • W watcherkb

                      @jomjol sehr schön. Mich nervt die Docker-Lösung auch etwas weil ich sonst keinen Bedarf für Docker habe und nur deswegen einen ausgemusterten Rechner laufen habe. Wenn ich mehr Zeit habe werde ich auch auf die neue Lösung gehen.

                      pfriedP Offline
                      pfriedP Offline
                      pfried
                      wrote on last edited by
                      #1051

                      @jomjol Super, freue mich schon auf die Erweiterung des Projektes! :+1:
                      Habe leider keinen 3D Drucker, wäre jemand bereit gegen Cash mir ein Gehäuse (nach Fertigstellung von jomjol auszudrucken? :blush:

                      Mein bisheriger Aufbau:
                      Waaseruhr 2020.08.17.jpg

                      1 Reply Last reply
                      0
                      • J jomjol

                        Hi @ramon2krpi3,

                        you run into a bug in the code. Disabling the "Analog Readout" did not work in this version due to an unknown bug. Seems you are the first one, who really used this feature.
                        I just corrected it and the Docker-Container is under construction. Should take another hour, than it should work.
                        Thanks for you support in the detailed error description, made my debugging much easier.

                        Best regards,
                        jomjol

                        R Offline
                        R Offline
                        ramon2krpi3
                        wrote on last edited by
                        #1052

                        Hi @jomjol I have had the service working more or less correctly for about 4 days, obtaining a sample every 30 min.

                        For a couple of days, when launching the request:

                        http://192.168.1.234:4002/wasserzaehler.html?single

                        , it is very frequent to get the error:

                        Error - Problem during HTTP-request - URL: http://192.168.1.213/capture_with_flashlight?quality=10&size=SVGA

                        It is very frustrating not knowing what to do or why this error appears. I restart the ESPCAM but in one or two cycles the error appears again

                        Could you give me a hint? How to avoid this error?

                        BR

                        J 1 Reply Last reply
                        0
                        • R ramon2krpi3

                          Hi @jomjol I have had the service working more or less correctly for about 4 days, obtaining a sample every 30 min.

                          For a couple of days, when launching the request:

                          http://192.168.1.234:4002/wasserzaehler.html?single

                          , it is very frequent to get the error:

                          Error - Problem during HTTP-request - URL: http://192.168.1.213/capture_with_flashlight?quality=10&size=SVGA

                          It is very frustrating not knowing what to do or why this error appears. I restart the ESPCAM but in one or two cycles the error appears again

                          Could you give me a hint? How to avoid this error?

                          BR

                          J Offline
                          J Offline
                          jomjol
                          wrote on last edited by
                          #1053

                          @ramon2krpi3 If you did not change anything on the settings, you might have a problem with the Wifi of the ESP32-CAM.

                          1. Did you fix the ip-adress of the ESP32?
                          2. Is the ESP32 blinking in the error case? This indicates a lost WLAN connection.

                          The URL seems to be okay on first view.

                          J R 2 Replies Last reply
                          0
                          • J jomjol

                            @ramon2krpi3 If you did not change anything on the settings, you might have a problem with the Wifi of the ESP32-CAM.

                            1. Did you fix the ip-adress of the ESP32?
                            2. Is the ESP32 blinking in the error case? This indicates a lost WLAN connection.

                            The URL seems to be okay on first view.

                            J Offline
                            J Offline
                            jomjol
                            wrote on last edited by
                            #1054

                            Hallo zusammen,

                            ich habe jetzt auch die neue Version des Adapters in Thingiverse gepostet: https://www.thingiverse.com/thing:4573481

                            In der neusten Firmware Version kann man jetzt auch die config.ini mittels eines integrierten Texteditors direkt bearbeiten. Also kein Up/Download mehr und einfache Korrekturen sind direktk "on-the-fly" möglich. Dafür nutze ich in der "AI-on-the-edge"-Version den integrierten Web-Server.
                            Vielleicht lassen sich sogar einfache graphische Konfigurationen wie z.B. das finden der Referenzen in Zukunft per Weboberfläche realisieren - ich schau mal was geht :-)
                            LG,
                            jomjol

                            1 Reply Last reply
                            1
                            • B Offline
                              B Offline
                              B3ta
                              wrote on last edited by
                              #1055

                              Also irgendwie blicke ich echt durch die Tausend verschiedenen Anleitungen in englisch nicht durch.

                              Gibt es hier irgendwo eine richtige schritt für schritt Anleitung in Deutsch ?

                              J 1 Reply Last reply
                              0
                              • B B3ta

                                Also irgendwie blicke ich echt durch die Tausend verschiedenen Anleitungen in englisch nicht durch.

                                Gibt es hier irgendwo eine richtige schritt für schritt Anleitung in Deutsch ?

                                J Offline
                                J Offline
                                jomjol
                                wrote on last edited by
                                #1056

                                @B3ta Leider noch nicht - suche noch nach unterstützern.
                                Aber noch etwas Geduld - ich arbeite an einer neuen Version, bei der es keinen Docker mehr braucht und alles auf dem ESP32 läuft. Dort wird es dann auch eine html-Seite für die Konfiguation geben. Das macht die Nutzung deutlich einfacher.

                                pfriedP 1 Reply Last reply
                                0
                                • J jomjol

                                  @B3ta Leider noch nicht - suche noch nach unterstützern.
                                  Aber noch etwas Geduld - ich arbeite an einer neuen Version, bei der es keinen Docker mehr braucht und alles auf dem ESP32 läuft. Dort wird es dann auch eine html-Seite für die Konfiguation geben. Das macht die Nutzung deutlich einfacher.

                                  pfriedP Offline
                                  pfriedP Offline
                                  pfried
                                  wrote on last edited by
                                  #1057

                                  @jomjol Hallo, Du suchst Unterstützer für?

                                  sissiwupS J 2 Replies Last reply
                                  0
                                  • pfriedP pfried

                                    @jomjol Hallo, Du suchst Unterstützer für?

                                    sissiwupS Offline
                                    sissiwupS Offline
                                    sissiwup
                                    wrote on last edited by
                                    #1058

                                    Hallo,

                                    was bei mir häufiger vorkommt:

                                    Wenn das Bild nicht auswertbar ist dann werden die Stellen vorm Komma korrekt aus den gesicherten Werten genommen.
                                    Nach dem Komma nimmt er aber 7777.
                                    Wenn ich also einen Zählerstand 123.7777 sehe, dann weiss ich, da ist was faul.
                                    Ist die 7777 irgendwo als default hinterlegt?

                                    MfG

                                    Sissi

                                    –-----------------------------------------

                                    1 CCU3 1 CCU2-Gateway 1 LanGateway 1 Pi-Gateway 1 I7 für ioBroker/MySQL


                                    1 Reply Last reply
                                    0
                                    • J jomjol

                                      @ramon2krpi3 If you did not change anything on the settings, you might have a problem with the Wifi of the ESP32-CAM.

                                      1. Did you fix the ip-adress of the ESP32?
                                      2. Is the ESP32 blinking in the error case? This indicates a lost WLAN connection.

                                      The URL seems to be okay on first view.

                                      R Offline
                                      R Offline
                                      ramon2krpi3
                                      wrote on last edited by
                                      #1059

                                      4757a96c-a4d3-44c0-bd0c-2febd6a339f3-image.png
                                      Hi @jomjol, having solved the WiFi problem, it seems that the system has already been working stable for a week.
                                      Now I would like to refine the recognition of some digits that the system cannot detect correctly. I have seen that in other cases you have asked for a sample of images of the digits to be able to train the system. I have created a .zip with all digits (arranged in folders) that the system has not recognized and that are stored in the /home/pi/water-meter/code/app/log/digital_digit/10 folder. It basically happens with the digits in Red.

                                      I hope this information is useful you to be able to carry out the training of the system.
                                      I would be very grateful if you could get it.

                                      Thank you very much

                                      Numbers.zip

                                      J 1 Reply Last reply
                                      0
                                      • R ramon2krpi3

                                        4757a96c-a4d3-44c0-bd0c-2febd6a339f3-image.png
                                        Hi @jomjol, having solved the WiFi problem, it seems that the system has already been working stable for a week.
                                        Now I would like to refine the recognition of some digits that the system cannot detect correctly. I have seen that in other cases you have asked for a sample of images of the digits to be able to train the system. I have created a .zip with all digits (arranged in folders) that the system has not recognized and that are stored in the /home/pi/water-meter/code/app/log/digital_digit/10 folder. It basically happens with the digits in Red.

                                        I hope this information is useful you to be able to carry out the training of the system.
                                        I would be very grateful if you could get it.

                                        Thank you very much

                                        Numbers.zip

                                        J Offline
                                        J Offline
                                        jomjol
                                        wrote on last edited by
                                        #1060

                                        Hi @ramon2krpi3,

                                        I will have a look into the numbers and incorporate them in the next training version. At the moment I am on vacation, with limited access to my development environment, so please be a bit patient.
                                        Best regards,
                                        jomjol

                                        R 1 Reply Last reply
                                        0
                                        • pfriedP pfried

                                          @jomjol Hallo, Du suchst Unterstützer für?

                                          J Offline
                                          J Offline
                                          jomjol
                                          wrote on last edited by
                                          #1061

                                          @pfried sagte in Wasserzähler - Selfmade:

                                          @jomjol Hallo, Du suchst Unterstützer für?

                                          Die Qualität der Doku könnte man deutlich verbesseren, dazu komme ich nicht wirklich. Hast du ein Händchen für so etwas?

                                          pfriedP 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          586

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe