Netatmo Issue device.setThermPoint is not a function

Hello!

I’m receiving this error when trying to adjust the temperature of my netatmo devices through HA.

I have already tried to remove the integration, readd, restart my HA,…

[140020887911152] 500 - Internal Server Error - device.setThermPoint is not a function (11) when accessing 'https://api.netatmo.com/api/setroomthermpoint'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 141, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1488, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1523, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 642, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 681, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 679, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 544, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 404, in async_set_temperature
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/netatmo/climate.py", line 416, in set_temperature
    self._home_status.set_room_thermpoint(self._id, STATE_NETATMO_MANUAL, temp)
  File "/usr/local/lib/python3.8/site-packages/pyatmo/thermostat.py", line 240, in set_room_thermpoint
    return self.auth.post_request(url=_SETROOMTHERMPOINT_REQ, params=post_params)
  File "/usr/local/lib/python3.8/site-packages/pyatmo/auth.py", line 171, in post_request
    raise ApiError(
pyatmo.exceptions.ApiError: 500 - Internal Server Error - device.setThermPoint is not a function (11) when accessing 'https://api.netatmo.com/api/setroomthermpoint'

What device are you trying to control?

Hello Tobi!

I’m trying to control my valves.
Using my thermostat it works fine

Unfortunately I can’t replicate this error. Can you give me a bit more information about our setup?

hey tobi!

I’m using a normal Netatmo Smart Thermostat for my floor heating and a new one for my valves (Netatmo Smart Modulate Thermostat)…

Maybe that is the issue?

Right, those are unfortunately not yet supported.

Hello cgtobi

So if I have netatmo modulate thermostat I won’t be able to control the valves right? Is that why I’m having the device.setthermpoint is not a function error

In the meantime, homekit integration works.

Probably yes. Unfortunately Netatmo still has not published an API for the new devices.

Any news on this? I tried the integration again and still not working. BUT I’m reading all the data just fine, and even the battery level.
Still can’t set temperatures cause of error "device.setThermPoint is not a function "

I am currently working towards that since the API has been published.

2 Likes

Any news on this? Just noticed this issue, but I think I have this for a long time already.

Work on using the new API is still ongoing as it involves a major upgrade of the underlying library. About the issue mentioned initially, I don’t know whether this is still valid.

I still get the “Server Error - device.setThermPoint is not a function” error when trying to set the temperature on my Thermostat or valves. (I’m on HA 2021.12.10)

What type of thermostat is that? A modulating one? Those are not supported (yet).

Yes, its a modulating one… switched from the “normal” Netatmo smart thermostat to the modulating recently. Is anyone working on getting the modulating working? I’m happily willing to test or to provide access to mine for testing.

I am working on this. But I can’t give an ETA. I’ll keep that in mind when I need ppl to test things. Thanks.

1 Like

So, since winter is coming, any news on this? With current Gas prices in Europe I would love to have more control over my Modulating Netatmo thermostats. @cgtobi

Tomorrow will be your day. :wink:

2 Likes

Saw the update and came here to thank you for your work sir.
Just tested it and works like a charm, it works so much faster than Homekit Controller

1 Like

@cgtobi Thanks for your hard work! Awesome to have my thermostat control working again!

1 Like