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

    • 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 - Version 2 - all-in-device

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

      @jomjol
      Hi

      Ich hab den Schreibtisch noch nicht Verlassen 😉
      Wlan mit Handy voller Ausschlag, hab nach einer wand in etwa 3m Entfernung einen unifi AP, des weiteren auch schon neben dem AP Probiert.

      Arduino IDE Installiert und für ESP erweitert.
      Hatte gedacht Ich müsste nur den Serial Monitor starten und mitloggen was das Download tool raushaut .... leider können aber nicht beide Programme auf com 5 zugreifen
      Kann Ich das Projekt auch direkt mit Arduino IDE Flashen? Wenn ja wie? Wenn nicht, wie bekomme Ich die Daten welche du brauchst??

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

        @Zelkin Flashen mit Arduino geht nicht. Aber zum mitlesen des seriellen Outputs tut es jedes Schnittstellenprogramm - habe es gerade mit KiTTY mal schnell probiert - ohne Probleme.
        Ich schlage folgende Prozedur vor:

        1. Erase und Flash des ESP32 mit bootloader, partition und firmware (Hast du schon gemacht)
        2. Auslesen der seriellen Schnittstelle mit einem beliebigen Schnittstellenprogramm:
          Parameter: dein Comport, Baudrate: 115200
        3. Mitschnitt der Bootsequenz - dazu mit angeschlossener Schnittstelle die RST-Taste drücken.

        Viel Erfolg!
        jomjol

        Z 4 Replies Last reply Reply Quote 0
        • Z
          Zelkin @jomjol last edited by

          @jomjol

          Ahh jetzt hab Ichs verstanden ..... das gibt auch mehr oder weniger aufschluss:

          20:37:18.360 -> rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
          20:37:18.360 -> flash read err, 1000
          20:37:18.360 -> ets_main.c 371
          20:37:18.686 -> ets Jun 8 2016 00:22:57

          Flash read error erklärt mal wieso kein boot zustande kommt

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

            @jomjol
            Hier noch die Ausgabe nachdem Ich nochmals Erase und Flash mit dem Download Tool hab laufen lassen:

            [2020-12-30 20:40:43,388][CombinePanel_ESP32_spi][Panel_Combine.py][line:473][INFO]: switch do not chg bin : 0
            [2020-12-30 20:41:11,651][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:376][INFO]: test baudrate: 921600
            [2020-12-30 20:41:51,621][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:400][INFO]: ************
            [2020-12-30 20:41:51,622][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:401][INFO]: check_res: (True, [])
            [2020-12-30 20:41:51,622][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:402][INFO]: is running : False
            [2020-12-30 20:41:51,624][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:403][INFO]: ************
            [2020-12-30 20:41:51,624][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:41:51,624][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/IDLE_S.bmp
            [2020-12-30 20:41:51,625][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            [2020-12-30 20:41:51,644][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:434][INFO]: TEST!!!!
            [2020-12-30 20:41:51,644][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:435][INFO]: SELF.COMSTR: COM5
            [2020-12-30 20:41:51,644][EspDownloadThread][download_panel_info.py][line:788][INFO]: test running: False
            ======
            CONNECT BAUD: 115200
            ============
            [2020-12-30 20:41:51,859][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:41:51,859][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/SYNC_S.bmp
            [2020-12-30 20:41:51,859][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            .Uploading stub...
            Running stub...
            Stub running...
            Changing baud rate to 921600
            Changed.
            [2020-12-30 20:41:53,180][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:41:53,180][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/DOWNLOAD_S.bmp
            [2020-12-30 20:41:53,180][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            [2020-12-30 20:41:53,654][ESP8266Loader_spi[1]][espDownloader.py][line:619][INFO]: status[before]: 0x400000
            [2020-12-30 20:42:02,815][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:42:04,908][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/FINISH_S.bmp
            [2020-12-30 20:42:04,910][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            [2020-12-30 20:42:17,321][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:400][INFO]: ************
            [2020-12-30 20:42:17,322][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:401][INFO]: check_res: (True, [])
            [2020-12-30 20:42:17,322][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:402][INFO]: is running : False
            [2020-12-30 20:42:17,322][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:403][INFO]: ************
            [2020-12-30 20:42:17,322][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:42:17,322][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/IDLE_S.bmp
            [2020-12-30 20:42:17,322][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            [2020-12-30 20:42:17,346][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:434][INFO]: TEST!!!!
            [2020-12-30 20:42:17,346][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:435][INFO]: SELF.COMSTR: COM5
            [2020-12-30 20:42:17,346][EspDownloadThread][download_panel_info.py][line:788][INFO]: test running: False
            ======
            CONNECT BAUD: 115200
            ============
            [2020-12-30 20:42:17,563][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:42:17,563][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/SYNC_S.bmp
            [2020-12-30 20:42:17,565][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            ....._____....._____.....____[2020-12-30 20:42:28,509][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-12-30 20:42:29,388][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:42:29,388][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/DOWNLOAD_S.bmp
            [2020-12-30 20:42:29,388][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            
             is stub and send flash finish
            [2020-12-30 20:42:31,476][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:494][INFO]: *********************
            [2020-12-30 20:42:31,476][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:495][INFO]: pic path: ./RESOURCE/FINISH_S.bmp
            [2020-12-30 20:42:31,476][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:496][INFO]: ***********************
            

            Ich hoffe du wirst daraus Schlau

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

              @jomjol

              OK

              Hab eben gemarkt das Ich ein IDI........ bin

              hatte im Download Tool vergessen die 3 Dateien anzuhaken ..... 🤦‍♂️

              nun bekomme Ich auch schon eine andere Asugabe ... aber leider dennoch ein fehler:

              C:\AI-on-the-edge-device-4.1.1\firmware\bootloader.bin
              C:\AI-on-the-edge-device-4.1.1\firmware\partitions.bin
              C:\AI-on-the-edge-device-4.1.1\firmware\firmware.bin
              test offset :  4096 0x1000
              case ok
              test offset :  32768 0x8000
              case ok
              test offset :  65536 0x10000
              case ok
              [2020-12-30 20:53:55,696][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:400][INFO]: ************
              [2020-12-30 20:53:55,697][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:401][INFO]: check_res: (True, [[u'C:\\AI-on-the-edge-device-4.1.1\\firmware\\bootloader.bin', 4096], [u'C:\\AI-on-the-edge-device-4.1.1\\firmware\\partitions.bin', 32768], [u'C:\\AI-on-the-edge-device-4.1.1\\firmware\\firmware.bin', 65536]])
              [2020-12-30 20:53:55,697][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:402][INFO]: is running : False
              [2020-12-30 20:53:55,697][EspDownloadPanel_ESP32_spi(1)][download_panel_info.py][line:403][INFO]: ************
              Traceback (most recent call last):
                File "download_panel_info.py", line 451, in OnButton_EraseButton
                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 40-41: illegal multibyte sequence
              
              1 Reply Last reply Reply Quote 0
              • Z
                Zelkin @jomjol last edited by

                @jomjol
                Man Man

                Danke für die Hilfe

                Nach dem Neustart des Download Tool hat sich nun auch der fehler verabschiedet ..........

                Neustart des ESP und ..... jup da drückt er aufn knopf und er geht

                Danke nochmal

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

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

                  @MichMein Wenn du zurück auf den letzten Master gehst, besteht dann weiterhin das Problem bei Dir?

                  Habe ich nicht getestet da ich ungern auf die neuen Funktionen im Rolling verzichten wollte. Aber wie @jomjol geschrieben sollten die Fehler im Master ja nicht auftauchen.

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

                    @Zelkin Gerne!

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

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

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

                      @MichMein Wenn du zurück auf den letzten Master gehst, besteht dann weiterhin das Problem bei Dir?

                      Habe ich nicht getestet da ich ungern auf die neuen Funktionen im Rolling verzichten wollte. Aber wie @jomjol geschrieben sollten die Fehler im Master ja nicht auftauchen.

                      Ich bin gerade im Internet noch auf eine andere Spur gestossen: die Übertragung des Bildes von der OV2640 insbesondere in den RAM könnte an die Grenzen des PSRAMs stoßen und damit zu unberechenbaren Fehlern führen. Habe eine Idee für eine Anpassung dazu gerade im Testlauf.
                      Morgen bin ich schlauer.

                      MichMein J 2 Replies Last reply Reply Quote 0
                      • MichMein
                        MichMein @jomjol last edited by

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

                        Morgen bin ich schlauer.

                        Du bist heute auch schon schlauer wie so manch andere unter uns 🤣
                        Danke für Deine Mühen!

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

                          @MichMein Kannst Du mir bitte bei den IOBroker MQTT Einstellungen helfen?
                          Ist das so richtig?

                          7d683dcf-b67d-4e8b-89ca-f8879c5a0e1f-grafik.png

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

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

                            Morgen bin ich schlauer.

                            Hat geklappt - Ursache ist ein Limit in der Übertragung des internen Kameraspeichers in den ESP32 für die Weiterverarbeitung. Das hier das relativ langsame PSRAM verwendet wird, stößt man hier je nach Größe des jpg-codierten Bildes an die Limits.
                            Ich habe über Nacht den Takt der Kamera gedrosselt. Damit liefert sie die Daten langsamer und siehe da, es lief jetzt 120 Runden ohne Probleme durch.
                            Ich muss jetzt die ganzen Debugging Details wieder deaktivieren und den Code etwas aufräumen, dann lade ich noch dieses Jahr (😊 ) eine neue Rolling hoch.
                            Gebe euch hier dann kurz Bescheid.

                            pfried MichMein 2 Replies Last reply Reply Quote 1
                            • pfried
                              pfried @jomjol last edited by

                              @jomjol Super! Werde dann gleich testen!

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

                                @pfried Hallo, meine Einstellungen sehen auch so aus wie bei Dir.

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

                                  @jomjol Das klingt ja nach nem super Jahresabschluss 🍾

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

                                    @MichMein @pfried

                                    Neue Version ist hochgeladen. Hatte gerade das Ereignis, dass die Oberfläche nicht reagiert hat, bin aber auch Remote mit schlechter Netzverbindung unterwegs. Wenn euch was auffällt, bitte gerne sofort melden.
                                    Gruß und guten Rutsch!
                                    jomjol

                                    F MichMein 2 Replies Last reply Reply Quote 0
                                    • F
                                      Feinfinger @jomjol last edited by

                                      @jomjol

                                      Ist installiert, ohne Fehler.

                                      Bin mal gespannt, ob das häufige rebooten jetzt weg ist, ich hatte das übrigens auch mit der lezten master Version.

                                      Hat mich aber nie gestört, da ja die Werte immer gepasst haben.

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

                                        @jomjol Ist installiert, allerdings habe ich bei einem meiner ESPs das Problem das er das Bild nicht mehr drehen möchte. Ich werde es mal neu parametrisieren, untersuchen und dan berichten.

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

                                          @all: Guten Rutsch ins neue (hoffentlich bessere) Jahr 2021! 🍾

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

                                            Hallo @jomjol,

                                            den einen ESP für den Gaszähler hat es scheinbar zerrissen, der möchte nicht mehr so richtig. Es sind aber bereits drei neue ESPs im Anflug und sollten nächste Woche hier sein. Ich habe es mit allen möglichen Firmware Versionen getestet und er startet immer wieder neu 😞 .

                                            gas.png

                                            2020-12-31_18-18-40: Reboot - now
                                            2020-12-31_18-19-12: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-19-12: =============================================================================================
                                            2020-12-31_18-19-12: =================================== Main Started ============================================
                                            2020-12-31_18-19-12: =============================================================================================
                                            2020-12-31_18-19-16: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-19-19: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-19-47: logfileact_get_handler
                                            2020-12-31_18-20-39: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-20-39: =============================================================================================
                                            2020-12-31_18-20-39: =================================== Main Started ============================================
                                            2020-12-31_18-20-39: =============================================================================================
                                            2020-12-31_18-20-43: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-20-49: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-21-25: logfileact_get_handler
                                            2020-12-31_18-22-07: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-22-07: =============================================================================================
                                            2020-12-31_18-22-07: =================================== Main Started ============================================
                                            2020-12-31_18-22-07: =============================================================================================
                                            2020-12-31_18-22-11: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-22-13: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-23-32: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-23-32: =============================================================================================
                                            2020-12-31_18-23-32: =================================== Main Started ============================================
                                            2020-12-31_18-23-32: =============================================================================================
                                            2020-12-31_18-23-36: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-23-38: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-24-55: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-24-55: =============================================================================================
                                            2020-12-31_18-24-55: =================================== Main Started ============================================
                                            2020-12-31_18-24-55: =============================================================================================
                                            2020-12-31_18-24-59: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-25-01: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-26-20: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-26-20: =============================================================================================
                                            2020-12-31_18-26-20: =================================== Main Started ============================================
                                            2020-12-31_18-26-20: =============================================================================================
                                            2020-12-31_18-26-24: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-26-28: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-27-47: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-27-47: =============================================================================================
                                            2020-12-31_18-27-47: =================================== Main Started ============================================
                                            2020-12-31_18-27-47: =============================================================================================
                                            2020-12-31_18-27-51: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-27-57: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-29-17: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-29-17: =============================================================================================
                                            2020-12-31_18-29-17: =================================== Main Started ============================================
                                            2020-12-31_18-29-17: =============================================================================================
                                            2020-12-31_18-29-21: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-29-23: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-30-42: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-30-42: =============================================================================================
                                            2020-12-31_18-30-42: =================================== Main Started ============================================
                                            2020-12-31_18-30-42: =============================================================================================
                                            2020-12-31_18-30-46: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-30-48: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-32-07: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-32-07: =============================================================================================
                                            2020-12-31_18-32-07: =================================== Main Started ============================================
                                            2020-12-31_18-32-07: =============================================================================================
                                            2020-12-31_18-32-11: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-32-15: task_autodoFlow - next round - Round #1
                                            2020-12-31_18-33-34: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-33-34: =============================================================================================
                                            2020-12-31_18-33-34: =================================== Main Started ============================================
                                            2020-12-31_18-33-34: =============================================================================================
                                            2020-12-31_18-33-38: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                            2020-12-31_18-33-40: logfileact_get_handler
                                            

                                            Mal abwarten das neue Jahr so bringen wird.

                                            Ich kann mich den Worten von @pfried nur anschliessen und wünsche ebenfalls allen einen schönen Abend und einen guten Rutsch 🎆

                                            Bis nächtes Jahr 👋

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            498
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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