Loxberry Netatmo Weather PlugIn

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Michael M.
    LoxBus Spammer
    • 23.03.2016
    • 237

    #211
    Wieder ein Jahr rum - wieder Weihnachten - Zeit für ein Update:

    - 2021-12-29 Release 2.0.5 - PRE-RELEASE: added next-hop URL after authentication for stability issues, if account has also Netatmo Welcome Cameras enabled
    - 2020-12-27 Release 2.0.4 - RELEASE: Various bug fixings, beginning of general.json, implemented logging to log file

    Kommentar

    • ibiza1425
      Dumb Home'r
      • 05.01.2022
      • 20

      #212
      Ich habe gerade die Version 2.0.4 installiert und getestet:

      Der Luxone UDP Monitor empfängt keine Daten. In der "netatmo-weather.log" stehen alle Stationen und Werte korrekt, ebenfalls Miniserver IP


      Code:
      2022-01-05 10:20:02 root INFO using plugin log file /opt/loxberry/log/plugins/netatmo-weather/netatmo-weather.log
      2022-01-05 10:20:02 root INFO using system configuration file /opt/loxberry/config/system/general.json
      2022-01-05 10:20:02 root INFO Miniserver ip address: [B](korrekte IP)[/B]
      2022-01-05 10:20:02 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): auth.netatmo.com:443
      2022-01-05 10:20:03 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "GET /en-us/access/login HTTP/1.1" 200 None
      2022-01-05 10:20:03 root INFO Successfully got session cookie from https://auth.netatmo.com/en-us/access/login
      2022-01-05 10:20:03 root INFO Found _token value ['L3IcBaO3nFJhQRGfx3lFT1LhLwXYVqjo3B1G60hm'] in response from https://auth.netatmo.com/en-us/access/login
      2022-01-05 10:20:20 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "POST /access/postlogin HTTP/1.1" 302 334
      2022-01-05 10:20:20 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): my.netatmo.com:443
      2022-01-05 10:20:20 urllib3.connectionpool DEBUG https://my.netatmo.com:443 "GET / HTTP/1.1" 302 0
      2022-01-05 10:20:21 urllib3.connectionpool DEBUG https://my.netatmo.com:443 "GET /app HTTP/1.1" 302 0
      2022-01-05 10:20:22 urllib3.connectionpool DEBUG https://my.netatmo.com:443 "GET /app/station HTTP/1.1" 200 None
      2022-01-05 10:20:22 root INFO Successfully logged in using username (meine EMail) and password xxxxxxxxxx to https://auth.netatmo.com/access/postlogin
      2022-01-05 10:20:22 root INFO Found netatmocomaccess_token value 61a0f45e4584a8635e25154a%7Caacddfb0146b97bb4fb55ad 0d07e65fc in response from https://auth.netatmo.com/access/postlogin
      2022-01-05 10:20:22 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): api.netatmo.com:443
      2022-01-05 10:20:22 urllib3.connectionpool DEBUG https://api.netatmo.com:443 "POST /api/getstationsdata HTTP/1.1" 200 None
      2022-01-05 10:20:22 root INFO Querying queried API https://api.netatmo.com/api/getstationsdata
      2022-01-05 10:20:22 root INFO Successfully queried queried API https://api.netatmo.com/api/getstationsdata
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.wifi_status=80
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.reachable=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.time_utc=410609559
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.Temperature=22.3
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.CO2=712
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.Humidity=55
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.Noise=32
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.Pressure=1008.3
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.AbsolutePressure=994.9
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.min_temp=22
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.max_temp=22.3
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.date_max_temp=410572860
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.date_min_temp=410597859
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.temp_trend=0
      2022-01-05 10:20:22 root INFO WOHNHAUS.ESSZIMMER.pressure_trend=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.battery_percent=99
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.rf_status=63
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.reachable=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.time_utc=410609543
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.Temperature=4.1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.Humidity=72
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.min_temp=2.8
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.max_temp=7.3
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.date_max_temp=410573141
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.date_min_temp=410604673
      2022-01-05 10:20:22 root INFO WOHNHAUS.Hof.temp_trend=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.battery_percent=96
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.rf_status=86
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.reachable=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.time_utc=410609556
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.WindStrength=2
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.WindAngle=249
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.GustStrength=8
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.GustAngle=309
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.max_wind_str=13
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.max_wind_angle=302
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.date_max_wind_str=410606224
      2022-01-05 10:20:22 root INFO WOHNHAUS.Windmesser.WindHistoric=[{'time_utc': 1641373956, 'WindStrength': 2, 'WindAngle': 249}, {'time_utc': 1641373655, 'WindStrength': 1, 'WindAngle': 239}, {'time_utc': 1641373354, 'WindStrength': 2, 'WindAngle': 270}, {'time_utc': 1641373046, 'WindStrength': 2, 'WindAngle': 270}, {'time_utc': 1641372745, 'WindStrength': 2, 'WindAngle': 270}, {'time_utc': 1641372444, 'WindStrength': 3, 'WindAngle': 270}, {'time_utc': 1641372142, 'WindStrength': 2, 'WindAngle': 245}, {'time_utc': 1641371835, 'WindStrength': 2, 'WindAngle': 285}, {'time_utc': 1641371534, 'WindStrength': 2, 'WindAngle': 270}, {'time_utc': 1641371232, 'WindStrength': 2, 'WindAngle': 288}, {'time_utc': 1641370931, 'WindStrength': 2, 'WindAngle': 270}, {'time_utc': 1641370624, 'WindStrength': 2, 'WindAngle': 270}]
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.battery_percent=98
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.rf_status=86
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.reachable=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.time_utc=410608069
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.Rain=0
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.sum_rain_1=0
      2022-01-05 10:20:22 root INFO WOHNHAUS.Regenmesser.sum_rain_24=1.2
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.battery_percent=97
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.rf_status=77
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.reachable=1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.time_utc=410609531
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.Temperature=22
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.CO2=602
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.Humidity=54
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.min_temp=21.5
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.max_temp=22.1
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.date_max_temp=410604968
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.date_min_temp=410585997
      2022-01-05 10:20:22 root INFO WOHNHAUS.Wohnzimmer.temp_trend=0

      meine Config /opt/loxberry/config/plugins/netatmo-weather/netatmo.cfg

      Code:
       Config::Simple 4.59
      ; Wed Jan 5 08:38:51 2022
      
      [NETATMO]
      ENABLED=1
      USERNAME=meine EMail
      MINISERVER=MINISERVER1
      PASSWORD=mein PW
      UDPPORT=5005
      LOCALTIME=1
      python3 /opt/loxberry/data/plugins/netatmo-weather/netatmo_APIBody.py | jq --> alles ohne Fehler mit korrekten Daten

      python3 /opt/loxberry/data/plugins/netatmo-weather/netatmo.py --> angeblich keine conf aber ist mir korrekten Daten ja vorhanden (/opt/loxberry/config/plugins/netatmo-weather/netatmo.cfg
      )
      Code:
      Number of arguments: 1 arguments.
      Argument List: ['/opt/loxberry/data/plugins/netatmo-weather/netatmo.py']
      using plugin log file netatmo-weather.log
      Plugin configuration file missing netatmo.cfg

      Ich habe auch schon mir anderen UDPPORTs getestet, ohne Erfolg. Am Luxone kommt nichts an.


      Ich habe via SSH vom LoxBerry ein Ping an die Miniserver geschickt
      nping --udp -p 5005 MiniserverIP

      Code:
      Starting Nping 0.7.70 ( https://nmap.org/nping ) at 2022-01-05 10:46 CET
      SENT (0.0036s) UDP packet with 4 bytes to (MiniserverIP):5005
      ERR: (0.0046s) READ to (MiniserverIP):5005 failed: Connection refused



      Hat jemand eine Idee?
      Zuletzt geändert von ibiza1425; 05.01.2022, 09:49.

      Kommentar

      • singertom
        Dumb Home'r
        • 15.04.2020
        • 14

        #213
        Michael M. Kann dir vlt. weiterhelfen:-)

        Kommentar

        • Christian Fenzl
          Lebende Foren Legende
          • 31.08.2015
          • 11243

          #214
          Was ist denn die Miniserver-IP und die vom LoxBerry?
          Wenn überhaupt kein UDP ankommt, dann ist die Verbindung zum Miniserver dicht.
          Das hat dann auch nichts mit dem Plugin zu tun.
          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

          Kommentar

          • ibiza1425
            Dumb Home'r
            • 05.01.2022
            • 20

            #215
            Es ist ein Miniserver Gen2 gestern in Betrieb genommen. Ich habe abends auch das MQTT und Comfoconnect Plugin installiert. Hier funktioniert die Kommunikation perfekt (ist aber ja kein udp) Wie kann ich noch testen wo die Ursache liegt?

            Kommentar

            • ibiza1425
              Dumb Home'r
              • 05.01.2022
              • 20

              #216
              Ein Neustart des PCs mit der LuxoneConf software hat geholfen... funktioniert jetzt alles (warum auch immer)

              Kommentar

              • tregniw
                Dumb Home'r
                • 02.09.2015
                • 27

                #217
                Hallo,

                ich hab hier seit ein paar Tagen ebenfalls das Problem, dass ich keine UDP Daten mehr erhalte. Hab inzwischen auf Version 2.0.5 upgedatet. Hat aber nichts geholfen.

                Im Log habe ich folgendes stehen, wobei ich sicher sagen kann, dass das Passwort und user stimmen:

                2022-01-06 15:00:02 root INFO using plugin log file /opt/loxberry/log/plugins/netatmo-weather/netatmo-weather.log
                2022-01-06 15:00:02 root INFO using system configuration file /opt/loxberry/config/system/general.json
                2022-01-06 15:00:02 root INFO Miniserver ip address: 10.0.0.3
                2022-01-06 15:00:02 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): auth.netatmo.com:443
                2022-01-06 15:00:08 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "GET /en-us/access/login HTTP/1.1" 200 None
                2022-01-06 15:00:08 root INFO Successfully got session cookie from https://auth.netatmo.com/en-us/access/login
                2022-01-06 15:00:08 root INFO Found _token value ['yfKWllsl0qPARicfB2lOQvKLX2Fs0ErEbEcmqYyo'] in response from https://auth.netatmo.com/en-us/access/login
                2022-01-06 15:00:37 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "POST /access/postlogin?next_url=https%3A%2F%2Fmy.netatmo.com%2F app%2Fstation%2F HTTP/1.1" 302 418
                2022-01-06 15:00:37 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "GET /en-us/access/login HTTP/1.1" 200 None
                2022-01-06 15:00:37 root INFO Successfully logged in using username roman.wingert@live.at and password xxxxxxxxxx to https://auth.netatmo.com/access/postlogin
                2022-01-06 15:00:37 root CRITICAL No netatmocomaccess_token value found in session cookie - probably wrong username/password

                Hat jemand ein ähnliches Verhalten?

                lg Roman

                Kommentar

                • tregniw
                  Dumb Home'r
                  • 02.09.2015
                  • 27

                  #218
                  Geht wieder…keine Ahnung warum. Hab den Miniserver mal rebootet.

                  Kommentar

                  • ChrisR
                    Extension Master
                    • 07.12.2020
                    • 192

                    #219
                    Ich hab das Plugin for ein paar Tagen installiert und bekomme leider auch keine UDP-Nachrichten.

                    - Den Miniserver und Loxberry habe ich mehrmals neu gestartet
                    - Auch verschiedenen Ports probiert
                    - Von Netatmo bekomme ich alle 5 Minuten alle Mail, dass erfolgreich eingeloggt wurde


                    2022-02-18 11:35:02 root INFO using plugin log file /opt/loxberry/log/plugins/netatmo-weather/netatmo-weather.log
                    2022-02-18 11:35:02 root INFO using system configuration file /opt/loxberry/config/system/general.json
                    2022-02-18 11:35:02 root INFO Miniserver ip address: 192.168.178.65
                    2022-02-18 11:35:02 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): auth.netatmo.com:443
                    2022-02-18 11:35:04 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "GET /en-us/access/login HTTP/1.1" 200 None
                    2022-02-18 11:35:04 root INFO Successfully got session cookie from https://auth.netatmo.com/en-us/access/login
                    2022-02-18 11:35:04 root INFO Found _token value ['RQyCdcFEcWuMpyFbIFemimT3iAEljUJ8ocMCnUz2'] in response from https://auth.netatmo.com/en-us/access/login
                    2022-02-18 11:35:21 urllib3.connectionpool DEBUG https://auth.netatmo.com:443 "POST /access/postlogin?next_url=https%3A%2F%2Fmy.netatmo.com%2F app%2Fstation%2F HTTP/1.1" 302 386
                    2022-02-18 11:35:21 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): my.netatmo.com:443
                    2022-02-18 11:35:22 urllib3.connectionpool DEBUG https://my.netatmo.com:443 "GET /app/station/ HTTP/1.1" 200 None
                    2022-02-18 11:35:22 root INFO Successfully logged in using username xxxxxxxxxxxxxxxxxx and password xxxxxxxxxx to https://auth.netatmo.com/access/postlogin
                    2022-02-18 11:35:22 root INFO Found netatmocomaccess_token value 5fde0f37a4b3604df448a5f5%7C3ac668996fe51017926d355 f3ea3f6f8 in response from https://auth.netatmo.com/access/postlogin
                    2022-02-18 11:35:22 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): api.netatmo.com:443
                    2022-02-18 11:35:23 urllib3.connectionpool DEBUG https://api.netatmo.com:443 "POST /api/getstationsdata HTTP/1.1" 200 None
                    2022-02-18 11:35:23 root INFO Querying queried API https://api.netatmo.com/api/getstationsdata
                    2022-02-18 11:35:23 root INFO Successfully queried queried API https://api.netatmo.com/api/getstationsdata

                    Kommentar


                    • ChrisR
                      ChrisR kommentierte
                      Kommentar bearbeiten
                      Hat keiner eine Idee?
                      Das Problem lässt sich nicht mit Neustarts oder Neuinstallation des Plugins lösen.

                      Auch das Log schaut für mich ok aus. Zumindest kann ich keine Probleme erkennen
                  • Michael M.
                    LoxBus Spammer
                    • 23.03.2016
                    • 237

                    #220
                    Zitat von ChrisR
                    Ich hab das Plugin for ein paar Tagen installiert und bekomme leider auch keine UDP-Nachrichten.

                    - Den Miniserver und Loxberry habe ich mehrmals neu gestartet
                    - Auch verschiedenen Ports probiert
                    - Von Netatmo bekomme ich alle 5 Minuten alle Mail, dass erfolgreich eingeloggt wurde

                    Kannst du dich per SSH mit dem Loxberry verbinden und das Plugin manuell starten mit:

                    python3 /opt/loxberry/data/plugins/netatmo-weather/netatmo.py --config /opt/loxberry/config/plugins/netatmo-weather/netatmo.cfg

                    Dann einfach die Ausgabe hier posten, wenn du damit nicht weiterkommst.

                    Kommentar

                  • Gast

                    #221
                    Hallo Zusammen,
                    ich habe auch das Problem dass keine Daten bei Loxone Miniserver ankommen.
                    Bei Abfrage per Telnet am Loxberry bekomme ich deine posivite Rückmeldung, wie folgt:

                    Argument List: ['/opt/loxberry/data/plugins/netatmo-weather/netatmo.py', '--conf ig', '/opt/loxberry/config/plugins/netatmo-weather/netatmo.cfg']
                    using plugin log file netatmo-weather.log
                    using system configuration file /opt/loxberry/config/system/general.json
                    Miniserver ip address: XXXXXX
                    Starting new HTTPS connection (1): auth.netatmo.com:443
                    https://auth.netatmo.com:443 "GET /en-us/access/login HTTP/1.1" 200 None
                    Successfully got session cookie from https://auth.netatmo.com/en-us/access/login
                    Found _token value ['8Kgrcop2AgXx1ydFWDxkad0xGOCjOjoHj99cCh2h'] in response from https://auth.netatmo.com/en-us/access/login
                    https://auth.netatmo.com:443 "POST /access/postlogin HTTP/1.1" 302 334
                    Starting new HTTPS connection (1): my.netatmo.com:443
                    https://my.netatmo.com:443 "GET / HTTP/1.1" 302 0
                    https://my.netatmo.com:443 "GET /app HTTP/1.1" 302 0
                    https://my.netatmo.com:443 "GET /app/station HTTP/1.1" 200 None
                    Successfully logged in using username XXXXXX and password xxxxxxxxxx to https://auth.netatmo.com/access/postlogin
                    Found netatmocomaccess_token value 55c4a051485a889487b573b2%7C8415615377c91d76c812858 bc479c5c3 in response from https://auth.netatmo.com/access/postlogin
                    Starting new HTTPS connection (1): api.netatmo.com:443
                    https://api.netatmo.com:443 "POST /api/getstationsdata HTTP/1.1" 200 None
                    Querying queried API https://api.netatmo.com/api/getstationsdata
                    Successfully queried queried API https://api.netatmo.com/api/getstationsdata

                    Neustart beider Server hat bisher nichts geholfen.
                    Kann jemand helfen?
                    danke
                    VG
                    Joerg

                    Kommentar


                    • ChrisR
                      ChrisR kommentierte
                      Kommentar bearbeiten
                      Hi Joerg
                      Das schaut bei mir recht ähnlich aus (Post #220.1). Hat es bei dir schon mal funktioniert?
                      Grüße Chris
                  • Gast

                    #222
                    Hallo Zusammen,
                    bei mir hat das Plugin super funktioniert. Am 27.02. zur Mittagszeit auf einmal nicht mehr und auch seitdem nicht mehr. Trotz Update auf die neuste Version!
                    Kann jemand helfen?
                    danke

                    Kommentar

                    • Michael M.
                      LoxBus Spammer
                      • 23.03.2016
                      • 237

                      #223
                      Hmm sehr komisch..... könnt ihr testweise in der netatmo.py mal folgendes anpassen:

                      Code:
                      """
                      convert the response into json
                      """
                      netatmodata = json.loads(req.text)
                      zu

                      Code:
                      """
                      convert the response into json
                      """
                      netatmodata = json.loads(req.text)
                      print(netatmodata)
                      sys.exit(-1)
                      Danach das Script nochmal ausführen:
                      python3 /opt/loxberry/data/plugins/netatmo-weather/netatmo.py --config /opt/loxberry/config/plugins/netatmo-weather/netatmo.cfg

                      Damit sollte direkt das Ergebnis der Netamo API auf der Kommandozeile angezeigt werden. Vielleicht gibt das weiteren Aufschluss über die Ursache.

                      Kommentar


                      • ChrisR
                        ChrisR kommentierte
                        Kommentar bearbeiten
                        Hi Michael

                        Hier ist was ausgegeben wird.
                        Der erste (gelöschte) Post war falsch, da ich die falsche Netatmo.py genutzt habe. Ich habe keine Wetterstation sondern einen Home Coach. Ich habe die beschriebenen Änderungen wie in Post #197 durchgeführt. Aber hier sieht es so aus, als wäre bei der Änderung was falsch gelaufen ::/

                        Number of arguments: 3 arguments.
                        Argument List: ['/opt/loxberry/data/plugins/netatmo-weather/netatmo.py', '--config', '/opt/loxberry/config/plugins/netatmo-weather/netatmo.cfg']
                        using plugin log file netatmo-weather.log
                        using system configuration file /opt/loxberry/config/system/general.json
                        Miniserver ip address: 192.168.178.65
                        Starting new HTTPS connection (1): auth.netatmo.com:443
                        https://auth.netatmo.com:443 "GET /en-us/access/login HTTP/1.1" 200 None
                        Successfully got session cookie from https://auth.netatmo.com/en-us/access/login
                        Found _token value ['4ih4uRlyWL27S9OK297FrWIFkRjkCn53GzlsweRK'] in response from https://auth.netatmo.com/en-us/access/login
                        https://auth.netatmo.com:443 "POST /access/postlogin?next_url=https%3A%2F%2Fmy.netatmo.com%2F app%2Fstation%2F HTTP/1.1" 302 386
                        Starting new HTTPS connection (1): my.netatmo.com:443
                        https://my.netatmo.com:443 "GET /app/station/ HTTP/1.1" 200 None
                        Successfully logged in using username xxxxxxxxxxxx and password xxxxxxxxxx to https://auth.netatmo.com/access/postlogin
                        Found netatmocomaccess_token value 5fde0f37a4b3604df448a5f5%7C9775426bd3a131b16fd8a9d 82c6259ae in response from https://auth.netatmo.com/access/postlogin
                        Starting new HTTPS connection (1): api.netatmo.com:443
                        https://api.netatmo.com:443 "POST /api/gethomecoachsdata HTTP/1.1" 200 None
                        Querying queried API https://api.netatmo.com/api/gethomecoachsdata
                        Successfully queried queried API https://api.netatmo.com/api/gethomecoachsdata
                        'module_name'
                        Traceback (most recent call last):
                        File "/opt/loxberry/data/plugins/netatmo-weather/netatmo.py", line 356, in <module>
                        main(args)
                        File "/opt/loxberry/data/plugins/netatmo-weather/netatmo.py", line 198, in main
                        value = "{0}.{1}.{2}={3}".format(device["station_name"], device["module_name"], "wifi_status",
                        KeyError: 'module_name'
                        Zuletzt geändert von ChrisR; 04.03.2022, 21:29.

                      • ChrisR
                        ChrisR kommentierte
                        Kommentar bearbeiten
                        Hi Michael
                        Hast du schon mal über das Ergebnis drüber schauen können?

                      • Michael M.
                        Michael M. kommentierte
                        Kommentar bearbeiten
                        Bist du sicher dass du die Änderung in dem Script wie in diesem Beitrag vom 02.03.2022 12:04 vorgenommen hast?

                        Dann sollte die Ausgabe eher so aussehen:
                        ....
                        ...
                        Querying queried API https://api.netatmo.com/api/getstationsdata
                        Successfully queried queried API https://api.netatmo.com/api/getstationsdata
                        {'body': {'devices': [{'_id': '70:ee:50:xx:xx:xx....

                        dann kannst du mir gerne das Ergebnis als private Nachricht schicken, sollten dort zu viele sensiblen Daten enthalten sein.
                    • Gast

                      #224
                      Danke für den Input, Michael. Leider bin ich nicht ganz so fit, aber es tat sich mehr im Ergebnis. Soll ich Dir das posten? Und Danke für die Hilfe!

                      Kommentar

                      • Michael M.
                        LoxBus Spammer
                        • 23.03.2016
                        • 237

                        #225
                        Zitat von barlow36
                        Danke für den Input, Michael. Leider bin ich nicht ganz so fit, aber es tat sich mehr im Ergebnis. Soll ich Dir das posten? Und Danke für die Hilfe!
                        Ja hier posten wäre sinnvoll oder du schickst es mir als private Nachricht, falls sensible Daten enthalten sind


                        Gesendet von iPhone mit Tapatalk

                        Kommentar


                        • Gast
                          Gast kommentierte
                          Kommentar bearbeiten
                          Hallo,
                          Problem gelöst, einfach einen anderen Port genommen. Danke Trotzdem!
                      Lädt...