I realized quite recently (I believe after I upgraded OH from 4.2.1 to 4.2.2) that sending temperature change commands to the thermostats fail with the following error:
11:58:48.082 [WARN ] [l.handler.capability.EnergyCapability] - Error setting room thermostat mode 'MANUAL' : Rest call failed: statusCode=INVALID_ARGUMENT, message=Endtime in the past
This is the DEBUG output:
11:58:47.894 [DEBUG] [tmo.internal.handler.ApiBridgeHandler] - executeUri POST https://api.netatmo.com/api/setroomthermpoint?home_id=xxxxxxxxx&room_id=yyyyyyy&mode=manual&endtime=1729245467&temp=21.5
I tested the snapshot shared on this thread but it had the same results:
The Things are ONLINE and the Items receive information from the Thing channels.
I discovered a related problem. When I send a manual temperature update to the thermostats, the binding somehow sends a setpoint duration of 2 hours, not the one in the energy#setpoint-duration channel. I set the “default time of manual setpoints” to 12 hours (43200 s) on the Netatmo app. The channel correctly reports the time set on the app, although it doesn’t seem to update it, meaning, if I update the time on the Netatmo app, the channel still reports the old value, even after hours of having applied the change. I had to restart the Home thing to have it updated. Anyway, that’s not a big deal. The problem is the 2 hour setpoint instead of the one in the channel.