Hi guys,
I am new in the community and I hope I can fully participate with you.
I have recently installed OH2 and I am trying to build something interesting with it, especially to improve the limited functionality offered to me by the Xiaomi Mi Home system in my possession.
As many of you will know, the xiaomi gateaway allows, via the app, to enable and disable the alarm mode.
If you have a button that belongs to the Xiaomi ecosystem, you can also enable or disable this mode using a physical button.
By installing OH2 I was hoping to enable the alarm mode via other SW and HW interfaces.
For example via Habpanel or via third-party switch buttons.
To do this, I should find a way to send the command to the gateway to enable the alarm mode. How can I do?
I installed the “Xiaomi Mi Smart Home Binding” add-ons and added the Xiaomi Gateway (the light control works perfectly) but I can not find the channel to enable the alarm mode.
WARNING: I do not intend to trigger the alarm, but the alarm mode.
In addition I would like the gateaway to light up red when the alarm mode is enabled.