Page 11 of 20

Re: Geofence for Domoticz

Posted: Wednesday 08 March 2017 13:20
by thecosmicgate
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 ?

Re: Geofence for Domoticz

Posted: Wednesday 08 March 2017 17:59
by EdwinK
Trying this, and it seems to work. Tomorrow will be te real test. Now I'm not leaving my zone ;)

Re: Geofence for Domoticz

Posted: Thursday 09 March 2017 8:09
by Appesteijn
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 ?
I haven't heard that Android 7 breaks anything, but I'll look in to this.

Re: Geofence for Domoticz

Posted: Thursday 09 March 2017 17:54
by Misterik
Appesteijn wrote:
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 ?
I haven't heard that Android 7 breaks anything, but I'll look in to this.
Yep...i have also the same problem. I had not noticed yet, so thanks for mention this.

UPDATE : More apps where not working. But after a reboot off my phone it worked again, including domofence.

Re: Geofence for Domoticz

Posted: Friday 10 March 2017 22:32
by thecosmicgate
I already did some 5 reboots with the phone's but still it doesn't respond

Re: Geofence for Domoticz

Posted: Monday 13 March 2017 7:39
by Appesteijn
thecosmicgate wrote:I already did some 5 reboots with the phone's but still it doesn't respond
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 ... .domofence

Please, let me know if it helps! You might need to remove and re-add your geofence.

Re: RE: Re: Geofence for Domoticz

Posted: Monday 13 March 2017 13:23
by thecosmicgate
Appesteijn wrote:
thecosmicgate wrote:I already did some 5 reboots with the phone's but still it doesn't respond
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 ... .domofence

Please, let me know if it helps! You might need to remove and re-add your geofence.
Sure, installed this and will keep you posted

Re: Geofence for Domoticz

Posted: Monday 13 March 2017 20:22
by thecosmicgate
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 ;(

Re: Geofence for Domoticz

Posted: Tuesday 14 March 2017 7:33
by Appesteijn
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 ;(
Weird, if it really never sends any signals then something else might be the problem. Could you try to reinstall the app?

And the 'test button' does work right?

Re: Geofence for Domoticz

Posted: Thursday 23 March 2017 18:50
by thecosmicgate
Un-installed en re-installed but the problem is still there
The test button is working fine

Re: Geofence for Domoticz

Posted: Friday 24 March 2017 15:19
by Appesteijn
thecosmicgate wrote:Un-installed en re-installed but the problem is still there
The test button is working fine
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.
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.

Re: Geofence for Domoticz

Posted: Friday 24 March 2017 15:25
by thecosmicgate
I installed the latest beta .
So i can test this changes, hopefully this is the solution .

Re: Geofence for Domoticz

Posted: Friday 24 March 2017 20:23
by thecosmicgate
With the latest beta it seems to work fine !

Is it also possible to request some app features using this topic ;)

Re: Geofence for Domoticz

Posted: Sunday 26 March 2017 11:45
by Appesteijn
thecosmicgate wrote:With the latest beta it seems to work fine !

Is it also possible to request some app features using this topic ;)
Ok good to hear! You can request anything as long as I can say 'No' :)

Re: Geofence for Domoticz

Posted: Sunday 26 March 2017 12:01
by thecosmicgate
Is there some possibilitie to select / use 2 ports or servers ? This because i use different ports for internal and external acces

Re: Geofence for Domoticz

Posted: Sunday 26 March 2017 14:54
by Appesteijn
thecosmicgate wrote:Is there some possibilitie to select / use 2 ports or servers ? This because i use different ports for internal and external acces
Can't you just use your external ip from within your internal network?

Re: RE: Re: Geofence for Domoticz

Posted: Sunday 26 March 2017 15:01
by thecosmicgate
Appesteijn wrote:
thecosmicgate wrote:Is there some possibilitie to select / use 2 ports or servers ? This because i use different ports for internal and external acces
Can't you just use your external ip from within your internal network?
Nope , i also use a name instead of a IP

Re: Geofence for Domoticz

Posted: Thursday 13 April 2017 14:39
by lordsidney
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?

Re: Geofence for Domoticz

Posted: Friday 14 April 2017 8:21
by Appesteijn
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?
Does it work when you are on the local network (and use you internal server ip)?

What happens if you use that url in your browser?

Check if you have 'Basic auth':

Re: Geofence for Domoticz

Posted: Sunday 23 April 2017 14:59
by thecosmicgate
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