Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Wasserzähler - Selfmade

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Wasserzähler - Selfmade

Scheduled Pinned Locked Moved Hardware
wasser wasserzählerhow-to
1.1k Posts 48 Posters 391.3k Views 72 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W watcherkb

    @coyote:

    Leider kämpfe ich momentan wieder mit Ausfall des ESP's, habe dann keine Verbindung mehr zum WLAN und weiß irgendwie nicht so ganz woran es liegt. Ich habe nichts geändert, mal läuft es 1-2 Wochen ohne Ausfall. Jetzt jeden Tag keine Verbindung mehr.

    das hatte ich auch, konnte es auch nicht mehr in Gang kriegen...lief mal ne Stunde dann wieder offline. Hab dann vorgestern den Sketch angepasst und eine statische IP vergeben. Diese muss sich aber außerhalb deines DHCP Bereichs befinden. Siehe mein angepasster Sketch. Seit dem kein einziger Ausfall.

    ESP32CAM_Server-GitHub.ino

    coyoteC Offline
    coyoteC Offline
    coyote
    Most Active
    wrote on last edited by
    #377

    @watcherkb ok, werde ich mal ausprobieren.
    Aber warum muss die IP außerhalb vom DHCP Bereich liegen?

    W 1 Reply Last reply
    0
    • J jomjol

      @pfried Anpassung des Kontrastes sollte eigentlich keinen Vorteil für die Erkennung mit Neuronalen Netzen bringen. Ich trainiere diese sowieso mit +/- 30% Helligkeitsänderungen, um dort nicht zu sensibel auf die Beleuchtung zu sein.

      pfriedP Offline
      pfriedP Offline
      pfried
      wrote on last edited by
      #378

      @jomjol Kannst Du uns bitte die Ziffern von oben, wenn Du Zeit hast trainieren? Wäre Super!

      coyoteC J 2 Replies Last reply
      0
      • pfriedP pfried

        @jomjol Kannst Du uns bitte die Ziffern von oben, wenn Du Zeit hast trainieren? Wäre Super!

        coyoteC Offline
        coyoteC Offline
        coyote
        Most Active
        wrote on last edited by
        #379

        @pfried habe Jomjol die Ziffern geschickt, wenn er Zeit hat schaut er es sich mal an. Diese Woche wird er aber wohl nicht mehr dazu kommen, sagt er.

        pfriedP 1 Reply Last reply
        0
        • coyoteC coyote

          @pfried habe Jomjol die Ziffern geschickt, wenn er Zeit hat schaut er es sich mal an. Diese Woche wird er aber wohl nicht mehr dazu kommen, sagt er.

          pfriedP Offline
          pfriedP Offline
          pfried
          wrote on last edited by
          #380

          @coyote Danke!

          1 Reply Last reply
          0
          • coyoteC coyote

            @watcherkb ok, werde ich mal ausprobieren.
            Aber warum muss die IP außerhalb vom DHCP Bereich liegen?

            W Offline
            W Offline
            watcherkb
            wrote on last edited by
            #381

            @coyote falls mal deine Camera offline ist, schnappt sich kein anderes Gerät mehr deine IP die du statisch vergeben hast.

            CC2538+CC2592 PA-Zigbee-Funkmodul

            coyoteC 1 Reply Last reply
            0
            • W watcherkb

              @coyote falls mal deine Camera offline ist, schnappt sich kein anderes Gerät mehr deine IP die du statisch vergeben hast.

              coyoteC Offline
              coyoteC Offline
              coyote
              Most Active
              wrote on last edited by
              #382

              @watcherkb achso:grin: jetzt hab ich es verstanden.
              Sollte eigentlich nicht, da sie im Router auch statisch vergeben ist. Gerade mal geflasht, dann probier ich doch mal ob es besser wird

              1 Reply Last reply
              0
              • pfriedP Offline
                pfriedP Offline
                pfried
                wrote on last edited by
                #383

                @jomjol Heute kam bei mir ein automatischer Update vom Raspberry (mache ich einmal im Monat):

                Jetzt geht der Wasserzähler nicht mehr :disappointed_relieved: Fast wie bei Microsoft....

                5d8f1a80-b407-4992-b1ad-7ddbd2edcc18-image.png

                J 1 Reply Last reply
                0
                • pfriedP pfried

                  @jomjol Heute kam bei mir ein automatischer Update vom Raspberry (mache ich einmal im Monat):

                  Jetzt geht der Wasserzähler nicht mehr :disappointed_relieved: Fast wie bei Microsoft....

                  5d8f1a80-b407-4992-b1ad-7ddbd2edcc18-image.png

                  J Offline
                  J Offline
                  jomjol
                  wrote on last edited by
                  #384

                  @pfried Konnte den Fehler reproduzieren - sieht nach einem Problem mit einer Python 3.7 Library aus - vielleicht urllib. Kenne noch keine Lösung, habe jetzt aber einen nicht lauffähigen Raspi :disappointed:
                  Versuche noch immer ein Docke-Image für den Pi zu erzeugen, aber das Script läuft dort einfach nicht. Das wäre eine saubere Lösung.

                  1 Reply Last reply
                  0
                  • pfriedP pfried

                    @jomjol Kannst Du uns bitte die Ziffern von oben, wenn Du Zeit hast trainieren? Wäre Super!

                    J Offline
                    J Offline
                    jomjol
                    wrote on last edited by
                    #385

                    @pfried @coyote
                    Ich habe die analogen Ziffern gerade geteached - hat funktioniert. Implementierung in Docker und GitHub dauert noch etwas, daher schicke ich euch erstmal das h5-File. Ihr könnt es manuel in config/neuralnets kopieren und in der Config.ini entsprechend den Namen ändern. Dann habt ihr es schonmal vorab: Train_CNN_Digital-Readout_Version_4.1.0.h5

                    Ich habe von @watcherkb auch noch andere Zeiger bekommen. Ich versuche gerade, diese zusammen mit meinen zu teachen und dann beide Updates gemeinsam hochzuladen.

                    coyoteC 1 Reply Last reply
                    0
                    • J jomjol

                      @pfried @coyote
                      Ich habe die analogen Ziffern gerade geteached - hat funktioniert. Implementierung in Docker und GitHub dauert noch etwas, daher schicke ich euch erstmal das h5-File. Ihr könnt es manuel in config/neuralnets kopieren und in der Config.ini entsprechend den Namen ändern. Dann habt ihr es schonmal vorab: Train_CNN_Digital-Readout_Version_4.1.0.h5

                      Ich habe von @watcherkb auch noch andere Zeiger bekommen. Ich versuche gerade, diese zusammen mit meinen zu teachen und dann beide Updates gemeinsam hochzuladen.

                      coyoteC Offline
                      coyoteC Offline
                      coyote
                      Most Active
                      wrote on last edited by
                      #386

                      @jomjol prima, danke dir. Komme leider erst morgen zum Testen

                      1 Reply Last reply
                      0
                      • pfriedP Offline
                        pfriedP Offline
                        pfried
                        wrote on last edited by
                        #387

                        @jomjol Vielen Dank! Aber leider, wie oben geschrieben, ist mein Raspberry nach dem Upgrade für den Wasserzähler unter Python3 tot.... :confounded:

                        1 Reply Last reply
                        0
                        • coyoteC Offline
                          coyoteC Offline
                          coyote
                          Most Active
                          wrote on last edited by
                          #388

                          @jomjol ich habe gerade das neue File eingefügt, sieht gut aus. Es wird jetzt die 8 erkannt und nicht mehr als 1 angezeigt. Der Rest wird sich zeigen, aber lief ja vorher schon recht gut. Danke dir :+1:

                          W 1 Reply Last reply
                          0
                          • coyoteC coyote

                            @jomjol ich habe gerade das neue File eingefügt, sieht gut aus. Es wird jetzt die 8 erkannt und nicht mehr als 1 angezeigt. Der Rest wird sich zeigen, aber lief ja vorher schon recht gut. Danke dir :+1:

                            W Offline
                            W Offline
                            watcherkb
                            wrote on last edited by
                            #389

                            @coyote sag mal wie sehen jetzt deine Verbindungsausbrüche aus? Meiner lief ca. 3 Tage jetzt habe ich wieder Probleme. Muss ihn mal anschließen und monitoren was er für Probleme hat.

                            CC2538+CC2592 PA-Zigbee-Funkmodul

                            coyoteC 1 Reply Last reply
                            0
                            • W watcherkb

                              @coyote sag mal wie sehen jetzt deine Verbindungsausbrüche aus? Meiner lief ca. 3 Tage jetzt habe ich wieder Probleme. Muss ihn mal anschließen und monitoren was er für Probleme hat.

                              coyoteC Offline
                              coyoteC Offline
                              coyote
                              Most Active
                              wrote on last edited by
                              #390

                              @watcherkb so ganz blicke ich noch nicht durch, läuft jetzt wieder 3 Tage ohne Probleme durch. Feste IP hat aber nichts gebracht, kurz nachdem ich das geänderte Program geladen habe, hatte ich wieder kurze Zeit später keine Verbindung mehr.
                              Was mir aber dabei aufgefallen ist, dass der parser Adapter nicht korrekt lief und keine Anfrage mehr gestellt hat, warum weiß ich noch nicht, da der Adapter grün war, aber im Log fehlte die korrekte Anfrage an den Wasserzähler.

                              Adapter, Container und ESP alles nochmal neu gestartet, seit dem läuft es ohne Probleme. Warten wir mal ab, werde weiter beobachten.

                              KnallochseK 1 Reply Last reply
                              0
                              • KnallochseK Offline
                                KnallochseK Offline
                                Knallochse
                                wrote on last edited by
                                #391

                                Also bei mir funktioniert die Erkennung mit den neuen Zahlen auch viel besser.
                                Die Neadle Erkennung spinnt nur manchmal.
                                Wird hier eigentlich nur nie Nadelstellung detektiert, oder spielen die Zahlen drumrum auch eine Rolle?
                                Toll wäre bei der Einrichtung ein Mittelpunkt (Kreuz) in der Roi.html als Einrichtungshilfe. Diesen Mittelpunkt könnte man zum einrichten über den Drehpunkt der Nadel platzieren.
                                Aber hiermit nochmals einen RIESIGEN Dank an @jomjol das du dein Projekt 👍 mit uns teilst

                                HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                                J 1 Reply Last reply
                                0
                                • coyoteC coyote

                                  @watcherkb so ganz blicke ich noch nicht durch, läuft jetzt wieder 3 Tage ohne Probleme durch. Feste IP hat aber nichts gebracht, kurz nachdem ich das geänderte Program geladen habe, hatte ich wieder kurze Zeit später keine Verbindung mehr.
                                  Was mir aber dabei aufgefallen ist, dass der parser Adapter nicht korrekt lief und keine Anfrage mehr gestellt hat, warum weiß ich noch nicht, da der Adapter grün war, aber im Log fehlte die korrekte Anfrage an den Wasserzähler.

                                  Adapter, Container und ESP alles nochmal neu gestartet, seit dem läuft es ohne Probleme. Warten wir mal ab, werde weiter beobachten.

                                  KnallochseK Offline
                                  KnallochseK Offline
                                  Knallochse
                                  wrote on last edited by
                                  #392

                                  @coyote Das Problem mit dem Parser kenne ich auch (nach Änderungen im Parser - keine Aktualisierung) Konnte ich auch nur mit Neustarts beheben

                                  HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                                  1 Reply Last reply
                                  0
                                  • pfriedP Offline
                                    pfriedP Offline
                                    pfried
                                    wrote on last edited by
                                    #393

                                    @coyote @Knallochse
                                    Ich denke wir haben hier alle dieselben Phänomene. Auch ich musste den Parser schon mehrmals wieder starten, damit er abfragt (obwohl er grün signalisierte).
                                    Leider kann ich derzeit nicht mittesten, da mein RB PI 4 nach einem Upgrade nicht mehr den Server startet. Also derzeit NICHT upgraden, falls Ihr die Raspberry Version verwendet, bis jomjol den Grund dafür gefunden hat (leider reichen meine Kenntnisse dafür bei weitem nicht aus).

                                    J 1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      mameier1234
                                      wrote on last edited by mameier1234
                                      #394

                                      Hallo,

                                      jetzt melde ich mich hier auch mal nach langem mitlesen...

                                      Superspannendes Projekt...

                                      Ich habe bis dato noch nix mit Arduino usw gemacht, habe es aber tatsächlich geschaft, dass die Cam funktioniert..

                                      Nun habe ich mich am installieren der Software auf dem PI versucht... Erste Versuche auf einem bestehenden System liefen zwar durch, das Programm ließ sich dann aber nicht starten... (und nebenbei , habe ich durch die Updates am System auch meinen ebus zerstört.. läuft aber wieder :-) ... gefährliches Halbwissen :astonished: )

                                      Dann dachte ich mir.. kein Problem.. ich habe ja hier noch einen jungfräulichen Pi4 rumliegen.. Aktuelles Image drauf und laut github Link für den Pi python usw. installiert... Es kamen bei der Installation keine offensichtlichen Fehlermeldungen...

                                      Dann beim Start der Software:

                                      pi@raspberrypi:~/water-meter-system-complete/code $ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 wasseruhr.py
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
                                        return f(*args, **kwds)
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
                                        return f(*args, **kwds)
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      Traceback (most recent call last):
                                        File "wasseruhr.py", line 3, in <module>
                                          import lib.ZaehlerstandClass
                                        File "/home/pi/water-meter-system-complete/code/lib/ZaehlerstandClass.py", line 2, in <module>
                                          import lib.ReadAnalogNeedleClass
                                        File "/home/pi/water-meter-system-complete/code/lib/ReadAnalogNeedleClass.py", line 4, in <module>
                                          from PIL import Image
                                      ImportError: No module named 'PIL'
                                      
                                      
                                      
                                      

                                      Seltsam.. Dr. Google sagt: sudo pip3 install pillow .. hab ich gemacht...

                                      Dann:

                                      pi@raspberrypi:~/water-meter-system-complete/code $ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 wasseruhr.py
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
                                        return f(*args, **kwds)
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
                                        return f(*args, **kwds)
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      Traceback (most recent call last):
                                        File "wasseruhr.py", line 3, in <module>
                                          import lib.ZaehlerstandClass
                                        File "/home/pi/water-meter-system-complete/code/lib/ZaehlerstandClass.py", line 2, in <module>
                                          import lib.ReadAnalogNeedleClass
                                        File "/home/pi/water-meter-system-complete/code/lib/ReadAnalogNeedleClass.py", line 8, in <module>
                                          import cv2
                                      ImportError: No module named 'cv2'
                                      pi@raspberrypi:~/water-meter-system-complete/code $ 
                                      
                                      

                                      Dann: sudo pip3 install opencv-python

                                      pi@raspberrypi:~/water-meter-system-complete/code $ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 wasseruhr.py
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
                                        return f(*args, **kwds)
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
                                        return f(*args, **kwds)
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      Start Init Zaehlerstand
                                      Traceback (most recent call last):
                                        File "wasseruhr.py", line 83, in <module>
                                          wasserzaehler = lib.ZaehlerstandClass.Zaehlerstand()
                                        File "/home/pi/water-meter-system-complete/code/lib/ZaehlerstandClass.py", line 18, in __init__
                                          self.readAnalogNeedle = lib.ReadAnalogNeedleClass.ReadAnalogNeedle()
                                        File "/home/pi/water-meter-system-complete/code/lib/ReadAnalogNeedleClass.py", line 34, in __init__
                                          self.model = load_model(self.model_file)
                                        File "/home/pi/.local/lib/python3.5/site-packages/tensorflow/python/keras/saving/save.py", line 146, in load_model
                                          return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
                                        File "/home/pi/.local/lib/python3.5/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 168, in load_model_from_hdf5
                                          raise ImportError('`load_model` requires h5py.')
                                      ImportError: `load_model` requires h5py.
                                      pi@raspberrypi:~/water-meter-system-complete/code $ 
                                      

                                      Also .. wieder Google und sudo apt-get install libhdf5-dev

                                      pi@raspberrypi:~/water-meter-system-complete/code $ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 wasseruhr.py
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
                                        return f(*args, **kwds)
                                      /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
                                        return f(*args, **kwds)
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint8 = np.dtype([("qint8", np.int8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint16 = np.dtype([("qint16", np.int16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        _np_qint32 = np.dtype([("qint32", np.int32, 1)])
                                      /home/pi/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
                                        np_resource = np.dtype([("resource", np.ubyte, 1)])
                                      Start Init Zaehlerstand
                                      WARNING:tensorflow:From /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/ops/init_ops.py:97: calling Zeros.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
                                      Instructions for updating:
                                      Call initializer instance with the dtype argument instead of passing it to the constructor
                                      WARNING:tensorflow:From /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/ops/init_ops.py:97: calling Ones.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
                                      Instructions for updating:
                                      Call initializer instance with the dtype argument instead of passing it to the constructor
                                      WARNING:tensorflow:From /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/ops/init_ops.py:97: calling GlorotUniform.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
                                      Instructions for updating:
                                      Call initializer instance with the dtype argument instead of passing it to the constructor
                                      WARNING:tensorflow:From /home/pi/.local/lib/python3.5/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
                                      Instructions for updating:
                                      Call initializer instance with the dtype argument instead of passing it to the constructor
                                      Analog Model Init Done
                                      Digital Model Init Done
                                      Digital Model Init Done
                                      Traceback (most recent call last):
                                        File "wasseruhr.py", line 86, in <module>
                                          with socketserver.TCPServer(("", PORT), SimpleHTTPRequestHandler) as httpd:
                                      AttributeError: __exit__
                                      pi@raspberrypi:~/water-meter-system-complete/code $ 
                                      

                                      Und jetzt weiss ich nicht mehr weiter ... :baby:

                                      Edit... habe es gerade nochmal auf dem PI4 so versucht.. da kommt dann : Wasserzaehler is serving at port 3000

                                      Sieht gut aus und ich werde jetzt erstmal weitertesten...

                                      Grüße,

                                      Martin

                                      1 Reply Last reply
                                      0
                                      • pfriedP Offline
                                        pfriedP Offline
                                        pfried
                                        wrote on last edited by
                                        #395

                                        @mameier1234
                                        Na das ist ja schon mal die halbe Miete wenn der Server läuft. Wie sieht nun
                                        http://IP-Adresse-ESP32/roi.html aus?

                                        M 1 Reply Last reply
                                        0
                                        • pfriedP pfried

                                          @mameier1234
                                          Na das ist ja schon mal die halbe Miete wenn der Server läuft. Wie sieht nun
                                          http://IP-Adresse-ESP32/roi.html aus?

                                          M Offline
                                          M Offline
                                          mameier1234
                                          wrote on last edited by
                                          #396

                                          @pfried Ich drucke gerade noch das Gehäuse... Bild kommt aber schon mit den eingezeichneten Vierecken... Mehr, wenn mehr da ist :-)

                                          Grüße,

                                          Martin

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          281

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe