Netatmo plugin discussion

Posted on
Mon Jun 29, 2020 1:05 pm
jeffgtx offline
Posts: 43
Joined: Aug 19, 2007

Re: Netatmo plugin discussion

no desire to move to 7. am hoping to figure this out but obviously need help. understand the risks of staying on older software.

Posted on
Tue Nov 17, 2020 1:21 pm
Mirko offline
Posts: 79
Joined: Dec 04, 2014

Re: Netatmo plugin discussion

Hi

Suddenly my Netatmo is not updating anymore into Indigo. Checked everything but I cannot find anything changed. The Netatmo stations do work.


Netatmo Plugin Debug Entered: Funct runConcurrantThread
Netatmo Plugin Debug Entered: Funct readNetatmo
Netatmo Plugin Debug Found Netatmo device 'Netatmo Base Station KUBUS AT119' (KUBUS AT119) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Base Station KUBUS AT119' to update list
Netatmo Plugin Debug Found Netatmo device 'Netatmo Binnen 1 - Salon' (1 - Salon) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Binnen 1 - Salon' to update list
Netatmo Plugin Debug Found Netatmo device 'Netatmo Binnen 2 - Slaapkamer' (2 - Slaapkamer) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Binnen 2 - Slaapkamer' to update list
Netatmo Plugin Debug Found Netatmo device 'Netatmo Binnen 3 - Bibliotheek' (3 - Bibliotheek) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Binnen 3 - Bibliotheek' to update list
Netatmo Plugin Debug Found Netatmo device 'Netatmo Dakterras AT119' (Dakterras AT119) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Dakterras AT119' to update list
Netatmo Plugin Debug Found Netatmo device 'Netatmo Regenmeter AT119' (Regenmeter AT119) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Regenmeter AT119' to update list
Netatmo Plugin Debug Found Netatmo device 'Netatmo Windmeter AT119' (Windmeter 2 AT119) for station:ateliers1-1-9
Netatmo Plugin Debug Added Netatmo device 'Netatmo Windmeter AT119' to update list
Netatmo Plugin Debug DONE: got here wth netatmoDict:{u'ateliers1-1-9': {u'Dakterras AT119': <indigo.Device object at 0x10ce7a230>, u'2 - Slaapkamer': <indigo.Device object at 0x10ce7a410>, u'KUBUS AT119': <indigo.Device object at 0x10ce7a398>, u'Windmeter 2 AT119': <indigo.Device object at 0x10ce7a1b8>, u'Regenmeter AT119': <indigo.Device object at 0x10ce7a488>, u'1 - Salon': <indigo.Device object at 0x10ce7a500>, u'3 - Bibliotheek': <indigo.Device object at 0x10ce7a0c8>}}
Netatmo Plugin Debug Queryng Netatmo station:ateliers1-1-9
Netatmo Plugin Debug Received Netatmo station authorization:<lnetatmo.ClientAuth instance at 0x10cf5dd40>
Netatmo Plugin Debug

Received Netatmo station list:
[u'2 - Slaapkamer', u'3 - Bibliotheek', u'Regenmeter AT119', u'1 - Salon', u'Windmeter 2 AT119', u'Dakterras AT119', u'KUBUS AT119']
Netatmo Plugin Debug

Received Netatmo station data:
{u'Dakterras AT119': {u'date_min_temp': 1605567600, 'rf_status': 63, u'Temperature': 12.8, 'When': 1605638957, u'temp_trend': u'stable', u'Humidity': 87, u'min_temp': 10.5, u'date_max_temp': 1605620810, 'battery_vp': 6064, u'max_temp': 14.3}, u'2 - Slaapkamer': {u'CO2': 479, 'rf_status': 82, u'Temperature': 21.8, 'When': 1605638970, u'temp_trend': u'stable', u'Humidity': 55, u'date_min_temp': 1605627488, u'min_temp': 21.7, u'date_max_temp': 1605567613, 'battery_vp': 6210, u'max_temp': 22.4}, u'KUBUS AT119': {u'CO2': 483, u'Temperature': 22.3, 'When': 1605639001, u'temp_trend': u'stable', u'Humidity': 57, u'Pressure': 1020.7, u'Noise': 35, u'min_temp': 21.6, u'AbsolutePressure': 1020.3, u'pressure_trend': u'up', u'date_max_temp': 1605627812, u'date_min_temp': 1605571552, 'wifi_status': 51, u'max_temp': 22.8}, u'Windmeter 2 AT119': {'rf_status': 65, u'date_max_wind_str': 1605599043, u'GustStrength': 12, 'When': 1605638996, u'WindStrength': 5, u'GustAngle': 282, u'max_wind_str': 24, u'max_wind_angle': 257, 'battery_vp': 5691, u'WindAngle': 256}, u'Regenmeter AT119': {u'sum_rain_24': 1.5, 'rf_status': 68, 'When': 1605638996, u'Rain': 0, 'battery_vp': 6886, u'sum_rain_1': 0}, u'1 - Salon': {u'CO2': 447, 'rf_status': 91, u'Temperature': 19.2, 'When': 1605638957, u'temp_trend': u'stable', u'Humidity': 62, u'date_min_temp': 1605597384, u'min_temp': 18.5, u'date_max_temp': 1605610507, 'battery_vp': 6246, u'max_temp': 19.5}, u'3 - Bibliotheek': {u'CO2': 459, 'rf_status': 60, u'Temperature': 20.9, 'When': 1605638957, u'temp_trend': u'stable', u'Humidity': 52, u'date_min_temp': 1605612660, u'min_temp': 20.8, u'date_max_temp': 1605570624, 'battery_vp': 6080, u'max_temp': 22.4}}
Netatmo Plugin Debug

What has been going wrong??

Thanks

Mirko

Posted on
Wed Nov 18, 2020 2:18 am
DrLove offline
Posts: 260
Joined: Dec 12, 2014
Location: Sweden

Re: Netatmo plugin discussion

+1, similar debug output.

Fails with:
Code: Select all
Netatmo Plugin Error            Plugin stopping. Reason = 'NoneType' object has no attribute 'items'

Love Kull (yes it's my name)
Blog (in Swedish)
Sweden

Posted on
Wed Nov 18, 2020 3:01 am
MartinG offline
Posts: 116
Joined: Aug 19, 2016

Re: Netatmo plugin discussion

Same for me.

Posted on
Wed Nov 18, 2020 3:06 am
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Netatmo plugin discussion

I encourage anyone using the Netatmo plugin to take a look at the NetatmoMulti plugin, also called NetatmoWelcome. Unlike this, Netatmo, plugin, the NetatmoMultiPlugin is being actively maintained and fully duplicates the functions of the Netatmo plugin, while adding support for other Netatmo products. People really should be switching to that anyway.

I have already made the switch myself. But, I will look into the current problem and if I can fix it easily, I will.

Posted on
Wed Nov 18, 2020 10:58 am
Mirko offline
Posts: 79
Joined: Dec 04, 2014

Re: Netatmo plugin discussion

The plugin NetatmoMulti plugin has the problem that it measures the amount of rain only in 1 or 2 and not in 0.2 or 0.3. It means that with a light drizzle my sunscreen still goes out and becomes wet.
Another point is the stability of the NetatmoMulti plugin. If one has to re-install all the triggers etc are gone. The other plugin is just so great and stable!!

So I use both plugins already for quite a while only for the other cities, other places of interest in other cities....

Posted on
Wed Nov 18, 2020 1:21 pm
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Netatmo plugin discussion

Mine is broken too - hope it can be fixed - really hard to figure out where and how I have used the measurements, buried in triggers, and schedules and on control pages etc.

Help :-)

_______
Norm

Posted on
Wed Nov 18, 2020 2:22 pm
DrLove offline
Posts: 260
Joined: Dec 12, 2014
Location: Sweden

Re: Netatmo plugin discussion

Debug output:

Code: Select all
Starting plugin "Netatmo Plugin 0.7.4" (pid 33313)
   Netatmo Plugin                  Log level preferences are set to "Intense Debug".
   Started plugin "Netatmo Plugin 0.7.4"
   Netatmo Plugin Debug            Entered: Funct startup
   Netatmo Plugin Debug            versionCheck() called
   Netatmo Plugin                  url:https://api.indigodomo.com/api/v2/pluginstore/plugin-version-info.json?pluginId=com.berkinet.Netatmo
   Netatmo Plugin                  Your plugin version, 0.7.4, is current.
   Netatmo Plugin Debug            Entered: Funct runConcurrantThread
   Netatmo Plugin Debug            Entered: Funct readNetatmo
   Netatmo Plugin Debug            Found Netatmo device 'Netatmo basstation' (Garage) for station:Kronanbacken
   Netatmo Plugin Debug            Added Netatmo device 'Netatmo basstation' to update list
   Netatmo Plugin Debug            Found Netatmo device 'Netatmo mobil modul' (Mobil) for station:Kronanbacken
   Netatmo Plugin Debug            Added Netatmo device 'Netatmo mobil modul' to update list
   Netatmo Plugin Debug            Found Netatmo device 'Netatmo regnmätare' (Regnmätare) for station:Kronanbacken
   Netatmo Plugin Debug            Added Netatmo device 'Netatmo regnmätare' to update list
   Netatmo Plugin Debug            Found Netatmo device 'Netatmo utomhusmodul' (Utomhus) for station:Kronanbacken
   Netatmo Plugin Debug            Added Netatmo device 'Netatmo utomhusmodul' to update list
   Netatmo Plugin Debug            Found Netatmo device 'Netatmo vindmätare' (Vindmätare) for station:Kronanbacken
   Netatmo Plugin Debug            Added Netatmo device 'Netatmo vindmätare' to update list
   Netatmo Plugin Debug            DONE: got here wth netatmoDict:{u'Kronanbacken': {u'Garage': <indigo.Device object at 0x1116209b0>, u'Utomhus': <indigo.Device object at 0x111620b90>, u'Regnm\xe4tare': <indigo.Device object at 0x111620b18>, u'Mobil': <indigo.Device object at 0x111620a28>, u'Vindm\xe4tare': <indigo.Device object at 0x111620c08>}}
   Netatmo Plugin Debug            Queryng Netatmo station:Kronanbacken
   Netatmo Plugin Debug            Received Netatmo station authorization:<lnetatmo.ClientAuth instance at 0x11160a998>
   Netatmo Plugin Debug           

Received Netatmo station list:
[u'Regnm\xe4tare', u'Utomhus', u'Vindm\xe4tare', u'Mobil', u'Garage']
   Netatmo Plugin Debug           

Received Netatmo station data:
{u'Garage': {u'CO2': 497, u'Temperature': 21.6, 'When': 1605729707, u'temp_trend': u'stable', u'Humidity': 36, u'Pressure': 988.4, u'Noise': 46, u'min_temp': 20.7, u'AbsolutePressure': 985.1, u'pressure_trend': u'stable', u'date_max_temp': 1605711859, u'date_min_temp': 1605688271, 'wifi_status': 53, u'max_temp': 22.4}, u'Utomhus': {u'date_min_temp': 1605682193, 'rf_status': 68, u'Temperature': 3, 'When': 1605729667, u'temp_trend': u'stable', u'Humidity': 91, u'min_temp': 0.9, u'date_max_temp': 1605654097, 'battery_vp': 5706, u'max_temp': 5.4}, u'Regnm\xe4tare': {u'sum_rain_24': 0.1, 'rf_status': 67, 'When': 1605729706, u'Rain': 0, 'battery_vp': 5298, u'sum_rain_1': 0}, u'Mobil': {u'CO2': 748, 'rf_status': 75, u'Temperature': 2.8, 'When': 1605729699, u'temp_trend': u'stable', u'Humidity': 100, u'date_min_temp': 1605681916, u'min_temp': 0.4, u'date_max_temp': 1605656180, 'battery_vp': 5492, u'max_temp': 5.1}, u'Vindm\xe4tare': {'rf_status': 63, u'date_max_wind_str': 1605692804, u'GustStrength': 3, 'When': 1605729706, u'WindStrength': 1, u'GustAngle': 231, u'max_wind_str': 17, u'max_wind_angle': 272, 'battery_vp': 4773, u'WindAngle': 45}}
   Netatmo Plugin Debug           

Received Netatmo station Name:
None
   Netatmo Plugin                  TTL set to:3600 seconds
   Netatmo Plugin Error            Plugin stopping. Reason = 'NoneType' object has no attribute 'items'
   Netatmo Plugin                  Stopping Netatmo device read loop
  Netatmo Plugin Error            plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


The "Received Netatmo station Name: None" and "Plugin stopping. Reason = 'NoneType' object has no attribute 'items'" looks like a problem to me.
There is data coming in (Netatmo station data is populated) so I don't know why it should fail in a later step.
"Queryng Netatmo station:Kronanbacken" looks like the station Name to me, and then "Received Netatmo station Name: None".

//L

Love Kull (yes it's my name)
Blog (in Swedish)
Sweden

Posted on
Wed Nov 18, 2020 2:42 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Netatmo plugin discussion

Ok. I think I have a quick patch. At least it loads and runs here.

The code is at: https://www.dropbox.com/s/3a0z5it1rbeno ... n.zip?dl=0

Please provide feedback as soon as you can.

Posted on
Wed Nov 18, 2020 3:04 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Netatmo plugin discussion

Thanks - seems to have fixed it for me. :D

Posted on
Wed Nov 18, 2020 3:28 pm
DrLove offline
Posts: 260
Joined: Dec 12, 2014
Location: Sweden

Re: Netatmo plugin discussion

+1, looks good!
Thank you for a very quick fix!

Love Kull (yes it's my name)
Blog (in Swedish)
Sweden

Posted on
Wed Nov 18, 2020 3:41 pm
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Netatmo plugin discussion

Fixed mine as well - thanks so much!!!!!!!!!!!!!!!!!!!!!!!!!!!

_______
Norm

Posted on
Thu Nov 19, 2020 7:42 am
davinci offline

Re: Netatmo plugin discussion

Still the same with 0.7.5:

Code: Select all
   Netatmo Plugin Debug           

Received Netatmo station Name:
None
   Netatmo Plugin                  TTL set to:3600 seconds
   Netatmo Plugin Error            Plugin stopping. Reason = 'NoneType' object has no attribute 'items'
   Netatmo Plugin                  Stopping Netatmo device read loop
   Netatmo Plugin Error            plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


I have a shared station in my account. So two houses. It looks like the first one (mine) works.

Posted on
Thu Nov 19, 2020 9:46 am
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Netatmo plugin discussion

davinci wrote:
Still the same with 0.7.5:

I have a shared station in my account. So two houses. It looks like the first one (mine) works.
That makes sense. The fix I made was to use the home name in place of the station name, which has been deprecated by Netatmo. I have now contacted the author of the module used in the plugin and we are looking at an all-around fix.

Posted on
Thu Nov 19, 2020 10:39 am
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Netatmo plugin discussion

For those interested in such things, here is the post from the Netatmo forum describing the API change which has resulted in the current issue.
https://forum.netatmo.com/viewtopic.php?f=5&t=19196

BTW, Sooner or later I am going to have to stop supporting this plugin. I strongly suggest people move to the NetatmoMulti plugin. If it has issues that prevent it from meeting your needs, please communicate those to @rcarter, the plugin's author. That way you will have a path forward, and I will have an exit plan.

Who is online

Users browsing this forum: No registered users and 5 guests