stefan-kaestle / openhab2-addons

Add-ons for openHAB 2.x
Eclipse Public License 2.0
16 stars 1 forks source link

Parental controls on ash thermostats #41

Closed kreack closed 3 years ago

kreack commented 3 years ago

it would be great to activate / deactivate the bsh thermostats parental controls via openhab (see Kindersicherung unter BSH APP --> Verwaltung --> Geräte --> Heizkörper-Thermostate --> Zimmer --> Kindersicherung)

IMG_ECFE64247A56-1

P.S: Great performance, the binding works perfectly

coeing commented 3 years ago

Not sure if the parental controls are accessible via the Rest API, haven't found any information about it yet. If anybody has additional information feel free to comment! :)

jensflorian commented 3 years ago

I queried my thermostat under /devices/hdm:HomeMaticIP:3014F711A000239BB858E19A/services/Thermostat/state

and got following information:

{ "@type": "childLockState", "childLock": "OFF" }

coeing commented 3 years ago

I managed to enable/disable the child lock via Postman. The service seems to be called "Thermostat" which is kind of strange, but probably due to their API growing over time ;) Anyway we could add a new service which will be added to the thermostat thing. This service will be linked to a "child lock" channel.