Owntracks : push config to client like monitoring mode

Seems with Owntracks in http mode, we are able to push settings to an Android client, for instance monitoring mode, if you don’t want gps always on… Seems this is possible… But how to configure this in home assistant? How can we send this to a Android client???

More info here:

https://owntracks.org/booklet/tech/json/#_typeconfiguration

You can send this with the HTTP response for example Move monitoring (2)

{
“_type”:“cmd”,
“action”:“setConfiguration”,
“configuration”:
{
“_type”: “configuration”,
“monitoring”: 2
}