NOPE, also the set temperature, after few minutes it goes to 12 degrees, and away_mode goes to ON … but on the NEtatmo APP its keeping the set temperature of 15.
Hope this component get fixed before winter
NOPE, also the set temperature, after few minutes it goes to 12 degrees, and away_mode goes to ON … but on the NEtatmo APP its keeping the set temperature of 15.
Hope this component get fixed before winter
this I do not understand, since I have all files named differently
Nothing works … I have the sensors, but changing them in HASS does not change the values in reality
climate:
- platform: netatmo2
netatmo2:
api_key: !secret netatmo2_api_key
secret_key: !secret netatmo2_secret_key
username: !secret netatmo_username
password: !secret netatmo_password
discovery: False
climate:
- platform: netatmo
netatmo:
api_key: !secret netatmo_api_key
secret_key: !secret netatmo_secret_key
username: !secret netatmo_username
password: !secret netatmo_password
discovery: False
The above was wrong since I had two climate: instances (did’tr ssee it in the erro log, now I fixed it, but have the below error in LOG
2018-08-31 09:28:21 ERROR (MainThread) [homeassistant.setup] Error during setup of component netatmo2
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/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 “/config/custom_components/netatmo2.py”, line 47, in setup
import lnetatmo
ModuleNotFoundError: No module named ‘lnetatmo’
2018-08-31 09:28:21 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of climate.netatmo2. Setup failed for dependencies: netatmo2
2018-08-31 09:28:21 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform climate.netatmo2: Could not set up all dependencies.
from what I can tell you should have a file called lnetatmo.py in \<>\config\deps\lib\python3.6\site-packages\ (I do anyway). That seems to be what the error is pointing to.
hello,
I have 1 Netatmo thermostat and 1 Netatmo valve, I tried the custom component “netatmo2” without success,
my configuration is:
netatmo2: api_key: !secret netatmo2_key secret_key: !secret netatmo2_secret username: !secret netatmo2_user password: !secret netatmo2_pass discovery: false climate: - platform: netatmo2
I find only the valve: “climate.test_camera_da_letto” but I can find the thermostat, so do you have any ideas?
thanks
in the log, lot of errors:
2018-09-22 23:10:37 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.test_camera_da_letto fails
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py”, line 224, in async_update_ha_state
yield from self.async_device_update()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py”, line 353, in async_device_update
yield from self.hass.async_add_job(self.update)
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/climate/netatmo2.py”, line 259, in update
self._data.update()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/init.py”, line 325, in wrapper
result = method(*args, **kwargs)
File “/home/homeassistant/.homeassistant/custom_components/climate/netatmo2.py”, line 338, in update
self.homestatus = lnetatmo.HomeStatus(self.auth, home=self.home)
File “/srv/homeassistant/lib/python3.5/site-packages/netatmo_home/Thermostat.py”, line 105, in init
self.home_data = HomeData(authData)
File “/srv/homeassistant/lib/python3.5/site-packages/netatmo_home/Thermostat.py”, line 31, in init
self.rawData = resp[‘body’][‘homes’]
TypeError: ‘NoneType’ object is not subscriptable
Played around with it a bit and I was able to get both of my Netatmo rooms to show up in home assistant after a small change: https://gist.github.com/LucaKaufmann/9c700f1cbcaa5d1599e44a1b33200578
Right now they both display the same values, probably because both entities get passed the same room_data, so that’s something that might have to be rewritten
Hi, any updates?
I will try it this evening!
I tried your netatmo2.py and I have same behaviour, 1 netatmo thermostat e 1 valve with same value.
Winter is coming
Is there any update to this project?
I also have 2 of the Netatmo radiator valves and tried the netatmo2 component. It only finds one of the two valves with no errors in the home-assistant.log file. Would love if somebody could figure this out, I’m always open to help testing!
Hi,
Now i have 1 thermostat, and soon will have 3 valves.
Once i have it, i will test this custom component, and i will say!
It seems this project is pretty much dead because @gieljnssns didn’t answer since 4th July
Would be a pitty if we couldn’t integrate our Netatmo valves into HA this winter, but I guess it’s hard to find someone who is able and willing to develop this component.
I’ve had some very busy summer…
The problem is;
My knowledge from python is limited.
The first Netatmo thermostat component is made with trail and error.
I have one thermostat, so every small change I’ve made, I could test it immediately.
Since I don’t have access to two or more thermostats or even a single valve, I have to wait to long for every small change I make.
I hope there will be someone with better python knowledge , or access to multiple devices who can finish this…
Sorry guys
Hi to everyone,
Recently i received my 3 valves and want try ir to HA with my thermostat but doesn’t work anything.
I’m using HA .077.3
My configuration is this one:
netatmo:
api_key: !secret netatmo_api_key
secret_key: !secret netatmo_secret_key
username: !secret netatmo_username
password: !secret netatmo_password
netatmo2:
api_key: !secret netatmo2_api_key
secret_key: !secret netatmo2_secret_key
username: !secret netatmo2_username
password: !secret netatmo2_password
discovery: False
and climate file this:
#- platform: netatmo
# relay: relay_T
# thermostat:
# - Termostato
- platform: netatmo2
I just see the Thermostat and any valve. In logs, i obtain this:
2018-10-21 13:24:06 ERROR (MainThread) [homeassistant.components.climate] netatmo2: Error on device update!
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/app/homeassistant/helpers/entity.py”, line 353, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 259, in update
self._data.update()
File “/usr/src/app/homeassistant/util/init.py”, line 325, in wrapper
result = method(*args, **kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 339, in update
self.target_temperature = self.homestatus.setPoint(rid=self.room_id)
File “/config/deps/lib/python3.6/site-packages/netatmo_home/Thermostat.py”, line 201, in setPoint
setpoint = room_data[‘therm_setpoint_temperature’]
KeyError: ‘therm_setpoint_temperature’
2018-10-21 13:24:11 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform netatmo
Traceback (most recent call last):
And in detected current entities as you can see only thermostat:
I delete all files as few post above sayd:
root@homeassistant-0:/config/deps/lib/python3.6/site-packages# rm lnetatmo*
root@homeassistant-0:/config/deps/lib/python3.6/site-packages# rm -R lnetatmo-0.9.3.dist-info/
root@homeassistant-0:/config/deps/lib/python3.6/site-packages# rm -R netatmo_home/
root@homeassistant-0:/config/deps/lib/python3.6/site-packages# ls -la-rwxr-xr-x 1 root root 4561 Oct 21 13:24 lnetatmo.cpython-36.pyc
What else i need to do to see 1 valve or better all ones?
thanks