Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Poollab / Primelab integrieren

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Poollab / Primelab integrieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • 100prznt
      100prznt @D3ltoroxp last edited by

      @d3ltoroxp So ist es. Meine Bibliothek kann so nur unter Windows (in Kombination mit den .NET core) genutzt werden, es ist auch kein fertiges Programm, sondern nur eine Bibliothek welche sozusagen den PoolLAB BLE Treiber darstellt.
      Sicherlich kann man eine solche Lib auch für andere Systeme erstellen.

      1 Reply Last reply Reply Quote 1
      • 100prznt
        100prznt @MiKKey last edited by

        @mikkey sagte in Poollab / Primelab integrieren:

        Bei der Installation passiert nichts.

        $ iobroker url https://github.com/100prznt/ioBroker.labcom --host IoBroker --debug
        install 100prznt/ioBroker.labcom#b6dc2782e6748c0c1d677e1d0a5a4c1fe1e68127
        NPM version: 6.14.16Installing 100prznt/ioBroker.labcom#b6dc2782e6748c0c1d677e1d0a5a4c1fe1e68127... (System call)

        So hab das jetzt mal auf einer jungfräulichen ioBroker Installation (Debian VM unter Proxmox) getestet. Funktioniert bei mir ohne Probleme.

        Zu beachten sind zwei Dinge.

        1. Installation über "Benutzerdefiniert" Screenshot_Install_from_URL.png

        2. Der Installationsvorgang kann auch mal etwas länger dauern. Screenshot_Install_Complete.png

        $ iobroker url https://github.com/100prznt/ioBroker.labcom --host ioBroker-sandbox --debug
        install 100prznt/ioBroker.labcom#b6dc2782e6748c0c1d677e1d0a5a4c1fe1e68127
        NPM version: 6.14.17
        Installing 100prznt/ioBroker.labcom#b6dc2782e6748c0c1d677e1d0a5a4c1fe1e68127... (System call)
        
        -- Zeit für Tee und Kaffee!!!1!11elf
        
        npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})+ iobroker.labcom@0.1.1added 4 packages from 8 contributors in 268.179s
        38 packages are looking for funding run `npm fund` for details
        upload [4] labcom.admin /opt/iobroker/node_modules/iobroker.labcom/admin/admin.d.ts admin.d.ts video/mp2t
        upload [3] labcom.admin /opt/iobroker/node_modules/iobroker.labcom/admin/index_m.html index_m.html text/html
        upload [2] labcom.admin /opt/iobroker/node_modules/iobroker.labcom/admin/logo.png logo.png image/png
        upload [1] labcom.admin /opt/iobroker/node_modules/iobroker.labcom/admin/style.css style.css text/css
        upload [0] labcom.admin /opt/iobroker/node_modules/iobroker.labcom/admin/words.js words.js application/javascript
        Process exited with code 0
        

        (3.) Kann der Adapter nach der Installation nicht gefunden werden, hilft ein Restart. Screenshot_Add_Instance.png

        Beste Grüße
        Elias

        timemachine3030 created this issue in axios/axios

        closed Hotfix: Prevent SSRF #3410

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

          @100prznt Also ich habe das Teil heute zum ersten mal installiert, über Git und es hat auf Anhieb geklappt. Habe die ersten Messdaten da. Nur eins ist mir aufgefallen, das Datum von wann die Messung sein soll ist total daneben. Irgendwas mit 1970... 😬

          Hab aber allerdings die original Version genommen, die sah mir neuer aus.

          Hat denn wer eine nette Visualisierung dafür gebaut ? Oder die Daten irgendwie in Grafana eingebunden, damit man mal ein wenig sieht, wie das sich so verändert. Aussen Temp, Wasser Temp, usw. Würde mir da gern ein Diagramm dazu basteln, weiß aber noch gar nicht wie anfangen.

          100prznt 1 Reply Last reply Reply Quote 0
          • 100prznt
            100prznt @D3ltoroxp last edited by

            @d3ltoroxp sagte in Poollab / Primelab integrieren:

            Hab aber allerdings die original Version genommen, die sah mir neuer aus.

            Was meinst du mit "original Version"?

            Das mit dem Datum ist bekannt. Nach einem Reset wird die Uhr im PoolLAB auf 0 (1. Januar 1970, 00:00 Uhr UTC) gesetzt und erst NACH der ersten Synchronisierung mit der App korrekt gestellt. Daher haben die erstem Messungen (vor dem ersten Sync) einen falschen Zeitstempel.

            D3ltoroxp 1 Reply Last reply Reply Quote 1
            • D3ltoroxp
              D3ltoroxp @100prznt last edited by

              @100prznt Eh die von Lemonshok meinte ich. Oder die war zumindest neuer oder ? (2020) Dein Fork (2019)

              100prznt 1 Reply Last reply Reply Quote 0
              • 100prznt
                100prznt @D3ltoroxp last edited by

                @d3ltoroxp

                Die Version von LemonShock hat den letzten Commit vom 26.06.2020. Auf diesen Stand habe ich meinen Fork aufgesetzt und den "Fehler" mit dem Datentyp korrigiert.
                Meine letzter Commit dazu ist vom 02.06.2021. (Und mein Erster vom 01.06.2021, 2019 hab ich da gar nichts gemacht 😉 )

                Hier die Historie:
                https://github.com/LemonShock/ioBroker.labcom/commits/master
                https://github.com/100prznt/ioBroker.labcom/commits/master

                Beste Grüße Elias

                1 Reply Last reply Reply Quote 1
                • J
                  JohnnyBahama last edited by JohnnyBahama

                  Lässt sich bei mir leider auch nicht installieren. Der alte Adapter zieht keine Daten mehr, nachdem ich das Gerät upgedated habe.
                  Nach dem x-ten Versuch ging es doch wieder.

                  1 Reply Last reply Reply Quote 0
                  • S
                    steimi last edited by

                    Seit dem 2.9.2022 ab ca. 17:00 Uhr funktioniert der Abruf bei mir nicht mehr. Hat jemand das selbe Problem?
                    Anscheinend wurde was an der Cloud-Seite (API) von Labcam geändert. ?!

                    error: labcom.0 (497311) Error: Request failed with status code 405
                    

                    Ich habe die Version 0.1.1 von @100prznt im Einsatz

                    100prznt 2 Replies Last reply Reply Quote 0
                    • 100prznt
                      100prznt @steimi last edited by

                      @steimi Ja, die LabCom Cloud wurde umgestellt. Ich gucke mal was ich machen kann.

                      1 Reply Last reply Reply Quote 1
                      • 100prznt
                        100prznt @steimi last edited by

                        @steimi Funktioniert wieder.
                        Allerdings hat sich auch der LabCom Cloud Token geändert. Nach dem Update also einen neuen Token erzeugen und in die Adapter-Konfiguration übernehmen.

                        https://github.com/100prznt/ioBroker.labcom/

                        M 1 Reply Last reply Reply Quote 2
                        • Nashra
                          Nashra Most Active Forum Testing last edited by

                          Hi, habe mal alle Datenpunkte gelöscht und neu anlegen lassen
                          Ergebnis:

                          labcom.0
                          	549294	2022-09-07 17:21:00.993	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_pH.measurement" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.993	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_Chlorine_Free.timestamp" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.991	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_Chlorine_Free.measurement" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.990	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_Chlorine_Total.timestamp" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.990	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_Chlorine_Total.measurement" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.990	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_Cyanuric_Acid.timestamp" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.990	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_Cyanuric_Acid.measurement" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.989	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_T_Alka.timestamp" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.989	info	State value to set for "labcom.0.accounts.Default_User.parameter.PL_T_Alka.measurement" has to be type "number" but received type "string"
                          labcom.0
                          	549294	2022-09-07 17:21:00.989	info	State value to set for "labcom.0.cloudaccount.lastchange" has to be type "number" but received type "string" 
                          
                          100prznt 1 Reply Last reply Reply Quote 0
                          • 100prznt
                            100prznt @Nashra last edited by

                            @nashra Die Warnungen hatte ich bisher nur bei OR und UR Messungen.

                            Gucke ich mir auf jeden Fall nochmal an. Danke für den Hinweis.

                            100prznt 1 Reply Last reply Reply Quote 0
                            • 100prznt
                              100prznt @100prznt last edited by

                              Läuft nun wieder, auch ohne Warnungen.

                              Messwerte werden ausschließlich als Zahl gespeichert. Bei OR und UR wird NaN an den Messwert-State übergeben.
                              Zusätzlich gibt es zu jedem Parameter einen Status State, dieser enthält eine Info ob das Ergebnis OR oder UR ist.

                              Zeitstempel werden als String gespeichert, der State ist jetzt auch vom Typ String.

                              J 1 Reply Last reply Reply Quote 1
                              • M
                                MyMeyer @100prznt last edited by

                                @100prznt sagte in Poollab / Primelab integrieren:

                                @steimi Funktioniert wieder.
                                Allerdings hat sich auch der LabCom Cloud Token geändert. Nach dem Update also einen neuen Token erzeugen und in die Adapter-Konfiguration übernehmen.

                                https://github.com/100prznt/ioBroker.labcom/

                                Hallo ich habe den Token erneuert und neu im Adapter hinterlegt.
                                Bekommen aber immer noch diese Fehlermeldung:

                                labcom.0
                                2022-12-27 14:03:01.600 info Terminated (NO_ERROR): Without reason
                                labcom.0
                                2022-12-27 14:03:01.567 info cleaned everything up...
                                labcom.0
                                2022-12-27 14:03:01.563 error Error: Request failed with status code 404
                                labcom.0
                                2022-12-27 14:03:01.413 info LabCom adapter - started
                                labcom.0
                                2022-12-27 14:03:01.388 info starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.labcom, node: v16.18.0, js-controller: 4.0.23

                                Woran liegt das ?

                                1 Reply Last reply Reply Quote 0
                                • J
                                  JohnnyBahama @100prznt last edited by

                                  @100prznt Hab nun auch das Update gefahren. Die oben genannten meldungen erscheinen bei mir trotzdem.

                                  1 Reply Last reply Reply Quote 0
                                  • 4
                                    4immerjung last edited by

                                    Bei meinem PoolLab 1.0 habe ich den Adapter 0.1.6 von URL installiert und einen neuen API-Key generiert.
                                    Im iobroker Log werden 405er Fehler angezeigt (Method Not Allowed Error for Rest API).

                                    labcom.0 2023-07-14 22:56:02.518 info Terminated (NO_ERROR): Without reason
                                    labcom.0 2023-07-14 22:56:02.463 info cleaned everything up...
                                    labcom.0 2023-07-14 22:56:02.461 error Error: Request failed with status code 405
                                    labcom.0 2023-07-14 22:56:02.105 info LabCom adapter - started
                                    labcom.0 2023-07-14 22:56:02.055 info starting. Version 0.1.6 (non-npm: 100prznt/ioBroker.labcom#a4c93f8ead24f09c21fde7aad9e96c1c4b1bb712) in /opt/iobroker/node_modules/iobroker.labcom, node: v18.16.1, js-controller: 4.0.24

                                    Viele Grüße
                                    4ij

                                    Flexer 100prznt 2 Replies Last reply Reply Quote 0
                                    • Flexer
                                      Flexer @4immerjung last edited by

                                      Wollte gerade die selbe Problematik posten.

                                      Habe auch Fehler 405. ich habe mal den Abfrageintervall verlängert. Evtl hilft das?

                                      Flexer 1 Reply Last reply Reply Quote 0
                                      • Flexer
                                        Flexer @Flexer last edited by

                                        @lemonshock Hallo und guten Morgen. Betreust du noch den Adapter?

                                        Viele Grüsse Flexer

                                        1 Reply Last reply Reply Quote 0
                                        • 100prznt
                                          100prznt @4immerjung last edited by

                                          @4immerjung Mit was für einem Intervall pullst du denn? Hab gerade nochmal alles getestet (mit 5 Minuten Intervall), läuft jetzt eine Stunde ohne Probleme.

                                          Ggf. kannst du ja nochmal einen neuen LabCom API Token erstellen.

                                          Beste Grüße Elias

                                          Flexer 4 2 Replies Last reply Reply Quote 0
                                          • Flexer
                                            Flexer @100prznt last edited by

                                            @100prznt Hatte den Adapter von git gezogen und der war standardmäßig auf 1 minute eingestellt. Hab das jetzt auf einmal alle 10 minuten gestellt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            784
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter chlor iobroker ph wert poollab primelab
                                            21
                                            106
                                            9740
                                            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