Geofence for Domoticz
Moderator: leecollings
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
The domofence app was running fine, till I updated my galaxy S7 to the new nougat OS.
Now domofence doesnt send / trigger the off signal to the IDX in domoticz.
The application itself tells me nicely : entered or exited the zones but nothing happen in the domoticz dashboard.
When I test the app it nicely set the switch to : on .
But after this ... Nothing
Anybody who can help me with this ?
Now domofence doesnt send / trigger the off signal to the IDX in domoticz.
The application itself tells me nicely : entered or exited the zones but nothing happen in the domoticz dashboard.
When I test the app it nicely set the switch to : on .
But after this ... Nothing
Anybody who can help me with this ?
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Geofence for Domoticz
Trying this, and it seems to work. Tomorrow will be te real test. Now I'm not leaving my zone 

Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
I haven't heard that Android 7 breaks anything, but I'll look in to this.thecosmicgate wrote:The domofence app was running fine, till I updated my galaxy S7 to the new nougat OS.
Now domofence doesnt send / trigger the off signal to the IDX in domoticz.
The application itself tells me nicely : entered or exited the zones but nothing happen in the domoticz dashboard.
When I test the app it nicely set the switch to : on .
But after this ... Nothing
Anybody who can help me with this ?
-
- Posts: 28
- Joined: Sunday 11 December 2016 18:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Yep...i have also the same problem. I had not noticed yet, so thanks for mention this.Appesteijn wrote:I haven't heard that Android 7 breaks anything, but I'll look in to this.thecosmicgate wrote:The domofence app was running fine, till I updated my galaxy S7 to the new nougat OS.
Now domofence doesnt send / trigger the off signal to the IDX in domoticz.
The application itself tells me nicely : entered or exited the zones but nothing happen in the domoticz dashboard.
When I test the app it nicely set the switch to : on .
But after this ... Nothing
Anybody who can help me with this ?
UPDATE : More apps where not working. But after a reboot off my phone it worked again, including domofence.
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
I already did some 5 reboots with the phone's but still it doesn't respond
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Yesterday I created a new version with the latest geofence-ing library from Google, you can test it here: https://play.google.com/apps/testing/co ... .domofencethecosmicgate wrote:I already did some 5 reboots with the phone's but still it doesn't respond
Please, let me know if it helps! You might need to remove and re-add your geofence.
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: RE: Re: Geofence for Domoticz
Sure, installed this and will keep you postedAppesteijn wrote:Yesterday I created a new version with the latest geofence-ing library from Google, you can test it here: https://play.google.com/apps/testing/co ... .domofencethecosmicgate wrote:I already did some 5 reboots with the phone's but still it doesn't respond
Please, let me know if it helps! You might need to remove and re-add your geofence.
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
Installed the Béta, but the same problem still exists.
Also rebooted the smartphone but nothing.
Domofence doesnt send the on - off to the IDX ;(
Also rebooted the smartphone but nothing.
Domofence doesnt send the on - off to the IDX ;(
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Weird, if it really never sends any signals then something else might be the problem. Could you try to reinstall the app?thecosmicgate wrote:Installed the Béta, but the same problem still exists.
Also rebooted the smartphone but nothing.
Domofence doesnt send the on - off to the IDX ;(
And the 'test button' does work right?
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
Un-installed en re-installed but the problem is still there
The test button is working fine
The test button is working fine
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
OK I think I know what the issue is. Android 7.0 doesn't let apps listen to network changes. DomoFence did this to send cached geofence transitions.thecosmicgate wrote:Un-installed en re-installed but the problem is still there
The test button is working fine
So when you crossed a geofence but didn't have a dataconnection available, DomoFence cached the transition and would send it when you did have a data connection available.
I just released a beta in which I build the app for Android 6.0 so it should work on 7.0 with the old functionality.
Could you please try the beta (2.7.2) and see if this works? If it does, I will implement a good solution, but that will take a lot more work.
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
I installed the latest beta .
So i can test this changes, hopefully this is the solution .
So i can test this changes, hopefully this is the solution .
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
With the latest beta it seems to work fine !
Is it also possible to request some app features using this topic
Is it also possible to request some app features using this topic

It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Ok good to hear! You can request anything as long as I can say 'No'thecosmicgate wrote:With the latest beta it seems to work fine !
Is it also possible to request some app features using this topic

- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
Is there some possibilitie to select / use 2 ports or servers ? This because i use different ports for internal and external acces
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Can't you just use your external ip from within your internal network?thecosmicgate wrote:Is there some possibilitie to select / use 2 ports or servers ? This because i use different ports for internal and external acces
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: RE: Re: Geofence for Domoticz
Nope , i also use a name instead of a IPAppesteijn wrote:Can't you just use your external ip from within your internal network?thecosmicgate wrote:Is there some possibilitie to select / use 2 ports or servers ? This because i use different ports for internal and external acces
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
-
- Posts: 1
- Joined: Thursday 13 April 2017 14:35
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Hi Guys
I am trying to use domofence, but I get an error when using the test button...
The iPhone and port are OK.
But it seems it cannot connect to my server.
Have you an idea?
I am trying to use domofence, but I get an error when using the test button...
The iPhone and port are OK.
But it seems it cannot connect to my server.
Have you an idea?
- Attachments
-
- Screenshot_20170413-143045_01_01.png (107.35 KiB) Viewed 2840 times
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Does it work when you are on the local network (and use you internal server ip)?lordsidney wrote:Hi Guys
I am trying to use domofence, but I get an error when using the test button...
The iPhone and port are OK.
But it seems it cannot connect to my server.
Have you an idea?
What happens if you use that url in your browser?
Check if you have 'Basic auth':
- Attachments
-
- Screen Shot 2017-04-14 at 08.22.22.png (134.55 KiB) Viewed 2820 times
- thecosmicgate
- Posts: 188
- Joined: Monday 06 April 2015 14:37
- Target OS: Linux
- Domoticz version: newest
- Location: The Netherlands / Hoeven
- Contact:
Re: Geofence for Domoticz
Okay back again : domofence was working for a fews days (i think) but at the moment when we entered the zone , it doesn't send the "on" signal.
When we manually press the "test connection" it is working fine ;(
Sent from my SM-G935F using Tapatalk
When we manually press the "test connection" it is working fine ;(
Sent from my SM-G935F using Tapatalk
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
Who is online
Users browsing this forum: No registered users and 1 guest