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
Quando si entra o si lascia il tuo geofence questa applicazione richiede un URL sul server Domoticz in modo da poter capovolgere un interruttore virtuale.
Se si è in linea, la transizione verrà memorizzato e inviare quando una connessione dati è disponibile.
Impostare:
Sul server Domoticz:
Creare uno switch virtuale che DomoFence innescherà
Vai a 'Setup -> Hardware' e aggiungere un 'dispositivo Dummy'
Vai a 'switch' e aggiungere un 'Manuale di luce / interruttore'
Selezionare il giusto 'hardware' e 'On / Off' il resto non ha importanza.
Aggiungere il dispositivo
Ora vai a 'Setup -> Dispositivi' e notare il 'Idx' dello switch appena creato.
Proteggere il server Domoticz con un nome utente e una password
Vai a 'Setup -> Impostazioni'
Al 'protezione Sito' compilare un nome utente, password e selezionare 'Basic-Auth'
Ora Salvare le impostazioni
Aprire una porta sul router e passarlo al server domoticz interno (di solito attraverso NAT)
(Non utilizzare il 'porta condivisa remota' sul Domoticz, utilizzare la porta si utilizza anche nel tuo browser (8080 per impostazione predefinita).)
Se si utilizza un certificato auto-firmato con https, DomoFence accetterà il certificato e convalidare solo se il nome comune (o Alternative Names) sono lo stesso del vostro nome host.
Per il supporto, potete andare qui: http://domoticz.com/forum/viewtopic.php?f=37&t=6099
Questa applicazione si basa su: https://github.com/googlesamples/android-play-location/tree/master/Geofencing
Icona fatta da http://icons8.com è sotto licenza linkware
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