danpoltawski / homebridge-thermostat-netatmo

Homebridge plugin for Netamo thermostat
GNU General Public License v3.0
7 stars 5 forks source link

number 0 exceeded minimum of 10 #12

Open sebw opened 11 months ago

sebw commented 11 months ago

Hi,

Thanks for this plugin! It doesn't seem to work on my fresh Homebridge install.

I'm getting this error:

[homebridge-thermostat-netatmo] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info.

My config (client ID and secret are known to work with Homebridge Eveatmo plugin):

{
    "name": "Netatmo Thermostat",
    "client_id": "65XXXXXXXXXXX",
    "client_secret": "0W2bXXXXXXXXXXXXXXXXXXXXXXX",
    "username": "XXX@XXX.com",
    "password": "XXX",
    "accessory": "Netatmo-Thermostat",
    "_bridge": {
        "username": "0E:F2:74:XX:XX:XX",
        "port": 32072
    }
}
danpoltawski commented 11 months ago

Thanks for the report! I've not used the plugin for a while but i've been meaning to modernise it a little, so this is a good prompt.

sebw commented 11 months ago

I don't have mad skills in Node but I have a thermostat and I can help testing things out :-)

wassim01110111 commented 11 months ago

I think the root problem here is that both api's to set and receive temp information are not supported anymore as it seems. 'https://api.netatmo.com/api/getthermostatsdata' has become 'https://api.netatmo.com/api/homestatus' which require the home_id and 'https://api.netatmo.com/api/setthermpoint' has become 'https://api.netatmo.com/api/setroomthermpoint' which require the home_id and the room_id (can be found with the homestatus endpoint). You should checkout their updated documentation : https://dev.netatmo.com/apidocumentation/energy

cinaxx commented 10 months ago

Same issue on my side ...

cinaxx commented 9 months ago

any updates ?

DEEJCUK commented 8 months ago

same issues

aptonline commented 1 month ago

I'm seeing the same issue as well:

[8/18/2024, 2:35:00 PM] [homebridge-thermostat-netatmo] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info.

This seems to be the only supported Plugin at the moment so home this can be picked up and fixed.