Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Wasserzähler - Selfmade

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wasserzähler - Selfmade

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jomjol @gerald123 last edited by

      @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 2 Replies Last reply Reply Quote 0
      • G
        gerald123 @jomjol last edited by

        @jomjol hab jetzt den ESP neu aufgesetzt mit der neuesten Software.
        Leider kann ich die config.ini immer noch nicht löschen über den Browser, ich muss noch immer den ESP ausbauen und direkt die Speicherkarte Bespielen

        1 Reply Last reply Reply Quote 0
        • G
          gerald123 @jomjol last edited by

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

          J 1 Reply Last reply Reply Quote 0
          • W
            watcherkb @jomjol last edited by watcherkb

            @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
            
            
            
            1 Reply Last reply Reply Quote 0
            • J
              jomjol @gerald123 last edited by

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

              1 Reply Last reply Reply Quote 0
              • W
                watcherkb last edited by

                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.

                Atifan 1 Reply Last reply Reply Quote 0
                • Atifan
                  Atifan @watcherkb last edited by

                  @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 Reply Quote 0
                  • W
                    watcherkb @Atifan last edited by

                    @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

                    Atifan 1 Reply Last reply Reply Quote 0
                    • Atifan
                      Atifan @watcherkb last edited by Atifan

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

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jomjol @Atifan last edited by

                        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 Reply Quote 0
                        • W
                          watcherkb @jomjol last edited by

                          @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.

                          pfried 1 Reply Last reply Reply Quote 0
                          • pfried
                            pfried @watcherkb last edited by

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

                            Mein bisheriger Aufbau:
                            Waaseruhr 2020.08.17.jpg

                            1 Reply Last reply Reply Quote 0
                            • R
                              ramon2krpi3 @jomjol last edited by

                              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 Reply Quote 0
                              • J
                                jomjol @ramon2krpi3 last edited by

                                @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 Reply Quote 0
                                • J
                                  jomjol @jomjol last edited by

                                  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 Reply Quote 1
                                  • B
                                    B3ta last edited by

                                    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 Reply Quote 0
                                    • J
                                      jomjol @B3ta last edited by

                                      @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.

                                      pfried 1 Reply Last reply Reply Quote 0
                                      • pfried
                                        pfried @jomjol last edited by

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

                                        sissiwup J 2 Replies Last reply Reply Quote 0
                                        • sissiwup
                                          sissiwup @pfried last edited by

                                          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?

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            ramon2krpi3 @jomjol last edited by

                                            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 Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            831
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            how-to wasser wasserzähler
                                            48
                                            1089
                                            316196
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo