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
При входе или выходе Geofence это приложение вызывает URL на сервере Domoticz так что вы можете перевернуть виртуальный коммутатор.
Если вы находитесь в автономном режиме, то переход будет сохранен и отправить, когда соединение передачи данных.
Настроить:
На вашем Domoticz сервере:
Создать виртуальный коммутатор, который будет запускать DomoFence
Перейти к "Setup -> Hardware» и добавить «фиктивное устройство '
Перейти к "Переключатели" и добавить "Ручная свет / переключатель '
Выберите право "Hardware" и "On / Off" остальное не имеет значения.
Добавление устройства
Теперь перейдите в раздел "Настройки -> Устройства 'и отметьте' Idx 'переключателя вы только что создали.
Безопасный сервер Domoticz с именем пользователя и паролем
Перейти к "Настройка -> Настройки '
В "защиты сайта заполнить имя пользователя, пароль и выберите" Basic-Auth '
Теперь Сохраните настройки
Открытие порта на маршрутизаторе и передать его на ваш внутренний сервер 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