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 Diese Fehlermeldung kenne ich gar nicht. Bist du sicher, dass du die neueste Firmware verwendet?

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

        @jomjol wie kann ich das prüfen?

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

          @gerald123 Versionierung fehlt noch. Die neueste Version ist von gesten Abend.

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

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

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

              @watcherkb sagte in Wasserzähler - Selfmade:

              @jomjol
              Hi, ich habe seit heute das Problem dass der Server mir beim Aufruf über http://192.168.1.36:3000/wasserzaehler.html nichts liefert. Die Seite bleibt leer. Der Parser-Adapter meckert auch:

              Cannot read link "http://192.168.1.36:3000/wasserzaehler.html": {"statusCode":200,"body":"","headers":{"server":"BaseHTTP/0.6 Python/3.7.4","date":"Tue, 30 Jun 2020 12:10:00 GMT","content-type"
              

              Der Aufruf http://192.168.1.36:3000/wasserzaehler.html&full funktioniert, hat aber die 6 falsch erkannt (letztes tf-file)

              2020-06-30_1504.png

              Server und ESP sind bereits neu gestartet. Eine Idee was es sein kann?

              @jomjol das Problem besteht bei mir weiterhin. In der ersten Reihe werden keine Werte angezeigt, deswegen auch keine Parserauswertung möglich. Konntest du schon gucken woran es liegen kann?

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

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            451
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            how-to wasser wasserzähler
                                            48
                                            1089
                                            316915
                                            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