Hi, can you send me the api and secret? Thanks
Hello Samuel,
It seems that your work is broken since HA 0.75 (or maybe even earlier)
The error is: TypeError: get_component() missing 1 required positional argument: ‘comp_or_platform’
The error fuil stack is:
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop) File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for return fut.result() File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/vaillant.py", line 43, in setup_platform vaillant = get_component('vaillant') TypeError: get_component() missing 1 required positional argument: 'comp_or_platform'
If you have any idea on how to fix the get_component call (that requires an additional argument), I’d be pleased to have it
Thank you again for your work.
Hi Olivier,
I don’t have any issues with the component, but I had to change this a while ago when HA changed the component structure.
Can you try with the latest version from my repo ?
Hi Samuel,
I was in 0.68.1 prior to this 0.75.1 upgrade
Pre-methuselah version!
I should cron an update from your git repo
Thanks
I was going to ditch my whole Valliant eco system to go to Hive but found this - superb I can now just get a new controller!!! Thanks so much
Could anyone send me the key?
Thanks
Stuart
Managed to find it - all working great.
It is probably worth updating the instructions to tell everyone to put the two files under custom_components especially if people run their own docker as then they will be persistent across updates.
This is bloody brilliant though - amazing job, we should definitely get this into the main repo and advertised on the Wiki!!!
Could anyone send me the key?
Thanks
Hello, I am kind new to Home assistant and started few days ago playing with ha and want to add my Vaillant heater to home assistant. Can you send me the keys to use vSmart ? I tried to find them on internet but no success. Or just let me know how to extract (do not know how the extraction works) them from this APK ?
Thanks lot
Hi Samuel,
where can I find secret_key for my vaillant vsmart ?
thanks
Hi everybody,
where can I find secret_key for my vaillant vsmart ?
thanks
Hi everybody,
I now have the secret_key but I am desperate for the client_id of erelax app.
Would anyone have it ?
thanks a lot
Hi,
I am new with HA. I have installed on my NAS with Docker.
Can you provide me the API and the secret key?
I get an error when I load HA config file
Platform not found: climate.vaillant
Component not found: vaillant
Thanks in advance.
Hi, can someone please help me with the api and secret key ?
I’ve got the key and followed the instructions. In my log I’ve got the following errors:
2018-11-18 00:12:12 ERROR (MainThread) [homeassistant.setup] Error during setup of component vaillant
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/vaillant.py”, line 60, in setup
config[DOMAIN][CONF_APP_VERSION], config[DOMAIN][CONF_USER_PREFIX])
File “/srv/homeassistant/lib/python3.5/site-packages/lnetatmo.py”, line 106, in init
self._accessToken = resp[‘access_token’]
TypeError: ‘NoneType’ object is not subscriptable
2018-11-18 00:12:12 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of climate.vaillant. Setup failed for dependencies: vaillant
2018-11-18 00:12:12 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform climate.vaillant: Could not set up all dependencies.
I’ve followed the instructions, but still errors.
Home assistant 0.82.0 on Hassbian
vaillant.py in custom_components
vaillant.py in climate/custom_components
Add lines to configuration.yaml
Python 3.5
pi@hassbian:~ $ sudo pip3 show lnetatmo
Name: lnetatmo
Version: 0.9.2.1-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.5/dist-packages
Requires:
Errors in log:
2018-11-18 12:15:41 WARNING (MainThread) [homeassistant.loader] You are using a custom component for climate.vaillant which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-11-18 12:15:41 WARNING (MainThread) [homeassistant.loader] You are using a custom component for vaillant which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-11-18 12:15:52 WARNING (MainThread) [homeassistant.setup] Setup of vaillant is taking over 10 seconds.
2018-11-18 12:15:52 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform yr is taking over 10 seconds.
2018-11-18 12:15:52 ERROR (MainThread) [homeassistant.components.sensor.yr] Retrying in 20 minutes:
2018-11-18 12:15:58 ERROR (MainThread) [homeassistant.setup] Error during setup of component vaillant
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/home/homeassistant/.homeassistant/custom_components/vaillant.py”, line 60, in setup
config[DOMAIN][CONF_APP_VERSION], config[DOMAIN][CONF_USER_PREFIX])
File “/srv/homeassistant/lib/python3.5/site-packages/lnetatmo.py”, line 106, in init
self._accessToken = resp[‘access_token’]
TypeError: ‘NoneType’ object is not subscriptable
2018-11-18 12:15:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of climate.vaillant. Setup failed for dependencies: vaillant
2018-11-18 12:15:58 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform climate.vaillant: Could not set up all dependencies.
Hi all,
I have the component up and running in a Raspberry pi.
Now I am moving to a docker container and I am facing some issues.
In my setup I have a vaillant vsmart and also some netatmo things, so I need both components to work.
When using the docker version I am not able to use both
If I use the official HA docker netatmo things work perfectly, vsmart no.
If I use samuel’s HA docker vsmart works, netatmo no.
If I add manually vaillant.py to the official HA then vsmart works but netatmo no.
Any clue what is breaking?
This is the error in the log:
Log Details (ERROR)
Mon Nov 19 2018 09:45:36 GMT+0100 (CET)
Error during setup of component netatmo
Traceback (most recent call last):
File “/usr/src/app/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/netatmo.py”, line 46, in setup
import pyatmo
File “/usr/local/lib/python3.6/site-packages/pyatmo.py”, line 18, in
from smart_home.PublicData import PublicData
ModuleNotFoundError: No module named ‘smart_home.PublicData’
Thanks
Manu
Hi macmanu,
How did you get it running ?
I use Rassbian (not IO), followed the instructions, but get errors, see my previous post.
Thanks.