Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Withings v0.0.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Withings v0.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @robson last edited by Thomas Braun

      @robson

      Ohne konkreten Verdacht:

      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update > /dev/null  && sudo apt update && apt policy nodejs
      

      sagt dir?

      R 1 Reply Last reply Reply Quote 0
      • R
        robson @Thomas Braun last edited by robson

        @thomas-braun

        Sagt mir zwar folgendes, aber mir relativ wenig:

        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v12.22.8
        v12.22.8
        6.14.15
        
        WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
        
        OK:1 https://deb.nodesource.com/node_12.x buster InRelease
        OK:2 http://archive.raspberrypi.org/debian buster InRelease
        OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Aktualisierung für 4 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
        nodejs:
          Installiert:           12.22.8-deb-1nodesource1
          Installationskandidat: 12.22.8-deb-1nodesource1
          Versionstabelle:
         *** 12.22.8-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        

        Und

        apt list --upgradable
        

        gibt aus:

        Auflistung... Fertig
        apache2-bin/oldstable 2.4.38-3+deb10u7 armhf [aktualisierbar von: 2.4.38-3+deb10u6]
        apache2-data/oldstable 2.4.38-3+deb10u7 all [aktualisierbar von: 2.4.38-3+deb10u6]
        apache2-utils/oldstable 2.4.38-3+deb10u7 armhf [aktualisierbar von: 2.4.38-3+deb10u6]
        apache2/oldstable 2.4.38-3+deb10u7 armhf [aktualisierbar von: 2.4.38-3+deb10u6]
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @robson last edited by Thomas Braun

          @robson
          Unabhängig vom 'Problem' würde ich auch die empfohlene und für ioBroker vorgesehene V14 springen.

          Und den Indianer auch gleich auf Stand bringen.

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

            @robson spontan fällt mir auch nichts ein außer node und js-controller zu aktualisieren

            1 Reply Last reply Reply Quote 0
            • R
              robson last edited by

              @thomas-braun sagte in Test Withings v0.0.x:

              @robson
              Unabhängig vom 'Problem' würde ich auch die empfohlene und für ioBroker vorgesehene V14 springen.

              Und den Indianer auch gleich auf Stand bringen.

              @tombox sagte in Test Withings v0.0.x:

              @robson spontan fällt mir auch nichts ein außer node und js-controller zu aktualisieren

              Freunde, das wars 🙂 Node ist jetzt auf v14.x und der Adapter läuft.
              Ich teste in den kommenden Tagen mal fleißig und berichte.

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @robson last edited by

                @robson

                'Kontrolle':

                which nodejs node npm && nodejs -v && node -v && npm -v && whoami && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                iobroker update -i
                
                R 1 Reply Last reply Reply Quote 0
                • R
                  robson @Thomas Braun last edited by

                  @thomas-braun

                  Es passt. Node steht auf 14.18.2 und NPM auf 6.14.15.

                  Danke noch mal.

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @robson last edited by Thomas Braun

                    @robson

                    Bitte die komplette Ausgabe zeigen.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      robson @Thomas Braun last edited by

                      @thomas-braun
                      Wieso möchtest du das so genau wissen? Aber ich habe nichts zu verbergen:

                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v14.18.2
                      v14.18.2
                      6.14.15
                      pi
                      OK:1 https://deb.nodesource.com/node_14.x buster InRelease
                      OK:2 http://archive.raspberrypi.org/debian buster InRelease
                      OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Alle Pakete sind aktuell.
                      nodejs:
                        Installiert:           14.18.2-deb-1nodesource1
                        Installationskandidat: 14.18.2-deb-1nodesource1
                        Versionstabelle:
                       *** 14.18.2-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @robson last edited by

                        @robson sagte in Test Withings v0.0.x:

                        Wieso möchtest du das so genau wissen? Aber ich habe nichts zu verbergen:

                        Weil hier schon mehr als einmal jemand behauptet hat:
                        Jaja, alles richtig installiert! Natürlich!

                        Und bei Rückfrage war dann doch alles krumm im System.

                        Aber bist entlassen, passt alles. 😄

                        1 Reply Last reply Reply Quote 0
                        • R
                          robson @Stadtschloss last edited by

                          @stadtschloss sagte in Test Withings v0.0.x:

                          @tombox Wow! Vielen Dank für den Adapter. Der Login und die Daten holen hat problemlos geklappt 🙂

                          Eine Frage zum sleepSummary. Dort befinden sich die Tage als Ordner. Die Ordnernamen verstehe ich jedoch nicht (Zahlenkombination anscheint die ID). Hättest du dafür eine Beschreibung?

                          Hier wäre eine Ordnerstruktur gut, die immer gleich bleibt. Also zum Beispiel. Heute, Minus Erster Tag, Minus 2 Tag etc..

                          Bildschirmfoto 2022-01-06 um 17.00.37.png

                          Ich weiß nicht, ob es bei mir bereits die von @tombox angesprochenen Änderungen sind, aber die Schlafdaten meines Aura Sensor V2 werden wie folgt dargestellt:
                          sleepsummary.jpg

                          Die gelb markierte ID, ist die Nummer, die bei dir die Ordnernamen darstellt.

                          T 1 Reply Last reply Reply Quote 0
                          • R
                            robson last edited by

                            @tombox Was ich aktuell noch vermisse, ist der Status, den mein Sleep Sensor ausgibt. True = im Bett, False = nicht im Bett.

                            Ich habe mir mal die API-Beschreibung bei Withings angeschaut. Kann es sein, dass dies der "sleep state" ist? Den finde ich nämlich aktuell in meinen Objekten nicht.
                            api.jpg

                            Hintergrund: über diesen Status steuere ich aktuell Aktivierung/Deaktivierung des Hüllschutzes im Haus. MeineAbfrage läuft aktuell über IFTTT. Das ist aber leider fehleranfällig und träge.

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

                              @robson Gut dass das funktioniert hat ist nur die frage ob das oberste element immer das aktuellste ist und ist die frage ob der andere endpunkt auch relevant ist
                              "Provides the sleep measures for the night of the user, with the details of each phase of their sleep cycle."

                              R 1 Reply Last reply Reply Quote 0
                              • T
                                tombox @robson last edited by

                                @robson Ich habe mal den sleep get endpoint hinzugefügt aber keine ahnung wie daten aussehen die da rausfallen

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  robson @tombox last edited by

                                  @tombox sagte in Test Withings v0.0.x:

                                  @robson Gut dass das funktioniert hat ist nur die frage ob das oberste element immer das aktuellste ist und ist die frage ob der andere endpunkt auch relevant ist
                                  "Provides the sleep measures for the night of the user, with the details of each phase of their sleep cycle."

                                  Das aktuellste Element (die letzte Nacht) ist immer der letzte Eintrag. Bei mir aktuell #29. Ich gehe davon aus, dass die Daten nach einem Monat überschrieben werden. Da ich bereits 29 Elemente habe, kann ich in ein paar Tagen berichten.
                                  sleepsummary1.jpg

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

                                    @robson Ich hole die letzten 30 Tage ist die Frage ob das sinnvoll ist

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      robson @tombox last edited by

                                      @tombox sagte in Test Withings v0.0.x:

                                      ch habe mal den sleep get endpoint hinzugefügt aber keine ahnung wie daten aussehen die da rausfallen

                                      Ich schaue mir das mal an. Einen Boolean State für den Status des Sleep Sensors hast du nicht noch zufällig irgendwo gefunden, den ich nutzen könnte?
                                      Der Sleep Get Endpoint scheint etwas anderes zu sein.

                                      T 1 Reply Last reply Reply Quote 0
                                      • R
                                        robson @tombox last edited by

                                        @tombox sagte in Test Withings v0.0.x:

                                        @robson Ich hole die letzten 30 Tage ist die Frage ob das sinnvoll ist

                                        Zum Testen sicherlich. Wäre später vllt eine Überlegung wert, dies konfigurierbar zu machen.

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

                                          @robson Wie gesagt ich habe kein Gerät ich benötige noch ein Account mit Geräten

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            DocGame @tombox last edited by

                                            @tombox Leider bleibt der Adapter rot. Die Tokens usw. stimmen. An was könnte das liegen?

                                            host.iobroker	2022-01-06 22:29:47.137	error	instance system.adapter.withings.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                            host.iobroker	2022-01-06 22:29:47.137	error	Caught by controller[0]: at Withings.onReady (/opt/iobroker/node_modules/iobroker.withings/main.js:62:9)
                                            host.iobroker	2022-01-06 22:29:47.137	error	Caught by controller[0]: at Withings.login (/opt/iobroker/node_modules/iobroker.withings/main.js:134:22)
                                            host.iobroker	2022-01-06 22:29:47.137	error	Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                            host.iobroker	2022-01-06 22:29:47.137	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.withings/main.js:155:77
                                            host.iobroker	2022-01-06 22:29:47.137	error	Caught by controller[0]: TypeError: Cannot read property 'split' of undefined
                                            host.iobroker	2022-01-06 22:29:47.137	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected
                                            withings.0	2022-01-06 22:29:46.521	warn	(29954) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                            withings.0	2022-01-06 22:29:46.521	info	(29954) terminating
                                            withings.0	2022-01-06 22:29:46.509	error	(29954) Cannot read property 'split' of undefined
                                            withings.0	2022-01-06 22:29:46.509	error	(29954) TypeError: Cannot read property 'split' of undefined at /opt/iobroker/node_modules/iobroker.withings/main.js:155:77 at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                            withings.0	2022-01-06 22:29:46.507	error	(29954) unhandled promise rejection: Cannot read property 'split' of undefined
                                            withings.0	2022-01-06 22:29:46.507	error	(29954) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                            meross.0	2022-01-06 22:29:46.026	warn	(11554) Can not get Abilities for Device 1909026636379339089948e1e95136a7: Error: Timeout / undefined
                                            withings.0	2022-01-06 22:29:45.204	info	(29954) starting. Version 0.0.1 in /opt/iobroker/node_modules/iobroker.withings, node: v14.17.0, js-controller: 3.3.22
                                            host.iobroker	2022-01-06 22:29:44.491	info	instance system.adapter.withings.0 started with pid 29954
                                            
                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            437
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            516
                                            84578
                                            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