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
Khi bạn nhập vào hoặc rời khỏi geofence của bạn ứng dụng này gọi một URL trên máy chủ Domoticz của bạn, do đó bạn có thể lật một switch ảo.
Nếu bạn đang offline, quá trình chuyển đổi sẽ được lưu trữ và gửi đi khi một kết nối dữ liệu có sẵn.
Thành lập:
Trên máy chủ Domoticz của bạn:
Tạo một switch ảo mà DomoFence sẽ kích hoạt
Đi đến 'Setup -> Hardware' và thêm một 'thiết bị giả'
Đi đến 'tắc' và thêm một 'tay ánh sáng / chuyển đổi'
Chọn đúng "phần cứng" và "On / Off" phần còn lại không quan trọng.
Thêm thiết bị
Bây giờ đi đến 'Setup -> Devices và lưu ý' idx 'của switch mà bạn vừa tạo.
Bảo vệ máy chủ Domoticz của bạn với một tên người dùng và mật khẩu
Đi đến 'Setup -> Cài đặt'
Tại 'bảo vệ Website' điền vào tên người dùng, mật khẩu và chọn 'Basic-Auth'
Bây giờ Lưu các thiết lập của bạn
Mở một cổng trên router của bạn và vượt qua nó đến máy chủ domoticz nội bộ của bạn (thường là thông qua NAT)
(Không sử dụng 'Port chia sẻ từ xa' trên Domoticz, sử dụng cổng bạn cũng sử dụng trong trình duyệt của bạn (8080 theo mặc định).)
Nếu bạn sử dụng một chứng chỉ tự ký với https, DomoFence sẽ chấp nhận chứng chỉ và chỉ xác nhận nếu Common Name (hoặc Alternative Names) cũng giống như tên máy của bạn.
Để được hỗ trợ, bạn có thể vào đây: http://domoticz.com/forum/viewtopic.php?f=37&t=6099
Ứng dụng này được dựa trên: https://github.com/googlesamples/android-play-location/tree/master/Geofencing
Biểu tượng được thực hiện bởi http://icons8.com được cấp phép theo 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