So i just got my hands on a Netatmo weather station, set it up with one indoor and one outdoor sensor, and it all works like a charm in the netatmo app, and the weather netatmo map. I try to intergrate it into my hassio, but I keep hitting a dead end no matter what I try.
Here is what i have done.
I registered to get the Netatmo API and Secret, activated the “app” on the netatmo webpage.
Then i set up the following in my configuration.yaml.
netatmo: api_key: yeppithsthere secret_key: yeppithsthere username: yeppithsthere password: yeppithsthere
then I listed the following under my sensors:
- platform: netatmo station: Hytta modules: Inne: - temperature - co2 - humidity - health_idx - min_temp - max_temp Ute: - temperature - battery_vp - battery_percent - humidity - health_idx - min_temp - max_temp - wifi_status
When looking at the logs after reboot this is what i get:
Error during setup of component netatmo Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component component.setup, hass, processed_config) # type: ignore 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/__init__.py", line 95, in setup 'read_station read_camera access_camera ' File "/usr/local/lib/python3.7/site-packages/pyatmo.py", line 85, in __init__ self._accessToken = resp["access_token"] TypeError: 'NoneType' object is not subscriptable
Tue Mar 19 2019 18:21:46 GMT+0100 (sentraleuropeisk normaltid) Unable to set up dependencies of netatmo.sensor. Setup failed for dependencies: netatmo Tue Mar 19 2019 18:21:46 GMT+0100 (sentraleuropeisk normaltid) Unable to prepare setup for platform netatmo.sensor: Could not set up all dependencies.