Navigation

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

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Wasserzähler - Version 2 - all-in-device

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

      @Hc-Yami sagte in Wasserzähler - Version 2 - all-in-device:

      Hey Leute, irgendwie bin ich zu dämlich den ESP32 zu flashen:

      Ich schließe den ESP32 im Downloadmodus an und klicke auf "Start" ohne die Häckchen in den drei Dateien:

      [2020-11-29 12:23:58,776][EspDownloadPanel_ESP32_spi][downloadSubPanelTool.py][line:266][INFO]: EFUSE_MODE: 1
      [2020-11-29 12:23:58,776][EspDownloadPanel_ESP32_spi][downloadSubPanelTool.py][line:267][INFO]: EFUSE_ERR_HALT: 1
      [2020-11-29 12:23:58,996][EspDownloadPanel_ESP32_spi(1)][Panel_MacAddr.py][line:97][INFO]: init finished
      [2020-11-29 12:23:59,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:654][INFO]: ================
      [2020-11-29 12:23:59,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:655][INFO]: LOAD PATH CONF:
      [2020-11-29 12:23:59,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:656][INFO]: spi_1
      [2020-11-29 12:23:59,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:657][INFO]: ================
      [2020-11-29 12:23:59,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:376][INFO]: test baudrate: 921600
      [2020-11-29 12:23:59,226][EspDownloadPanel_ESP32_hspi][downloadSubPanelTool.py][line:266][INFO]: EFUSE_MODE: 1
      [2020-11-29 12:23:59,226][EspDownloadPanel_ESP32_hspi][downloadSubPanelTool.py][line:267][INFO]: EFUSE_ERR_HALT: 1
      [2020-11-29 12:23:59,436][EspDownloadPanel_ESP32_hspi(1)][Panel_MacAddr.py][line:97][INFO]: init finished
      [2020-11-29 12:23:59,466][EspDownloadPanel_ESP32_hspi(1)][download_panel_info.py][line:654][INFO]: ================
      [2020-11-29 12:23:59,466][EspDownloadPanel_ESP32_hspi(1)][download_panel_info.py][line:655][INFO]: LOAD PATH CONF:
      [2020-11-29 12:23:59,466][EspDownloadPanel_ESP32_hspi(1)][download_panel_info.py][line:656][INFO]: hspi_1
      [2020-11-29 12:23:59,466][EspDownloadPanel_ESP32_hspi(1)][download_panel_info.py][line:657][INFO]: ================
      [2020-11-29 12:23:59,470][EspDownloadPanel_ESP32_hspi(1)][download_panel_info.py][line:376][INFO]: test baudrate: 115200
      [2020-11-29 12:23:59,486][EspDownloadFrame][EspDownloadFrame.py][line:107][INFO]: get selection: 0
      [2020-11-29 12:23:59,486][EspDownloadFrame][EspDownloadFrame.py][line:109][INFO]: notebook select 0
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:400][INFO]: ************
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:401][INFO]: check_res: (True, [])
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:402][INFO]: is running : False
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:403][INFO]: ************
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/IDLE_S.bmp
      [2020-11-29 12:24:04,506][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
      [2020-11-29 12:24:04,526][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:434][INFO]: TEST!!!!
      [2020-11-29 12:24:04,526][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:435][INFO]: SELF.COMSTR: COM6
      [2020-11-29 12:24:04,526][EspDownloadThread][download_panel_info.py][line:788][INFO]: test running: False
      ======
      CONNECT BAUD: 115200
      ============
      [2020-11-29 12:24:04,756][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
      [2020-11-29 12:24:04,756][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/SYNC_S.bmp
      [2020-11-29 12:24:04,756][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
      .[2020-11-29 12:24:05,165][ESP8266Loader_spi[1]][espDownloader.py][line:1538][INFO]: Disabling the rom console...
      Efuse CONSOLE_DEBUG_DISABLE is already burned.
      Uploading stub...
      Running stub...
      Stub running...
      Changing baud rate to 921600
      Changed.
      [2020-11-29 12:24:06,075][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
      [2020-11-29 12:24:06,075][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/DOWNLOAD_S.bmp
      [2020-11-29 12:24:06,075][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
      
       is stub and send flash finish
      [2020-11-29 12:24:08,196][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
      [2020-11-29 12:24:08,196][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/FINISH_S.bmp
      [2020-11-29 12:24:08,196][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
      

      c0fe9ee0-50c2-4304-8c6e-5765b94a2638-grafik.png

      Wähle ich dann die drei Kästchen an und klicke erneut auf Start:

      is stub and send flash finish
      [2020-11-29 12:24:08,196][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
      [2020-11-29 12:24:08,196][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/FINISH_S.bmp
      [2020-11-29 12:24:08,196][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
      test offset :  4096 0x1000
      case ok
      test offset :  32768 0x8000
      case ok
      test offset :  65536 0x10000
      case ok
      test offset :  4096 0x1000
      case ok
      test offset :  32768 0x8000
      case ok
      test offset :  65536 0x10000
      case ok
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:400][INFO]: ************
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:401][INFO]: check_res: (True, [[u'C:\\Users\\Schmidt-Ren\\Desktop\\Wasserz\xe4hler\\AI-on-the-edge-device-master\\firmware\\bootloader.bin', 4096], [u'C:\\Users\\Schmidt-Ren\\Desktop\\Wasserz\xe4hler\\AI-on-the-edge-device-master\\firmware\\partitions.bin', 32768], [u'C:\\Users\\Schmidt-Ren\\Desktop\\Wasserz\xe4hler\\AI-on-the-edge-device-master\\firmware\\firmware.bin', 65536]])
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:402][INFO]: is running : False
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:403][INFO]: ************
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/IDLE_S.bmp
      [2020-11-29 12:25:32,026][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
      Traceback (most recent call last):
        File "download_panel_info.py", line 448, in OnButton_StartButton
        File "download_panel_info.py", line 421, in start_func
        File "download_panel_info.py", line 703, in flash_config
      UnicodeDecodeError: 'gb2312' codec can't decode bytes in position 36-37: illegal multibyte sequence
      

      1abaa93f-9e85-4838-9a32-830d983544b8-grafik.png

      Habe jetzt schon alles probiert und komme echt nicht weiter. Was mache ich falsch?

      Danke für eure Hilfe!

      Hi, bei mir geht das Windows Tool auch nicht mehr (ging schonmal!). Ich kann da aber den Python Upload empfehlen. Hier auch beschrieben:https://github.com/jomjol/AI-on-the-edge-device/wiki/Installation
      Geht immer und ohne Probleme - verwende eine Ananconda Umgebung in Windows.

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

        Hallo zusammen,
        ich möchte den Zeitversatz beseitigen. Das ist technisch auch kein Problem, inkl. automatischer Sommerzeit.
        ABER: ich brauche dazu im Timezone-String auch ein Komma "," enthält CET-1CEST,M3.5.0,M10.5.0/3
        Das Komma ist aber bisher auch ein zulässiger Separator für Parameter. D.h. die Config.ini wäre nicht mehr abwärtskompatibel, bzw. müsste einmalig konvertiert werden.

        Eure Meinung?

        W MichMein 2 Replies Last reply Reply Quote 2
        • J
          Jezinka @MichMein last edited by Jezinka

          @MichMein Danke, schon.
          @jomjol Ich kann für mich selbst schreiben, dass ich rechtzeitig für diese Anpassung sein würde. Ich glaube, dass viele auch upgraden werden, also würden sie die Konfiguration reparieren. Sie werden sicherlich die Vorteile der Zeitsynchronisation mit db kennen. Aber das ist nur meine Meinung.

          Jirka

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

            @jomjol was sein muss, muss sein. Kannst auch gleich die Variablen "True/False" auf Kleinbuchstaben anpassen. Da hatte ich auch mal mit zu kämpfen gehabt in einer uralten Version.

            @MichMein mein Gaszähler ist auch fast fertig, musste eigenes Gehäuse konstruieren. Ist heute Nacht fertig aus dem Drucker gekommen. Mal schauen wie es passt 🙂

            MichMein 1 Reply Last reply Reply Quote 0
            • MichMein
              MichMein last edited by

              @Mikewolf, das Programm ist "Autodesk Fusion 360" in der privaten Version.

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

                Hi @watcherkb, da bin ich gespannt wie das bei Aussieht. Was hast Du für einen Gaszähler?

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

                  @jomjol hi, mach so wie es sein „muss“! Ich denke nicht das man mal ein downgrade machen müsste 🤔

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

                    Hallo, ich werde ein wenig abseits des Themas fragen. Dank dieser einzigartigen Verbrauchsmessung, für die ich Ihnen danke, erfahre ich jetzt, wie hoch unser täglicher Verbrauch ist. Wir bewegen uns ungefähr 350l / Tag und wir sind zwei Erwachsene und 4 kleine Kinder. Ist es in Ordnung oder ist es zu viel? Also versuche ich viel zu sparen, aber es ist nicht so, als wäre ich alleine 🙂 Was ist dein Verbrauch?

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

                      @Jezinka Guten Abend, wir verbrauchen zu Dritt im Durchschnitt 320 Liter Wasser am Tag, so ... no worries ... der EU Durschnitt ist 180 Liter pro person pro Tag ...

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

                        @MichMein Nur mal so ne Frage, passt mein Gaszähler (Abmessung weiter oben) auf Deine Konstruktion und in Ermangelung eines eigenen 3D Druckers (ja es gibt sie noch die ohne 3D Drucker) kann ich bei Dir gegen Bares einen Ausdruck bestellen (Bitte!) Liebe Grüße Paul

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

                          @pfried Danke für die Antwort. Du hast mich also beruhigt 🙂 Ansonsten habe ich auch keinen 3D-Drucker und habe ihn vorübergehend am Wasserzähler mit einem Pappröhrchen gelöst, in dem neue Jalousien per Post zu uns kamen. Überraschenderweise saß sie fast genau. Ich möchte aber auf jeden Fall auch, dass jemand eine Kopie von einem 3D-Drucker für Geld anbietet und sie per Post in Deutschland verschickt.

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

                            @Jezinka Hi Jezinka, why are you not writing in English 😊 Otherwise your questions are quite hard to understand. I think we can handle your questions so much easier and I am more than willing to act as translator (if necessary).

                            J 1 Reply Last reply Reply Quote 0
                            • S
                              smerten last edited by

                              Guten Abend zusammen, ich lese bereits eine ganze Weile mit. Vielen Dank erstmal für das spannende Projekt! Ich habe Wasser und Gaszähler versuchsweise mit einer provisorischen Halterung und der esp32 cam ausgestattet. Als cam kommt die OV2640 fisheye zum Einsatz. Bei dem Wasserzähler werden die analog Zähler machmal fehlinterpretiert (z.B. Zeiger steht bereits auf 6 aber es wird 5 erkannt) was aber zu verkraften ist und verm. durch Lichtreflektion verursacht wird. Mein subjektiver Eindruck ist allerdings, dass die fisheye cam mehr Last auf dem ESP verursacht, denn damit habe ich ab und zu Verbindungsabbrüche mit dem Webbrowser und das Bild wird manchmal nicht richtig geladen. Kommt das vielleicht durch die Verzerrung der Linse zu stande und die Bilderkennung ist mehr beschäfigt? Mit der standard cam (normale Linse, kein fisheye) scheint es weniger Probleme zu geben. Kann das hier jemand bestätigen?
                              Auch ich habe leider keinen 3D-Drucker, daher die Frage könnte mir jemand die Gehäuse drucken, gegen Geld versteht sich.
                              Viele Grüße, Sven

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

                                @pfried I am very sorry. I know, I speak like a tartar. I have been living in Germany for about 7 years and I always use the google translator for both English and German on the Internet, because I do not have talnet languages. I'll only talk in person 🙂 My sister laughs at me for talking like Turks.
                                If something is not clear, I can try to clarify it.

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

                                  @smerten Hi Sven, ich denke die zusätzliche "Last" auf den ESP durch die FishEye ist nicht gegeben. Ich habe auch oft keine Darstellung des Bildes, was aber damit (so nehme ich an) zu tun hat, dass der ESP bei der Bildauswertung stark belastet ist und daher "keine Zeit" hat. Bitte probiere doch einmal, wenn so etwas vorkommt, 30 Sekunden zu warten und dann nocheinmal den Refresh zu betätigen. Ich denke, dass es kein Verbindungsabruch ist, sondern rein die zu dem Zeitpunkt den ESP belastende Auswertung des Bildes ist.

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

                                    @Jezinka Your text above was not very clear to me (and I guess also for others). Let me know what you meant to say 😊

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

                                      @pfried Welches genau?

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

                                        @pfried I wrote that I do not have a 3D printer and I have made a paper tube holder for now. Then I wrote that I apologize for not speaking good German and English because I use Google Translate. It'll be clear from the pictures what I meant. And I asked if anyone could print a holder for a fee. Now is to understand?

                                        20201130_230536.jpg
                                        20201130_230602.jpg 20201130_230532.jpg

                                        pfried 1 Reply Last reply Reply Quote 1
                                        • pfried
                                          pfried @Jezinka last edited by

                                          @Jezinka Sure now, at least I understand, I can ask the community who is willing to print for you.

                                          Wer kann @Jezinka ein Gehäuse gegen Refundierung der Kosten (inkl. Versand) ausdrucken?
                                          Liebe Grüße
                                          Paul

                                          PS.: @All: Wie kann man das Super Projekt von @jomjol besser unter die Community bringen (Ausdruck des Basic Adaptors)?

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

                                            @pfried Danke 🙂

                                            Ich hätte einen Vorschlag, um das Projekt zu verbessern. Vielmehr müssen Kamera und Messgerät eingestellt und überprüft werden.
                                            Ist es möglich, die Live-Kamera-Vorschau in jedem Abstimmungsmodus auszuführen? Um die "Drehung" des Messgeräts aus der Ferne überprüfen zu können.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            962
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            ai on the edge cnn esp32 hausautomatisierung neuronale netze ov2640 version 2 wasserzähler water gauge water meter
                                            235
                                            3381
                                            1487034
                                            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