owntracks / talk

Questions, talk about OwnTracks
32 stars 4 forks source link

set monitoring mode remotely (http) mode #70

Closed pergolafabio closed 4 years ago

pergolafabio commented 5 years ago

Hi , i am new to this app but is it possible to set the monitoring mode remotely in http mode?

can someone provide me an example how to do this?

thnx in advance

hyteoo commented 4 years ago

Yes

If you look at the docs (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
    }
}
pergolafabio commented 4 years ago

Thx, but I am not sure how to setup this with home assistant for example

jpmens commented 4 years ago

You will have to ask people familiar with HomeAssitant, please.