Netatmo Modul - 38_netatmo.pm (Support)

Begonnen von Markus M., 17 Mai 2016, 12:37:34

Vorheriges Thema - Nächstes Thema

maci

IPv6 oh Graus  :(
Das fällt mir zu dem ein.
Ich bin immer noch der Meinung, dass es noch nicht wirklich ausgereift ist.
Ich denke, das wird erst dann funktionieren, wenn es durchgängig ist. Das ist auch der Grund, warum die großen Anbieter noch nicht umgestellt haben.

Was ich mich frage, warum bietet dir der neue Anbieter intern auch nur IPv6 an.
Ich kenne Anbieter bei uns, da setzt der Router auf v4 um, wenn ich es aktiviere.
Im privaten LAN Netz braucht man doch kein IPV6.
Fhem auf Dell Thinclient, Fhem auf Raspebrry Pi4,
UniPi Vers. 1.1 mit Raspberry Pi3, 1wire USB Adapter mit OWX
Netatmo Wetterstation + Regenmesser + Netatmo Thermostat
Homematic mit HMLan

Badflex

#751
Im WebHook muss ich doch eine  ipv4 Adresse eintragen, oder sendet netatmo auch mit ipv6?

Hallo, bekomme diese Fehlermeldung im Log beim starten des Webhooks: {
  'error' => {
               'code' => 36,
               'message' => 'Url is considered unsafe.'
             }
}
Womit hängt das zusammen?

Ban Status ist no.
Raspberry Pi, CUL868(SlowRF), FB 7490, SmartVisu, fast nur HomeMatic wenig FS20, Netatmo

Markus M.

Ich glaube nicht dass das ohne eine Standard IP funktioniert.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

Hotbird

Hallo,

mit # attr WEBhook HTTPS hat sich noch nichts getan, oder? Hab nämlich jetzt aufgrund IPV6 auch mal mit SSL rumgespielt und meine FHEM Installation damit verschlüsselt. Leider kommen jetzt nichts mehr im webhook an. Mit HTTP hat es vorher geklappt...

Badflex

Https geht nicht. Musste auch per portmapper machen.
Jetzt läuft's.

Warum kommen eigentlich die internen Snapshot links nicht zeitnah an?
Dann bräuchte man den Webhook doch nicht dafür.
Raspberry Pi, CUL868(SlowRF), FB 7490, SmartVisu, fast nur HomeMatic wenig FS20, Netatmo

Markus M.

Welche internen Links?
Die kommen erst an wenn sie im Intervall per Update abgerufen werden.
Das ist aber dann Pull, nicht Push.
Hilft also nichts wenn man direkt darauf reagieren will.

HTTPS sollte klappen wenn es richtig eingerichtet ist. Vermutlich gefällt dem Netatmo Server das Zertifikat nicht. Schon mal im Dev Log dort nachgesehen?
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

Hotbird

Ja, gerade eben nachgeschaut..

message: "SSL certificate problem: self signed certificate"

Da muss ich doch mal schauen wie ich an eins drankomme :-)

maci

Habe mich heute mit der Wettervorhersage beschäftigt.
Aber ich kann die Netatmo Wetter-Symbole nicht laden. Die Seite, die angegeben dürfte es nicht mehr geben.
Bekomme Fehler 500
Fhem auf Dell Thinclient, Fhem auf Raspebrry Pi4,
UniPi Vers. 1.1 mit Raspberry Pi3, 1wire USB Adapter mit OWX
Netatmo Wetterstation + Regenmesser + Netatmo Thermostat
Homematic mit HMLan

Markus M.

Zitat von: Hotbird am 19 Februar 2018, 13:24:26
Ja, gerade eben nachgeschaut..

message: "SSL certificate problem: self signed certificate"

Da muss ich doch mal schauen wie ich an eins drankomme :-)

Netatmo wird das nicht ändern, du kannst maximal Let's Encrypt versuchen.
https://forum.netatmo.com/viewtopic.php?f=5&t=13131&p=58529
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

Markus M.

Zitat von: maci am 21 Februar 2018, 18:08:48ich kann die Netatmo Wetter-Symbole nicht laden. Die Seite, die angegeben dürfte es nicht mehr geben.
Die gibt es tatsächlich nicht mehr.
Wird jetzt wohl direkt in der App erzeugt.
Du musst dir also selbst welche basteln.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

maci

Danke,

ich schaue mal ob ich mit der bisher verwendeten Yahoo Wettervorhersage auch zurecht komme.
Wobei ich zurecht kommen, so meine, dass die Vorhersage relativ gut passt.
Oder verwendet Netatmo evtl. auch das gleiche?

Derzeit habe ich eben die Yahoo Vorhersage in mein TabletUI eingebunden.
Ich habe nur überlegt, weil es Netatmo auch bietet.
Fhem auf Dell Thinclient, Fhem auf Raspebrry Pi4,
UniPi Vers. 1.1 mit Raspberry Pi3, 1wire USB Adapter mit OWX
Netatmo Wetterstation + Regenmesser + Netatmo Thermostat
Homematic mit HMLan

Markus M.

#761
Zitat von: the ratman am 01 März 2018, 19:24:50seit heutigen update permanent im log zu finden
2018.03.01 15:21:14 1: PERL WARNING: Use of uninitialized value $type in concatenation (.) or string at ./FHEM/38_netatmo.pm line 1658.

Teste mal bitte schnell die Version im Anhang.
Wenn's damit klappt aktualisiere ich heute noch.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

ToKa

Leider kommen weiter Fehler im LOG:

2018.03.01 20:26:07 5: $VAR1 = {
          'body' => [],
          'status' => 'ok',
          'time_exec' => '0.042258977890015',
          'time_server' => 1519932365
        };

2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings windangle
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'error' => {
                       'code' => 9,
                       'message' => 'Device not found'
                     }
        };

2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1327) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings windangle
2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1328) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'body' => [],
          'status' => 'ok',
          'time_exec' => '0.052035093307495',
          'time_server' => 1519932365
        };

2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings guststrength
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'error' => {
                       'code' => 9,
                       'message' => 'Device not found'
                     }
        };

2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1329) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings temperature
2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1330) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'error' => {
                       'code' => 9,
                       'message' => 'Device not found'
                     }
        };

2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1331) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings humidity pressure rain windstrength
2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1332) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'body' => [],
          'status' => 'ok',
          'time_exec' => '0.032579183578491',
          'time_server' => 1519932365
        };

2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings gustangle
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'body' => [],
          'status' => 'ok',
          'time_exec' => '0.034079790115356',
          'time_server' => 1519932364
        };

2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings temperature
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'body' => [],
          'status' => 'ok',
          'time_exec' => '0.029927968978882',
          'time_server' => 1519932365
        };

2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings gustangle
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'error' => {
                       'code' => 21,
                       'message' => 'Filter humidity pressure rain windstrength does not exists'
                     }
        };

2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1333) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings humidity pressure rain windstrength
2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1334) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'error' => {
                       'code' => 21,
                       'message' => 'Filter humidity pressure rain windstrength does not exists'
                     }
        };

2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1335) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings humidity pressure rain windstrength
2018.03.01 20:26:07 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 1336) line 1.
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'body' => [],
          'status' => 'ok',
          'time_exec' => '0.039933204650879',
          'time_server' => 1519932365
        };

2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: parsereadings windangle
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch (getmeasure)
2018.03.01 20:26:07 4: ZS_uw_WS_Netatmo_68723: dispatch return: getmeasure
2018.03.01 20:26:07 5: $VAR1 = {
          'error' => {
                       'code' => 9,
                       'message' => 'Device not found'
                     }
        };


Gruß
Torsten
RaspberryPi3 mit RaZberry2 und Conbee II
Fibaro: FGWPE/F-101 Switch & FIBARO System FGWPE/F Wall Plug Gen5, FGSD002 Smoke Sensor
EUROtronic: SPIRIT Wall Radiator Thermostat Valve Control
Shelly2.5 Rollladenaktoren
Zipato Bulb 2, Osram und InnrLight

Markus M.

#763
Zitat von: ToKa am 01 März 2018, 20:28:23
Leider kommen weiter Fehler im LOG...

Hmm...
Auch du nimmst mal bitte die Version eins über deinem Post und probierst es damit.
Davon sollten schon mal die fiesen stacktraces weggehen.

Wenn bei einem deiner Wetter Devices unter den Internals bei dataTypes nichts drin steht, FHEM neu starten oder zumindest das Device erneut definieren.
Anschliessend solltest du aber trotzdem mal die nicht mehr existenten Devices löschen die du da irgendwo noch definiert hast.
Zumindest sagt Netatmo dass es da irgendwas nicht mehr gibt ;)


EDIT: Änderungen eingecheckt, nach einem Update morgen sollte wieder alles ok sein.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

ToKa

Das Log war schon mit der neuen Version  :(
RaspberryPi3 mit RaZberry2 und Conbee II
Fibaro: FGWPE/F-101 Switch & FIBARO System FGWPE/F Wall Plug Gen5, FGSD002 Smoke Sensor
EUROtronic: SPIRIT Wall Radiator Thermostat Valve Control
Shelly2.5 Rollladenaktoren
Zipato Bulb 2, Osram und InnrLight