Netatmo not working 92.0?

Hi has anyone lost their Netatmo weather after upgrading to 92.0?

2019-04-25 09:32:51 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform netatmo
Traceback (most recent call last):
 File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop)
 File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for return fut.result()
 File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs)
 File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 72, in setup_platform manual_config(config, dev)
 File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 94, in manual_config if module_name not in data.get_module_names():
 File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 377, in get_module_names self.update()
 File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 406, in update self.station_data = self._detect_platform_type()
 File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 388, in _detect_platform_type station_data = self.data_class(self.auth)
 File "/usr/local/lib/python3.7/site-packages/smart_home/WeatherStation.py", line 21, in __init__ self.getAuthToken = authData.accessToken 
AttributeError: 'NoneType' object has no attribute 'accessToken'

Mine seems fine:

Maybe try another restart?

Thanks, I’ll give it another reboot.

I have the same issue, Netatmo not working…

Yup, getting the same issue: AttributeError: ‘NoneType’ object has no attribute ‘accessToken’
Has something changed in the configuration of this component?

Same here. Netatmo Welcome came works but lots of exceptions in log at startup after upgrade to 0.92.

Very strange for me, my dev docker install works, but my prod virtenv doesn’t - both now on 0.92.0

Same errors as above from others on the virtenv instance.

Yup same here. Upgraded this morning to 92. Rebooted a few times and still no Netatmo.

1 Like

maybe post your issue on the github issues page

I’ve rolled back my virtenv instance and netatmo is back. The docker one (identical but on docker) works fine on 0.92.0

I am thinking it may be a python version issue as I think my virtenv runs on 3.6 and docker 3.7?

Yep, will do, was just checking I wasn’t an isolated case before reporting it.

same issue

Same here, something about no default home

No default_home in HomeData.
7:07 PM components/netatmo/climate.py (ERROR)
Error while setting up platform netatmo
7:07 PM components/netatmo/climate.py (ERROR)

I had this working perfectly in my docker and now I am frustrated

I’ve got an error about an access token with my Netatmo weather station after upgrading

2019-04-25 17:07:29 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform netatmo
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 72, in setup_platform
manual_config(config, dev)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 94, in manual_config
if module_name not in data.get_module_names():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 377, in get_module_names
self.update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 406, in update
self.station_data = self._detect_platform_type()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 388, in _detect_platform_type
station_data = self.data_class(self.auth)
File “/usr/local/lib/python3.7/site-packages/smart_home/WeatherStation.py”, line 21, in init
self.getAuthToken = authData.accessToken
AttributeError: ‘NoneType’ object has no attribute ‘accessToken’

Pretty sure it’ll be fixed in the next increment.
More info here https://github.com/home-assistant/home-assistant/issues/23380?_pjax=%23js-repo-pjax-container

1 Like

Just upgraded to 92.1 and my Netatmo is working again. :smiley:

Same here!

same here … upgraded to 92.2 and working again. thanks!!!

I m getting this error:

No Weather or HomeCoach devices found for None

5:01 PM components/netatmo/sensor.py (ERROR)

I am running 0.93.1

To confirm, values in netatmo app and home assistant are different. Also, when I push a reading from the device it comes through which one would argues means that device connectivity is not the issue.

ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.netatmo_inside_temperature fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 220, in async_update_ha_state
    await self.async_device_update()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 216, in update
    self.netatmo_data.update()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 544, in update
    self.station_data = self._detect_platform_type()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 522, in _detect_platform_type
    station_data = self.data_class(self.auth)
  File "/usr/local/lib/python3.7/site-packages/smart_home/WeatherStation.py", line 24, in __init__
    self.rawData = resp["body"]["devices"]
TypeError: 'NoneType' object is not subscriptable