I am trying to use the endpoint https://app.netatmo.net/api/setthermmode described in https://dev.netatmo.com/resources/techn ... tthermmode to control my thermostat. I can log in and set it to mode "away" or "hg" without problems. However, when I try to set the thermostat to "off" or "max", I get a "mode not authorized" error.
What do I need to do to use these modes?
Note the https://dev.netatmo.com/api/setthermpoint endpoint used to work without problems with all modes.
"mode not authorized" when trying to set thermostat to "off"
-
- Posts: 41
- Joined: 23 Nov 2016, 17:56
Re: "mode not authorized" when trying to set thermostat to "
Try
api/setroomthermpoint
Documentation is wrong…
api/setroomthermpoint
Documentation is wrong…
Re: "mode not authorized" when trying to set thermostat to "
I'm afraid that also does not work - the documentation is really broken.
What works: go to http://my.netatmo.com and use the Web Inspector to see the actual API calls being made. The endpoints are https://app.netatmo.net/api/setthermmode and https://app.netatmo.net/syncapi/v1/setthermpoint. This is still really cumbersome, but serves my purpose.
It would be really nice if there were proper documentation, though.
What works: go to http://my.netatmo.com and use the Web Inspector to see the actual API calls being made. The endpoints are https://app.netatmo.net/api/setthermmode and https://app.netatmo.net/syncapi/v1/setthermpoint. This is still really cumbersome, but serves my purpose.
It would be really nice if there were proper documentation, though.
Re: "mode not authorized" when trying to set thermostat to "
Hello,
Setthermode is made to set the whole home heating system to use schedule, away or frost guard mode.
If you want to set your thermostat to OFF or MAX, you should be using Setroomthermpoint which permits to modifiy a room mode (and not the home one).
With Setroomthermpoint you can set a room to manual or to home (which will apply the home mode to the room). OFF and MAX are specific as they can only be set on the room that contains the thermostat (otherwise, it can't control any boiler).
Endpoint to use is https://api.netatmo.com/api/setroomthermpoint
Setthermode is made to set the whole home heating system to use schedule, away or frost guard mode.
If you want to set your thermostat to OFF or MAX, you should be using Setroomthermpoint which permits to modifiy a room mode (and not the home one).
With Setroomthermpoint you can set a room to manual or to home (which will apply the home mode to the room). OFF and MAX are specific as they can only be set on the room that contains the thermostat (otherwise, it can't control any boiler).
Endpoint to use is https://api.netatmo.com/api/setroomthermpoint
Céline - Netatmo Team