Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. PH-Messung

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    PH-Messung

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @coyote last edited by

      @coyote Erwischt ... retry please

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

        @apollon77

        Schätze das ist ok so:

        root@debian:/home/coyote/ph803w# npm install Apollon77/node-ph803w                                                                                npm WARN saveError ENOENT: no such file or directory, open '/home/coyote/ph803w/                                                                  package.json'
        npm notice created a lockfile as package-lock.json. You should commit this file.
        npm WARN enoent ENOENT: no such file or directory, open '/home/coyote/ph803w/pac                                                                  kage.json'
        npm WARN ph803w No description
        npm WARN ph803w No repository field.
        npm WARN ph803w No README data
        npm WARN ph803w No license field.
        
        + node-ph803w@0.0.1
        added 3 packages from 4 contributors and audited 3 packages in 4.175s
        found 0 vulnerabilities
        
        
        
           ╭────────────────────────────────────────────────────────────────╮
           │                                                                │
           │      New major version of npm available! 6.14.12 → 7.15.0      │
           │   Changelog: https://github.com/npm/cli/releases/tag/v7.15.0   │
           │               Run npm install -g npm to update!                │
           │                                                                │
           ╰────────────────────────────────────────────────────────────────╯
        
        
        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @coyote last edited by

          @coyote Ja

          S 1 Reply Last reply Reply Quote 0
          • S
            skinni @apollon77 last edited by

            Hab keine Sonden angeschlossen, aber soweit siehts gut aus. Ich freu mich auf den adapter 😇

            Data: {"binFlags1":"11","binFlags2":"10","ph":7.77,"redox":-44,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.76,"redox":-44,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.76,"redox":-38,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.77,"redox":-68,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.8,"redox":-69,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.81,"redox":-70,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.83,"redox":-72,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.83,"redox":-73,"phSwitch":false,"redoxSwitch":true}
            Data: {"binFlags1":"100","binFlags2":"10","ph":7.82,"redox":-73,"phSwitch":false,"redoxSwitch":true}
            
            apollon77 1 Reply Last reply Reply Quote 1
            • apollon77
              apollon77 @skinni last edited by

              @skinni Cool, Danke, Passen auch die Schalter-Zustände?

              Und ja jetzt wäre jemand mit Sonden im Wasser durchaus cool der mal mehr vergleichen kann was die Anzeigen im Display und Schaltzustände angeht und so 🙂

              S coyote 2 Replies Last reply Reply Quote 0
              • S
                skinni @apollon77 last edited by

                @apollon77 Zustände passen, PH ist aus, ORP ist an

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

                  @apollon77 👏 👏 👏 👏

                  Mega👍 Das sieht schon sehr gut aus. Muss @skinni zustimmen, passt alles soweit, auch die Schaltzustände. Gute Arbeit Apollon

                  S apollon77 2 Replies Last reply Reply Quote 0
                  • S
                    skinni @coyote last edited by skinni

                    Hier hat sich ein Schaltzustand geändert

                    Data: {"binFlags1":"100","binFlags2":"10","ph":7.15,"redox":6,"phSwitch":false,"redoxSwitch":true}
                    Data: {"binFlags1":"100","binFlags2":"0","ph":7.12,"redox":51,"phSwitch":false,"redoxSwitch":false}
                    

                    und wieder zurück

                    Data: {"binFlags1":"100","binFlags2":"0","ph":7.22,"redox":-2,"phSwitch":false,"redoxSwitch":false}
                    Data: {"binFlags1":"100","binFlags2":"10","ph":7.22,"redox":-2,"phSwitch":false,"redoxSwitch":true}
                    
                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @coyote last edited by apollon77

                      @coyote was idealerweise noch fehlt ist die Verbindung zwischen dem „binFlag1“ Inhalt und dem Display oder so herzustellen. Bisher kennen wir nur die Bedeutung der zwei Bits von binFlag2.

                      Aber denke da muss man echt mal mehr anschauen wenn sich da mal Dinge ändern.

                      @coyote bei dir hatte sind bei dem einen Test mit Wasser letztens 3 Bits in dem binFlag1 geändert über die Zeit. Meine Vermutung ist das das Display anzeigen sind. Also beobachtet bitte mal in die Richtung ob es da Zusammenhänge gibt. Dann hätten wir noch mehr Infos.

                      Als Nächstes würde ich noch discovery einbauen um die Geräte im Netzwerk zu finden. Und dann kann man da nen adapter zusammenklöppeln.

                      Achja: testet bitte auch mal den Auto reconnect. Also schaltet gerät aus während lib verbunden ist und wieder an und schaut das danach wieder Daten kommen.
                      Bitte vor dem Test nochmal die aktuellste Version installieren (das npm install nochmal machen)

                      Danke

                      S coyote 2 Replies Last reply Reply Quote 0
                      • S
                        skinni @apollon77 last edited by

                        Reconnect hatte vorhin nicht geklappt, das hatte ich als erstes versucht. Dachte soweit sind wir noch nicht.

                        Update geht leider nicht:

                        npm install Apollon77/node-ph803w
                        npm ERR! code ENOSELF
                        npm ERR! Refusing to install package with name "node-ph803w" under a package
                        npm ERR! also called "node-ph803w". Did you name your project the same
                        npm ERR! as the dependency you're installing?
                        npm ERR!
                        npm ERR! For more information, see:
                        npm ERR!     <https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm>
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/pi/.npm/_logs/2021-05-28T07_30_16_009Z-debug.log
                        
                        foxriver76 coyote 2 Replies Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer @skinni last edited by foxriver76

                          @skinni Du musst den Schritt wieder im gleichen Folder wie beim ersten mal ausführen und nicht im Folder des Packages, sonst würde er eine Abhängigkeit zu sich selbst herstellen.

                          Im Folder des Packages sollte npm update tun, aber noch nie selbst probiert.

                          S 1 Reply Last reply Reply Quote 1
                          • coyote
                            coyote Most Active @apollon77 last edited by

                            @apollon77 das binFlag2 könnte was mit den Relais Ausgängen zu tun haben oder?

                            Oben bei skinni ist es 0, wenn bei Ausgänge "false" und 10 wenn RedoxSwitch "true"

                            Auf dem Display sind noch 2 Pfeile (wobei eigentlich 4) die blinken, wenn die Ausgänge geschaltet sind, es gibt für beide Werte jeweils einen pfeil nach oben und nach unten.

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

                              @skinni also bei mir funktioniert die npm Installation, wenn ich es im User Verzeichnis nochmal drüber bügele

                              1 Reply Last reply Reply Quote 1
                              • S
                                SoerenKaiser99 @UncleB last edited by

                                @uncleb ist drunter Kommentiert, diese https://amzn.to/3ft8qOj

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SoerenKaiser99 @apollon77 last edited by

                                  @apollon77 Hast ja recht, war auch eher mit nem Augenzwinkern gemeint 😜 sorry für den Offtopic

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    skinni @foxriver76 last edited by

                                    sorry mein Fehler, bin aus dem Verzeichnis raus, dann hats geklappt.

                                    Reconnect geht aber immer noch nicht:

                                      ph803w:device Send ping +4s
                                      ph803w:device received pong +3ms
                                      ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.7,"redox":-151,"phSwitch":false,"redoxSwitch":true} +2s
                                    Data: {"binFlags1":"100","binFlags2":"10","ph":7.7,"redox":-151,"phSwitch":false,"redoxSwitch":true}
                                      ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.7,"redox":-151,"phSwitch":false,"redoxSwitch":true} +0ms
                                      ph803w:device Send ping +2s
                                      ph803w:device received pong +3ms
                                      ph803w:device Send ping +4s
                                      ph803w:device Ping response overdue, reconnect +8s
                                    
                                    

                                    Ab da kommt nix mehr

                                    apollon77 2 Replies Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @skinni last edited by

                                      @skinni ok dann schaue ich heute abend nochmal

                                      1 Reply Last reply Reply Quote 1
                                      • apollon77
                                        apollon77 @coyote last edited by

                                        @coyote also ja die beiden Relais hab ich ja in binFlag2 gefunden. Da holt er die True/false auch her. Frage ist jetzt ob noch andere Dinge vom Display (Annahme vor allem in binFlag1) eine Korrelation haben. Mal mindestens drei der Bits haben sich bisher generell mal geändert.

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

                                          @apollon77 wo find ich denn binFlag1/2 in Wireshark?

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • S
                                            skinni last edited by

                                            "binFlags2":"11" wenn PH an und ORP an
                                            "binFlags2":"10" wenn PH aus und ORP an
                                            "binFlags2":"0" wenn PH aus und ORP aus
                                            "binFlags2":"1" wenn PH an und ORP aus

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            47
                                            432
                                            67790
                                            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