Plugin: LabCom / PoolLab

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Thomas M.
    Lebende Foren Legende
    • 25.08.2015
    • 3300

    #16
    Ähm hat sich irgendwas geändert?
    Habe gerade eine Messung durchgeführt und die wurden nicht zum MS übertragen. Also nichts im mqtt incoming overview von heute drin


    update:
    Wenn ich im plugin "Test" klicke, kommen Daten an. Auch die aktuell gerade gemessenen. Nur gehen die nicht per mqtt raus

    habe nun mal den loxberry neu gestartet und manuell eine messung hinzugefügt. die kann zwar gefetched werden, wird per mqtt aber nicht versendet, hm
    Zuletzt geändert von Thomas M.; 15.07.2021, 18:46.

    Kommentar


    • Thomas M.
      Thomas M. kommentierte
      Kommentar bearbeiten
      update vom update:
      nach dem xten reboot und in wirkclihkeit nichts ändern und immer wieder probiern (manuell messwerte anlegen) gehts auf einmal wieder, hm
      Zuletzt geändert von Thomas M.; 15.07.2021, 20:39.
  • Prof.Mobilux
    Supermoderator
    • 25.08.2015
    • 5069

    #17
    Habe soeben Version 0.2.0 released: https://github.com/mschlenstedt/LoxB...Com-V0.2.0.zip

    Achtung! Mit dem Release hat sich das Topic und damit der Virtuelle Eingang geändert!

    Änderungen:
    • New topic to seperate manually added measurements
    • Link to help pages updated


    🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine


    LoxBerry - Beyond the Limits

    Kommentar

    • Thomas M.
      Lebende Foren Legende
      • 25.08.2015
      • 3300

      #18
      Die Äderung verstehe ich jetzt nciht ganz.

      Ich füge manuell eine Messung hinzu, die taucht im mqtt udp transmissions bzw. http virtual inputs jetzt nicht mehr auf. hm.
      Zuletzt geändert von Thomas M.; 24.07.2021, 09:20.

      Kommentar

      • Thomas M.
        Lebende Foren Legende
        • 25.08.2015
        • 3300

        #19
        So wenn ich im labcom plugin "test" mache, sehe ich die aktuell neu gemessenen DAten.#

        "... Received data:
        {"data":{"CloudAccount":{"email":"mail@mail.bla bla ","last_change_time":1627133363,"Accounts":[{"forename":"Thomas","surname":"asdfasdf","Me asu rements":[{"value":"0.22","unit":"ppm (fCl2) ..."

        diese 0.22 gibt es aber an keiner Stelle im incoming overview im mqtt, hm.

        Also "test" habe ich gemacht, um zu sehen ob überhaupt was abgerufen wird. ja die aktuelle messung in der cloud.
        Aber die kommt nicht bei mqtt an oder keine Ahnung. Soviel zum Einstellen gibts im plugin nicht.

        Hab jetzt neben der messung auch den messert per manueller messung hinzugefügt.
        per Test m plugin sehe ich diesen, mqtt bekommt diesen auch nicht.


        pS: Hatte ich vor deinem update auch schon mal. ich habe auf einmal keinen einzigen wert mehr bekommen.
        Auf einmal gings wieder, alles für mich nicht nachstellbar.
        Zuletzt geändert von Thomas M.; 24.07.2021, 15:24.

        Kommentar

        • Prof.Mobilux
          Supermoderator
          • 25.08.2015
          • 5069

          #20
          Die Tonics haben sich geändert..virtuelle Eingänge müsst ihr neu erstellen. Bei version 0.1.0 war es noch so, dass sich verschiedene manuell in der cloud hinzugefügte Messungen überschrieben haben.
          🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine


          LoxBerry - Beyond the Limits

          Kommentar

          • Thomas M.
            Lebende Foren Legende
            • 25.08.2015
            • 3300

            #21
            Vorher muss i ja mal im incoming overview in mqtt wal was sehen, damit ich die VIs neu anlegen kann. Da kommt aber nichts, hm.

            Ich mein da kommt schon was. Die alten messungen, aber neue sind nicht dabei. Also wenn ich jetzt eine Messung mache kommen nur daten von alten messungen in mqtt an
            Zuletzt geändert von Thomas M.; 25.07.2021, 08:29.

            Kommentar

            • Prof.Mobilux
              Supermoderator
              • 25.08.2015
              • 5069

              #22
              Mmmhh, stellst mal das Logging auf debug und wartest 10 Min. Dann mal das letzte log hier anhängen. Zur Sicherheit vorher mal neu starten.
              🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine


              LoxBerry - Beyond the Limits

              Kommentar

              • Thomas M.
                Lebende Foren Legende
                • 25.08.2015
                • 3300

                #23
                Komisch ... ich habe nun einen 2tes konto angelegt. pool vom däddi.
                Messungen durchgeführt und schwupps, in mqtt sind diese da. Hier könnte ich einen (neuen) VI anlegen.

                Bei meinem Konto werden nur alte Werte an mqtt bermittelt. Wie erwähnt, letzte Messung war 0,22 freies Chlor. die vorletzte war irgendwo 0,5 => die 0,5 finde ich in mqtt, die 0,22 nicht.

                PS: Die 0,22 waren nicht manual added, die wurden gemessen

                unter "test" vom plugin sind jedenfalls alle messwerte zu finden (auch die 0,22), von allen konten

                "Received data:
                {"data":{"CloudAccount":{"email":"asdf ","last_change_time":1627228463,"Accounts":[{"forename":...

                {"forename":"Thomas","surname":"M.","Mea surements":[{"value":"0.22","unit":"ppm (fCl2) ..."

                Zuletzt geändert von Thomas M.; 25.07.2021, 18:07.

                Kommentar


                • Thomas M.
                  Thomas M. kommentierte
                  Kommentar bearbeiten
                  Log Viewer - /plugins/labcom/20210725_190002_392_labcomgrabber.log
                  ================================================== ==============================
                  25.07.2021 19:00:02 TASK STARTED
                  LabCom Cloud Grabber process started
                  INFO: LoxBerry Version 2.2.1.1 ( is_raspberry.cfg )
                  INFO: LabCom Version 0.2.0
                  INFO: Loglevel: 7
                  This is /opt/loxberry/bin/plugins/labcom/labcomgrabber.pl Version 0.2.0
                  INFO: Fetching Data from https://labcom.cloud/graphql
                  Status: 200 OK
                  OK: Data fetched successfully from https://labcom.cloud/graphql
                  Connect to MQTT Broker
                  INFO: Parsing Account nicht mein pool
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Existing measurement from 1627228361 is newer or equal than found measurement (1627228361)
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Existing measurement from 1627228174 is newer or equal than found measurement (1627228174)
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Existing measurement from 1627228042 is newer or equal than found measurement (1627228042)

                  INFO: Parsing Account mein pool
                  --> Found Measurement manually_added/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement manually_added/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 430-Total-Alkalinity/PL_T-Alka
                  Existing measurement from 1625773488 is newer or equal than found measurement (1625773488)
                  --> Found Measurement 431-Cyanuric-Acid/PL_Cyanuric_Acid
                  Existing measurement from 1625773349 is newer or equal than found measurement (1625773349)
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 421-Chlorine-Total/PL_Chlorine_Total
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 428-Chlorine-Free/PL_Chlorine_Free
                  Measurement is newer than existing one. Send data to broker.
                  --> Found Measurement 429-pH-PoolLab/PL_pH
                  Measurement is newer than existing one. Send data to broker.
                  25.07.2021 19:00:13 TASK FINISHED
              • Christian Fenzl
                Lebende Foren Legende
                • 31.08.2015
                • 11250

                #24
                Im MQTT Log kannst auch schauen, ob was rein kommt.
                Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

                Kommentar

                • Thomas M.
                  Lebende Foren Legende
                  • 25.08.2015
                  • 3300

                  #25
                  Keine Ahnung jedenfalls.

                  Wenn ich bei meinen Konto einen manuellen oder gemessenen messwert in die clud jage, ist diese zwar bei "test" zu sehen, bei mqtt kommt er nicht an.
                  Beim anderen Konto gehts.

                  Das hatte ich schon mal, auf einmal gings wieder, habe aber keine ahnugn mehr was ich bei "auf einmal" gemacht habe. gefühlt nichts. LB neustart, ... alles mögliche

                  Kommentar

                  • Thomas M.
                    Lebende Foren Legende
                    • 25.08.2015
                    • 3300

                    #26
                    Hab nochmal herumprobiert ... es gib beim incoming overview nichts das jetzt anders aussuieht als vorher.
                    keine ahnung es kommt nix an.


                    hab plugin deinstallt, lb rebootet, neu installiert , jetzt kommt wieder alles mögliche an
                    Zuletzt geändert von Thomas M.; 27.07.2021, 07:56.

                    Kommentar

                    • Prof.Mobilux
                      Supermoderator
                      • 25.08.2015
                      • 5069

                      #27
                      Habe soeben Version 0.2.1 released: https://github.com/mschlenstedt/LoxB...Com-V0.2.1.zip

                      Änderungen:
                      • Removed own cache file. Use values from broker/MQTT to find out latest measurement
                      • Send timestamps also in human readable format
                      • Only parse measurements if account data has changed since last run
                      🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine


                      LoxBerry - Beyond the Limits

                      Kommentar

                      • Thomas M.
                        Lebende Foren Legende
                        • 25.08.2015
                        • 3300

                        #28
                        Funktioniert nun perfekt! Danke fürs plugin und die fixes

                        Kommentar

                        • Gargamel
                          MS Profi
                          • 16.12.2018
                          • 722

                          #29
                          Hallo,
                          ich habe mir vorgestern das Plugin installiert, erstmal vielen Dank dafür!

                          Allerdings aktualisieren sich die Werte nicht.
                          Ich messe den PH Wert und den Chlorgehalt.
                          Nach der Messung werden die Werte sofort in die LabCom App übertragen und in die Cloud werden die Werte auch geschrieben.

                          Allerdings werden die Werte nicht im MQTT Plugin aktualisiert. Gestern haben sich die Werte nach ca. 2Stunden aktualisiert, heute tut sich nichts mehr.

                          Ansonsten funktioniert das MQTT Plugin eigentlich fehlerfrei.

                          An was könnte das liegen? Hat das Problem sonst noch jemand?
                          Angehängte Dateien

                          Kommentar

                          • Gargamel
                            MS Profi
                            • 16.12.2018
                            • 722

                            #30
                            Hier noch das test file
                            Angehängte Dateien

                            Kommentar

                            Lädt...