FilipDem / Domoticz-BMW-plugin

Domoticz plugin working with BMW Connected Drive
4 stars 2 forks source link

request: Climate button #20

Closed MadPatrick closed 9 months ago

MadPatrick commented 9 months ago

Hi

Is it possible to add a button for the cilimate Now it is within the selctor, but i never use the other and when I press just next to it on the tablet the horn goes off ;-)

FilipDem commented 9 months ago

Hi, I think this can easily be done outside the plugin... Just add a dummy switch and use the Domoticz API in the "On Action". I would probably use a "push on button" for this purpose. You can find the API reference to change a selector switch in https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s#Set_a_dimmable_light.2Fselector_to_a_certain_level. Then you have an extra device that calls the API to activate the climate. Filip

MadPatrick commented 9 months ago

Hi Filip This worked out. Thanks for the support

FilipDem commented 9 months ago

You're welcome.