Thank you, I was confused by the name that was the same.
Now it seems better but something is wrong with the configuration … Maybe I did not get correctly what to put in the configuration.yalm file.
2018-01-05 12:00:55 WARNING (MainThread) [homeassistant.setup] Setup of climate is taking over 10 seconds.
2018-01-05 12:00:59 ERROR (Thread-6) [homeassistant.components.vaillant] Unable to connect to Netatmo API
2018-01-05 12:00:59 ERROR (MainThread) [homeassistant.setup] Setup failed for vaillant: Component failed to initialize.
2018-01-05 12:01:00 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of climate.vaillant. Setup failed for dependencies: vaillant
2018-01-05 12:01:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform climate.vaillant: Could not setup all dependencies.
2018-01-05 12:01:01 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2018-01-05 12:01:03 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
# Vaillant vSmart
vaillant:
api_key: na_client_android_vaillant
secret_key: <what you provided me>
username: <my mail address as it is in the smartphone app>
password: <my secret vaillant password>
discovery: False
climate:
- platform: vaillant
api_key is the part that is not clear to me (sorry to bother you with my problem)
I have an android Samsung J5 and don’t know where to find the info neither in my iPhone 6s.
I’m feeling that I’m very close to the solution but not quiet yet.
The api_key should stay like that, this is fixed. The issue here is that it can’t connect to the API but it would be good to have a tracelog for this error, so I would know what’s the issue.
Did you install my version of lnetatmo ?
When installed, it appears at this place : /config/deps/lib/python3.6/site-packages/lnetatmo.py (but this may vary per system so take it with a grain of salt)
You can run : pip -v install --upgrade git+https://github.com/samueldumont/netatmo-api-python.git
then pip show lnetatmo
This should output
Name: lnetatmo
Version: 0.9.2-vaillant
Summary: Simple API to access Vaillant vSmart thermostat data (rebranded Netatmo thermostat)
Home-page: https://github.com/samueldumont/netatmo-api-python
Author: Samuel Dumont, forked from Philippe Larduinat
Author-email: [email protected], [email protected]
License: Open Source
Location: /usr/local/lib/python3.6/site-packages
Requires:
Thank you for your help Samuel.
It works now.
The library was the good one but I thought that my password, containing some special characters, needed to be escaped with some backslashes.
That was the issue, it is not needed.
I’ll look into that, HomeAssistant was upgraded a few days ago and I’m working on keeping my version up to date. I bumped the lnetatmo lib version and it’s currently building on dockerhub. As soon as it’s finished, I’ll check everything and keep you posted
I updated the files so the version of my fork is now higher. I tested with HA 0.60.1 and I don’t have any issue. Should be good for you after an update
Maybe stupid question, what should I see on default view? I install all files and log looks ok. (If I put wrong password I can see error in log file) so seems all is right. But I can’t se nothing on default view. (I disabled own default_view) and also nothing if climate.vaillant added to some group. Thank you . Jan
Dear Samuel,
I have decompiled the apk file, but I cannot find the API key or the secret key. If i understand it correct, I have to leave the api_key like this : na_client_android_vaillant. Thank you very much ! My email is [email protected]. My regards