Netatmo Issue device.setThermPoint is not a function

Hi @cgtobi,
I’m still found the error: “device.setThermPoint is not a function (11) when accessing 'https://api.netatmo.com/api/setroomthermpoint” when try to set a different temperature to my netatmo valve.
I’m using Bticino Smarther 2 and Netatmo Smart Valve: Bticino Smarther 2 in HA works very fine.
Any idea?

Many thanks

What version of HA?

Home Assistant 2022.10.5
Supervisor 2022.10.0
Operating System 9.3
Frontend 20221010.0 - latest
@cgtobi

Can you please try 2022.11.0b4 and let me know if that fixes the issue?

Hi @cgtobi, I just update HA to 2022.11 but the issue seems to be the same:

“500 - Internal Server Error - device.setThermPoint is not a function (11) when accessing ‘https://api.netatmo.com/api/setroomthermpoint’”

thx

Hi have the same issue.
“500 - Internal Server Error - device.setThermPoint is not a function (11) when accessing ‘https://api.netatmo.com/api/setroomthermpoint’”

Home Assistant 2022.11.1
Supervisor 2022.10.2
Operating System 9.3
Frontend 20221102.1 - latest

Integration stopped, it gives me the usual error. Last month this was working perfectly

When you roll back to the version that was working, does it still work?

Hello cgtobi. Sorry for the delay, been busy at work.
As of 11.2 still not working.

And yes, I just did a rollback and it works. Here is my working version:

Home Assistant 2022.10.0
Supervisor 2022.10.2
Operating System 9.3
Frontend 20221005.0 - latest

For the moment I will stay with this version in case you need more info.
What I didn’t try is with recent versions do a clean install of the integration, I can do that if you want

Any progress about my previous reply? Can I update my HA or should I wait a bit longer in case you need some tests?

What kind of Netatmo (related) devices do you have in your setup up? It is the Netatmo valves that don’t work, right?

Hi all ! Have the same issue with Netatmo Modulating and Valves.

Log Error, if change temperature in any pieces :

[140259186262944] 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 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1744, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1781, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 208, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 943, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 613, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/netatmo/climate.py", line 326, in async_set_temperature
    await self._room.async_therm_set(
  File "/usr/local/lib/python3.10/site-packages/pyatmo/room.py", line 111, in async_therm_set
    await self._async_set_thermpoint(mode, temp, end_time)
  File "/usr/local/lib/python3.10/site-packages/pyatmo/room.py", line 165, in _async_set_thermpoint
    await self.home.auth.async_post_api_request(
  File "/usr/local/lib/python3.10/site-packages/pyatmo/auth.py", line 351, in async_post_api_request
    return await self.async_post_request(
  File "/usr/local/lib/python3.10/site-packages/pyatmo/auth.py", line 389, in async_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'

My devices :

My instance :
Home Assistant 2022.11.4 Interface utilisateur : 20221108.0 - latest

Thanks !

Edit : Same error with Home Assistant 2022.11.0b7 Interface utilisateur : 20221102.0 - latest

I have the opentherm relay, valves and thermostat everything Netatmo. Stopped working 11.x and works excellent in 10.0

Any news about the setroomthermpoint issue?

I run the custom component and it’s fixed. I assume when all the changes are approved that they will make the next update.

But that’s up to @cgtobi and the HA team!

2 Likes

I don’t know if the fix has been released, but after the last HA update the error is changed.

Not anymore: device.setThermPoint is not a function (11)

But: The device is not a ThermRelay (13)

"Invocazione del servizio climate/set_temperature non riuscita. 403 - Forbidden - The device is not a ThermRelay (13) when accessing 'https://api.netatmo.com/api/setroomthermpoint'"

The netatmo integration still hasn’t been updated within HomeAssistant.

Takes a long time, doesn’t it? @cgtobi Is this normal procedure or?

Yes, I’m sorry. I’m busy with life and work. I’ll ask for a new upstream release of pyatmo to get that fixed in HA.

Thanks.

I don’t know if it helps, it has probably already been analyzed, but I’ve started looking at the netatmo api and, according to the documentation, the endpoint indicate in logs:
https://api.netatmo.com/api/setroomthermpoint' not exist

For the valvle the correct endpoint is https://api.netatmo.com/api/setstate
I tested with a python script and it works.

This is payload

 {
   "home": {
     "id": "<home_id>",
     "rooms": [
       {
         "id": "<room_id>",
         "therm_setpoint_end_time": 1616621480,
         "therm_setpoint_mode": "manual",
         "therm_setpoint_temperature": 20
       }
     ]
   }
 }

I apologize if this has already been said, hope it helps

I can confirm