I don’t know why this uses so much battery, the iphone search doesnt even appear in my list of apps which use much battery.
Unfortunately I’m a android developer, I’m in the progress of learning swift but I think that is beyond my possibilites yet
but I think there would already be an app who does this: locative.
Somenone mentioned it in this forum, it can push a http request when leaving a geofence.
Sounds good. I will have a look on it …
My concern with this is: you have to open your pimatic installation to the internet.
the best thing would be a url with a certificate so you can encrypt your communication to your pimatic installation and push your request directly to the pimatic api
but I’m still not very happy with opening pimatic to the web…
My pimatic server is exposed to the internet behind a firewall/router. Only SSH and one NAT’ed high port for the HTTPS connection is open. I’m using Let’s Encrypt certificates which work well with any kind of client. The connection is as secure as the firewall and as secure as basic auth over SSL is. It works for me. I’m running an alarm system which definitely has to be reachable through an external connection.