Netamo Healthy Home Coach

Hi Everyone!

I managed to get this data with python, i’m not a pro so i need to read how to integrate this to Home Assistant.

If someone wants to help me and create the sensors i can upload the code with the one you can request the Home Coach Information to Github.

Someone wants to help?

image

Take a look at
https://home-assistant.io/developers/rest_api/

Hi, I opened a PR here https://github.com/home-assistant/home-assistant/pull/18308 giving support for the Home Coach. Hopefully, we will get it released soon!

thanks will be good :slight_smile:

Hi @lasote
I only have Netatmo Health home Coach, and no other Netatmo devices,
As you may know, this device cannot be added as a station

https://my.netatmo.com/app/station shows
No device linked to your account,

I setup an app and used this config

netatmo:
  api_key: redacted
  secret_key: redacted
  username: redacted
  password: redacted
  discovery: False

sensor:
  - platform: netatmo
    station: Office
    scan_interval: 600
    modules:
      Indoor:
        - temperature
        - co2
        - noise
        - humidity
        - wifi_status

However HA always has issues with the netatmo component

2019-02-22 13:35:42 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo
Traceback (most recent call last):
  File "/usr/src/app/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/src/app/homeassistant/components/netatmo/__init__.py", line 48, 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
2019-02-22 13:35:42 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of netatmo.sensor. Setup failed for dependencies: netatmo
2019-02-22 13:35:42 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform netatmo.sensor: Could not set up all dependencies.
2019-02-22 13:35:42 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <function EventBus.async_listen_once.<locals>.onetime_listener at 0x7f70a036dd90>

Does your fix work if one has no stations?
According to this document


One needs to add a station which I can’t.

Thanks