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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

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

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

      @jomjol Hi,

      ich habe mir eben nochmal die File geholt mit:

      # git clone --single-branch --branch rolling https://github.com/jomjol/AI-on-the-edge-device.git
      

      Anschliessend nur firmware.bin und html.zip aktualisiert und nun sieht es so aus ...
      Bildschirmfoto 2021-01-05 um 19.48.05.png

      Irgendwas übersehe ich hier ...

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

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

        ing https://github.com/jomjol/AI-on-the-edge-device.

        Wie hast du den geflasht? Über Kabel oder über die Weboberfläche?

        Hasont S 2 Replies Last reply Reply Quote 0
        • Hasont
          Hasont @jomjol last edited by Hasont

          @jomjol
          Hallo, ich hab meine von
          https://github.com/jomjol/AI-on-the-edge-device/tree/rolling/firmware
          Auch ich bekomme
          Update200105.JPG

          Müssen die SD Daten aus deinem Link https://github.com/jomjol/AI-on-the-edge-device dann auch erneuert werden?
          Das mit den GPIO wäre ja echt toll wenn das dann bei meinem Wasserzähler auch gehen würde.
          Vielen Dank schon mal dafür.
          LG Horst

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

            @jomjol über Web UI und gerade eben auch manuell über die Console:

            # esptool.py --port /dev/tty.usbserial-A50285BI erase_flash
            # esptool.py --port /dev/tty.usbserial-A50285BI write_flash \
              0x01000 AI-on-the-edge-device/firmware/bootloader.bin \
              0x08000 AI-on-the-edge-device/firmware/partitions.bin \
              0x10000 AI-on-the-edge-device/firmware/firmware.bin
            

            Das Ergebnis ist immer das gleiche.

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

              @Hasont Ich probiere es jetzt auch selber mal auf einem frischen ESP32 - melde mich gleich nochmal

              Hasont S 3 Replies Last reply Reply Quote 0
              • Hasont
                Hasont @jomjol last edited by Hasont

                @jomjol
                Auf der neuen SD steht z.B. in der Config.ini auch dig0721s1.tflite.
                Wäre bei mir nicht drauf.
                Ich warte mal ab was du schreibst. Bis morgen dann.

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

                  @jomjol habe gesehen dass Du vor wenigen Minuten ein Update gemacht hast. Nun bin ich erfolgreich auf V6.0 rolling.

                  Bildschirmfoto 2021-01-05 um 21.32.24.png

                  Danke für die schnelle Hilfe !!

                  gruss Sven

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

                    @Hasont Ich konnte jetzt auch zunächst mal über die OTA nicht updaten und habe es über ein erase flash und dann komplett neu aufspielen wie gewohnt geschafft:
                    3d7fc66b-70c5-4e69-b3a9-a36446a266f7-grafik.png

                    Im nachhinein konnte ich dann auch sehen, dass beim ersten Download der firmware.bin, über GitHub etwas schief gelaufen war - hatte nur 108k runtergeladen und nicht die üblichen 1.8M. Jetzt ging das Update sowohl auf meinem Testsystem (via erase flash) und OTA auf meinem produktiv System.

                    Bezüglich des Updates von tflite. Das musst du von Hand in deiner Config.ini ändern und dann natürlich auch die entsprechende tflite im config-Verzeichnis ablegen.

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

                      Hallo @jomjol,
                      das geht hier in einer Geschwindigkeit voran, meine Güte. Ich kann es erst zum Wochenende hin testen da ich beruflich unterwegs bin. Werde dann aber testen und berichten.

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

                        @MichMein Habe gerade Urlaub und coronabedingt auch Zeit 🙂
                        Ab nächster Woche bin ich dann auch wieder langsamer.

                        Hasont W 2 Replies Last reply Reply Quote 0
                        • Hasont
                          Hasont @jomjol last edited by

                          @jomjol
                          Prima, läuft
                          Version1.JPG

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

                            @jomjol @all Hallo und erstmal ein frohes neues und vor allem gesundes Jahr von meiner Seite.

                            DANKE für deine fleißigen Updates, da komme ich einfach nicht hinterher 🙇
                            Vorschlag zu der Benennung der *tflite Dateien: da du ja öfters die Dateien neu erzeugst und neue Bilder anlernst, sind wir gezwungen den neuen Dateinamen in der Config anzupassen. Wäre es nicht sinnvoller einen statischen Namen zu verwenden?

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

                              @watcherkb Eher nicht, da die tflite-Dateien bei den Updates nicht automatisch ausgetauscht werden. Das Config-Verzeichnis bleibt bei den Updates unangetastet, da es ja eure spezifische Konfiguration enthält. Das gitl auch für die tflite-Dateien, da diese ja unter Umständen speziell für den Zähler angepasst werden können.
                              Wenn ich die jetzt alle immer gleich nenne, haben wir keine Chance mehr, dort nach Fehlern zu suchen. Denn wenn ich dort viele Änderungen mache, kann es einen großen Unterschied machen, welche genau ich verwende.

                              W coyote 2 Replies Last reply Reply Quote 0
                              • W
                                watcherkb @jomjol last edited by

                                @jomjol ok verstehe

                                1 Reply Last reply Reply Quote 0
                                • coyote
                                  coyote Most Active @jomjol last edited by

                                  @jomjol habe heute auch die aktuelle rolling geflasht per OTA. Bisher sieht es gut aus, seit 15 Uhr mal noch keine reboots oder sonstige Fehler.👍

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

                                    @jomjol Auch bei mir derzeit 👍

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tomix last edited by tomix

                                      @jomjol Echt tolle Arbeit, daher ein ESP32CAM gekauft und installiert (v6.0.0).
                                      Leider scheint aber keine Erkennung durchzulaufen. Ich habe etwa alle 2 Minuten ein Main Started und vermute das sollte nicht so sein.

                                      Das Bild selber sieht gut aus, denke ich zumindest:
                                      Screenshot_20210107_225606.png

                                      Halterung was eigenes (da kein 3D-Drucker und vorallem ein fester Deckel auf dessen Halterung die Seriennummer ist!).
                                      halterung.jpg

                                      Die Logdatei:
                                      log_2021-01-08.txt.1

                                      2021-01-08_00-23-35: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-23-35: =============================================================================================
                                      2021-01-08_00-23-35: =================================== Main Started ============================================
                                      2021-01-08_00-23-35: =============================================================================================
                                      2021-01-08_00-23-39: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-23-45: task_autodoFlow - next round - Round #1
                                      2021-01-08_00-23-45:    FlowControll.doFlow - ClassFlowMakeImage                Heap:   3092056 Min Free:        3087600 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   45064   Internal Heap:   45064   Internal Min Heap free: 40608
                                      2021-01-08_00-23-58:    FlowControll.doFlow - ClassFlowAlignment                Heap:   3089604 Min Free:        1456824 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   42612   Internal Heap:   42612   Internal Min Heap free: 26740
                                      2021-01-08_00-24-35: download_get_handler
                                      2021-01-08_00-24-38: download_get_handler
                                      2021-01-08_00-24-50: download_get_handler
                                      2021-01-08_00-24-52: download_get_handler
                                      2021-01-08_00-25-13:    FlowControll.doFlow - ClassFlowDigit            Heap:   3083424 Min Free:1191924 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   36432   Internal Heap:  36432    Internal Min Heap free: 10280
                                      2021-01-08_00-25-31:    FlowControll.doFlow - ClassFlowAnalog           Heap:   3083168 Min Free:1191924 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   36176   Internal Heap:  36176    Internal Min Heap free: 10280
                                      2021-01-08_00-25-42: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-25-42: =============================================================================================
                                      2021-01-08_00-25-42: =================================== Main Started ============================================
                                      2021-01-08_00-25-42: =============================================================================================
                                      2021-01-08_00-25-46: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-25-47: download_get_handler
                                      2021-01-08_00-25-50: task_autodoFlow - next round - Round #1
                                      2021-01-08_00-25-50:    FlowControll.doFlow - ClassFlowMakeImage                Heap:   3091900 Min Free:        3084300 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44908   Internal Heap:   44908   Internal Min Heap free: 37308
                                      2021-01-08_00-26-01:    FlowControll.doFlow - ClassFlowAlignment                Heap:   3091896 Min Free:        1471780 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44904   Internal Heap:   44904   Internal Min Heap free: 37308
                                      2021-01-08_00-27-03: download_get_handler
                                      2021-01-08_00-27-03: download_get_handler
                                      2021-01-08_00-27-05: download_get_handler
                                      2021-01-08_00-27-05: download_get_handler
                                      2021-01-08_00-27-14:    FlowControll.doFlow - ClassFlowDigit            Heap:   3081848 Min Free:1190952 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   34856   Internal Heap:  34856    Internal Min Heap free: 9308
                                      2021-01-08_00-27-29: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-27-29: =============================================================================================
                                      2021-01-08_00-27-29: =================================== Main Started ============================================
                                      2021-01-08_00-27-29: =============================================================================================
                                      2021-01-08_00-27-33: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-27-39: task_autodoFlow - next round - Round #1
                                      2021-01-08_00-27-39:    FlowControll.doFlow - ClassFlowMakeImage                Heap:   3092036 Min Free:        3085996 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   45044   Internal Heap:   45044   Internal Min Heap free: 39004
                                      2021-01-08_00-27-51:    FlowControll.doFlow - ClassFlowAlignment                Heap:   3092028 Min Free:        1474192 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   45036   Internal Heap:   45036   Internal Min Heap free: 39000
                                      2021-01-08_00-28-57:    FlowControll.doFlow - ClassFlowDigit            Heap:   3091960 Min Free:1454404 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44968   Internal Heap:  44968    Internal Min Heap free: 19212
                                      2021-01-08_00-29-14:    FlowControll.doFlow - ClassFlowAnalog           Heap:   3091696 Min Free:1454404 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44704   Internal Heap:  44704    Internal Min Heap free: 19212
                                      2021-01-08_00-29-28: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-29-28: =============================================================================================
                                      2021-01-08_00-29-28: =================================== Main Started ============================================
                                      2021-01-08_00-29-28: =============================================================================================
                                      2021-01-08_00-29-31: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-29-33: task_autodoFlow - next round - Round #1
                                      2021-01-08_00-29-33:    FlowControll.doFlow - ClassFlowMakeImage                Heap:   3092052 Min Free:        3087084 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   45060   Internal Heap:   45060   Internal Min Heap free: 40092
                                      2021-01-08_00-29-44:    FlowControll.doFlow - ClassFlowAlignment                Heap:   3092048 Min Free:        1475236 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   45056   Internal Heap:   45056   Internal Min Heap free: 40092
                                      2021-01-08_00-30-55:    FlowControll.doFlow - ClassFlowDigit            Heap:   3091992 Min Free:1454480 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   45000   Internal Heap:  45000    Internal Min Heap free: 19336
                                      2021-01-08_00-31-13:    FlowControll.doFlow - ClassFlowAnalog           Heap:   3091716 Min Free:1454480 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44724   Internal Heap:  44724    Internal Min Heap free: 19336
                                      2021-01-08_00-31-28: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-31-28: =============================================================================================
                                      2021-01-08_00-31-28: =================================== Main Started ============================================
                                      2021-01-08_00-31-28: =============================================================================================
                                      2021-01-08_00-31-32: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-31-34: task_autodoFlow - next round - Round #1
                                      2021-01-08_00-31-34:    FlowControll.doFlow - ClassFlowMakeImage                Heap:   3091836 Min Free:        3080856 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44844   Internal Heap:   44844   Internal Min Heap free: 33864
                                      2021-01-08_00-31-42: download_get_handler
                                      2021-01-08_00-31-45:    FlowControll.doFlow - ClassFlowAlignment                Heap:   3091824 Min Free:        1465568 larg. Block:    3046992 SPI Heap:       3046992 NOT_SPI Heap:   44832   Internal Heap:   44832   Internal Min Heap free: 30540
                                      2021-01-08_00-32-02: delete_post_handler
                                      2021-01-08_00-32-02: download_get_handler
                                      2021-01-08_00-32-02: upload_post_handler
                                      2021-01-08_00-32-02: download_get_handler
                                      2021-01-08_00-32-06: handler_reboot
                                      2021-01-08_00-32-06: Reboot - now
                                      2021-01-08_00-32-23: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-32-23: =============================================================================================
                                      2021-01-08_00-32-23: =================================== Main Started ============================================
                                      2021-01-08_00-32-23: =============================================================================================
                                      2021-01-08_00-32-26: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
                                      2021-01-08_00-32-33: task_autodoFlow - next round - Round #1
                                      2021-01-08_00-32-33:    FlowControll.doFlow - ClassFlowMakeImage                Heap:   3096656 Min Free:        3090424 larg. Block:    3051336 SPI Heap:       3051336 NOT_SPI Heap:   45320   Internal Heap:   45320   Internal Min Heap free: 39088
                                      2021-01-08_00-32-44:    FlowControll.doFlow - ClassFlowAlignment                Heap:   3093500 Min Free:        1468684 larg. Block:    3051336 SPI Heap:       3051336 NOT_SPI Heap:   42164   Internal Heap:   42164   Internal Min Heap free: 28972
                                      2021-01-08_00-33-56:    FlowControll.doFlow - ClassFlowDigit            Heap:   3088324 Min Free:1197316 larg. Block:    3051336 SPI Heap:       3051336 NOT_SPI Heap:   36988   Internal Heap:  36988    Internal Min Heap free: 11328
                                      2021-01-08_00-34-14:    FlowControll.doFlow - ClassFlowPostProcessing           Heap:   3088028 Min Free:        1197192 larg. Block:    3051336 SPI Heap:       3051336 NOT_SPI Heap:   36692   Internal Heap:   36692   Internal Min Heap free: 11204
                                      2021-01-08_00-34-14:    FlowControll.doFlow - ClassFlowMQTT             Heap:   3088104 Min Free:1197192 larg. Block:    3051336 SPI Heap:       3051336 NOT_SPI Heap:   36768   Internal Heap:  36768    Internal Min Heap free: 11204
                                      2021-01-08_00-34-14: sent publish successful in MQTTPublish, msg_id=48846, wasserzaehler/zaehlerstand, 1656790
                                      2021-01-08_00-34-14: sent publish successful in MQTTPublish, msg_id=31644, wasserzaehler/error, 
                                      2021-01-08_00-34-14: task_autodoFlow - round done
                                      2021-01-08_00-34-14: CPU Temperature: 62.2
                                      2021-01-08_00-35-26: download_get_handler
                                      

                                      Ich dachte an zu wenig Strom, also habe ich das Anschlusskabel gekürzt und verschiedene USB-Netzteile getestet. Hat nichts geändert.

                                      Hier von Probleme mit der SD-Karte gelesen. Also mal eine andere genommen als die 2 GB die drin war. die 16 GB ändert aber auch nichts.

                                      Ich hätte noch eine zweite ESP32CAM, flash die aber jetzt eigentlich ungern um (zumal mein Halter auch nicht so auf dauerndes Umbauen ausgelegt ist).

                                      Irgendwelche weitere Tipps?

                                      Gruss
                                      tomix

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tomix @tomix last edited by tomix

                                        @tomix
                                        und kaum gepostet klappt es plötzlich. Evtl. lag es doch am Netzteil, habe nochmals ein anderes verwendet (hat allerdings nur 1A aber da grösser evtl. auch grössere Kondensatoren).
                                        Ich vermute mal den Strom von der 5 m entfernten Fritzbox zu ziehen, ist also eher eine schlechte Idee. Hab das nun trotzdem gemacht und anstelle eines langen USB-Kabel 0.75mm2 Litze genommen. Klappt nun wunderbar.
                                        Gruss
                                        tomix

                                        D T 2 Replies Last reply Reply Quote 0
                                        • D
                                          doublesib @tomix last edited by

                                          Servus Leute, dank eines langen Krankenscheins wollte ich mich auch mal daran machen alles auf den ESP 32 umzuziehen. Hatte es die ganze Zeit noch recht stabil auf der alten Variante am laufen.
                                          Mein Problem ist leider das ich schon beim ersten Schritt dem flashen der Firmware scheitere.
                                          Wollte es über das Flashtool machen. Die Dateien hochgeladen alles wie in der Anleitung jedoch bekomm ich beim start nur die Folgende Meldung

                                          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 36-37: illegal multibyte sequence
                                          

                                          Hat hierzu jemand eine Idee was ich falsch mache.

                                          Vielen Dank

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

                                            @doublesib zeig mal Screenshots des Flashtools

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            967
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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