Sensibo Sky supports a feature called Climate React which enables users to set up, amongst other things, a temperature range for the device to maintain by switching the AC on and off. The Climate React feature itself can be enabled and disabled via the app.
It would be great if support for enabling and disabling Climate React were added to pysensibo and Home Assistant. This would open up some doors for automation. For example, Climate React should be enabled in the toddler’s room whilst he/she is sleeping there and hence the AC should maintain the desired temperature range in the room whilst the toddler is there, however if the toddler is not sleeping in the room, Climate React should be disabled so that the AC is not turned on/off unnecessarily to maintain the temperature in an empty room. Support for editing the Climate React parameters need not be added as one can use the app for that, but automating the enabling and disabling of that feature, with the parameters already have been previously defined, would be very useful.
Further, to get the status of the Climate React feature, an additional field to fetch called smartMode can be added to the existing _FETCH_FIELDS array in the current implementation and the enabled property on that object can be inspected to determine whether it is enabled or not.
On second thought, it seems that calling the API endpoint for enabling / disabling Climate React clears the Climate React settings. I picked up this behavior when using Postman for testing. This was not the behavior I was after and it differs from what the Sensibo app does. More research is needed, it seems.
Ok I got more time to test this and the Climate React aka “smartmode” API DOES actually work. I got the HTTP verb wrong originally and used POST instead of PUT. Using POST caused the Climate React settings to be cleared, but using PUT had the desired effect where I could enable and disable it.
So my request still stands. Is there any chance that this could be added to pysensibo and Home Assistant (just the enabling and disabling of Climate React)? I can give it a shot myself, but I am a total newbie at writing Home Assistant python code.
Has there been any update or movement on this? Sensibo ‘Climate React’ or smartmode is also something I’m looking to schedule via HA based on time and this endpoint isn’t available.
I’m relatively new to HA but have scripting experience - is creating an API webhook manually via HA scripts an option to hit the Sensibo Climate React endpoint?
Thank you for posting this. I ended up doing something similar to what you did, except I use a REST switch instead of a command. At the time I couldn’t find a way to parameterise the the deviceid in the URL, so I have the entire URL with the deviceid and API key as one secret.
Using the above, I can display a switch in the UI right next to the climate control. The switch also detects whether climate react is on, so it will display the correct state even if you change the state in the app.
Thanks again @ivanl - now that I’m at 4 x sensibo I’ve changed mine to work more like yours - via a switch which is easy to see on my FireHD 10 wallmounted tablet. I decided to go with a template switch which lets me pass the deviceID. Sharing for anyone else interested: