Turn Aqara camera on/off

I have the Xiaomi Aqara camera, and I’m looking for a good way to turn it’s camera on and off using Home Assistant.
Until now, I’ve been using a smart plug to turn it on/off, but the camera seems to have some issues with this method. First of all, the inserted SD card disappears randomly and also it becomes hard to get a stable stream.
So, I figured the proper way to turn the camera on/off, is using the Mi Home app. Unfortunately, in there, it’s only possible to turn it on/off with some physical interaction.
How could I possibly do this?

  1. Solder a scrap Xiaomi button together with e.g. a NodeMCU and code different types of presses (or perhaps even use Tasmota for it?)
  2. Could any of the Xiaomi 3rd party integrations possibly help me with this problem? It’s all in Chinese, and I don’t recognize any of them.
  3. Could you somehow emulate the Xiaomi button, perhaps with some cheap Zigbee device and a NodeMCU or something?
  4. ???