Additionally, paste this code immediately after the opening tag:

GeoFence for Domoticz

When you enter or leave your geofence this app calls a URL on your Domoticz server so you can flip a virtual s...

Free

Store review

When you enter or leave your geofence this app calls a URL on your Domoticz server so you can flip a virtual switch.
If you are offline, the transition will be stored and send when a data connection is available.

Setup:

On your Domoticz server:

Create a virtual switch that DomoFence will trigger
Go to 'Setup -> Hardware' and add a 'Dummy device'
Go to 'Switches' and add a 'Manual light/switch'
Select the right 'Hardware' and 'On/Off' the rest doesn't matter.
Add the device
Now go to 'Setup -> Devices' and note the 'Idx' of the switch you just created.

Secure your Domoticz server with a username and password
Go to 'Setup -> Settings'
At 'Website protection' fill in a username, password and select 'Basic-Auth'
Now Save your settings

Open a port on your router and pass it to your internal domoticz server (usually through NAT)

(Don't use the 'Remote Shared Port' on Domoticz, use the port you also use in your browser (8080 by default).)

If you use a self-signed certificate with https, DomoFence will accept the certificate and only validate if the Common Name (or Alternative Names) are the same as your hostname.

For support, you can go here: http://domoticz.com/forum/viewtopic.php?f=37&t=6099

This app is based on: https://github.com/googlesamples/android-play-location/tree/master/Geofencing
Icon made by http://icons8.com is licensed under linkware

Last update

Dec. 5, 2019

Read more