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
当你进入或离开地理围栏这个应用程序调用你的Domoticz服务器上的网址,以便您可以翻转的虚拟交换机。
如果您正处于离线状态,过渡将被保存并当数据连接发送。
建立:
在您的服务器Domoticz:
创建的虚拟交换机DomoFence将触发
进入“设置 - >硬件”,添加一个“虚拟设备”
进入'开关',并添加一个“人工光/开关”
选择正确的“硬件”和“开/关”,其余都无所谓。
添加设备
现在进入“设置 - >设备”,并注意开关刚刚创建的“并按Idx”。
用户名和密码保护您的Domoticz服务器
进入“设置 - >设置”
在“网站保护”填写用户名,密码,然后选择“基本认证”
现在保存设置
你的路由器上打开一个端口,并把它传递给内部domoticz服务器(通常是通过NAT)
(不要使用Domoticz了“远程共享端口”,默认情况下使用也使用的端口在浏览器中(8080)。)
如果使用以https自签名的证书,DomoFence将接受证书且仅当公用名称(或其他名称)是相同的主机名进行验证。
支持方面,你可以去这里:http://domoticz.com/forum/viewtopic.php?f=37&t=6099
这个程序是基于:https://github.com/googlesamples/android-play-location/tree/master/Geofencing
通过http://icons8.com做图标下的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