Page 7 of 20

Re: Geofence for Domoticz

Posted: Tuesday 08 March 2016 7:47
by forum026
Appesteijn wrote: If there are errors you should see them in a Toast (the short popup message). If your virtual switch does get switched on, the communication should be OK. And if the app give a notification when entering the geofence, that should work also.
You could also look into your location history at google and see if anything weird happens: https://maps.google.com/locationhistory/b/0

And you could try to see what happens when you place the geofence at another location (e.g. at work) to test if it works there.
There were not error messages. This weekend I updated the Domoticz software to V3.xxx and now it's working fine. :D

Re: Geofence for Domoticz

Posted: Friday 25 March 2016 12:47
by toreandre
Is there any geofence for Windows phones?

Re: Geofence for Domoticz

Posted: Monday 13 June 2016 17:15
by sisaenkov
Can you add login page auth support in addition to basic-auth?

Re: Geofence for Domoticz

Posted: Tuesday 14 June 2016 11:49
by Appesteijn
Not sure how that works, just a POST to the login form?

I'll have a look this weekend.

--Update: Didn't have time this weekend. I'll put it on the backlog for this app.

Re: Geofence for Domoticz

Posted: Sunday 26 June 2016 10:14
by Craigarran
Been using Pilot on an iPhone successfully for some time and now converted to Android and therefore attempting to use Domofence but all I get is "Error: <URL>". The URL is correct but I don't know where the error is coming from. Can anyone help please?

Re: Geofence for Domoticz

Posted: Tuesday 28 June 2016 10:20
by Appesteijn
Craigarran wrote:Been using Pilot on an iPhone successfully for some time and now converted to Android and therefore attempting to use Domofence but all I get is "Error: <URL>". The URL is correct but I don't know where the error is coming from. Can anyone help please?
Maybe this post and my answer below it will help: http://domoticz.com/forum/viewtopic.php?p=75137#p75137

Re: Geofence for Domoticz

Posted: Wednesday 29 June 2016 14:07
by Craigarran
Thanks for the help. I changed to Basic-Auth, still not change. I reloaded the app and it now works. Thanks again.

Re: Geofence for Domoticz

Posted: Thursday 30 June 2016 10:58
by Appesteijn
Craigarran wrote:Thanks for the help. I changed to Basic-Auth, still not change. I reloaded the app and it now works. Thanks again.
Good to hear!

Re: Geofence for Domoticz

Posted: Thursday 04 August 2016 12:06
by amens
I have been testing your application for a couple of days now, but it doesn't seem to work for me. The app is not recognizing my location somehow. Only a few times when I'm at home i got the message that the geofence was entered.

Are there know issues with a Samsung Galaxy Note 4?

Re: Geofence for Domoticz

Posted: Thursday 11 August 2016 13:17
by Appesteijn
amens wrote:I have been testing your application for a couple of days now, but it doesn't seem to work for me. The app is not recognizing my location somehow. Only a few times when I'm at home i got the message that the geofence was entered.

Are there know issues with a Samsung Galaxy Note 4?
A little late (was on vacation), but there are no known issues with your device. What ou could try is to open Google Maps when you are at home and the geofence isn't triggered. Look where you phone thinks you are.

Also it is advised (when you have problems with the geofence) to start with a large geofence (1000 meters for example) and look if that works. Then start making the geofence smaller 500, 250, etc.

Re: Geofence for Domoticz

Posted: Tuesday 30 August 2016 3:04
by PABben
Using reverse proxy at my place. If I specify the port, my proxy sends the request to that port on the firewall and not the server where it's supposed to go. Is it possible to do the "port" option not mandatory?

Re: Geofence for Domoticz

Posted: Tuesday 30 August 2016 7:33
by Appesteijn
PABben wrote:Using reverse proxy at my place. If I specify the port, my proxy sends the request to that port on the firewall and not the server where it's supposed to go. Is it possible to do the "port" option not mandatory?
Yes it is, I'll look in to it today.

Edit: I just released a new version where the port number is optional. Your phone should update in a few hours (when google has distributed the new version)

Re: Geofence for Domoticz

Posted: Wednesday 31 August 2016 12:56
by PABben
Appesteijn wrote:
PABben wrote:Using reverse proxy at my place. If I specify the port, my proxy sends the request to that port on the firewall and not the server where it's supposed to go. Is it possible to do the "port" option not mandatory?
Yes it is, I'll look in to it today.

Edit: I just released a new version where the port number is optional. Your phone should update in a few hours (when google has distributed the new version)
Thank you! However, when i don't add a port number, it adds a ":" at the end of the url so the json url does'nt work ( "myserver.com:/" and not "myserver.com/")

Re: Geofence for Domoticz

Posted: Wednesday 31 August 2016 14:13
by Appesteijn
PABben wrote: Thank you! However, when i don't add a port number, it adds a ":" at the end of the url so the json url does'nt work ( "myserver.com:/" and not "myserver.com/")
You should leave the field completely empty (so it reads 'Port'). Let me know if that doesn't work.

Re: Geofence for Domoticz

Posted: Wednesday 31 August 2016 14:20
by PABben
Appesteijn wrote:
PABben wrote: Thank you! However, when i don't add a port number, it adds a ":" at the end of the url so the json url does'nt work ( "myserver.com:/" and not "myserver.com/")
You should leave the field completely empty (so it reads 'Port'). Let me know if that doesn't work.
Still adding the ":" :)
Spoiler: show
Image

Re: Geofence for Domoticz

Posted: Wednesday 31 August 2016 15:54
by Appesteijn
PABben wrote: Still adding the ":" :)
That is weird, tested it on a few phones of myself. You could try to remove and add the Geofence and see if that works, maybe saving the empty port number went wrong.

I just made checking of a valid port number more robust, so a new version should be on your phone in a few hours.

Let me know if it works.

Re: Geofence for Domoticz

Posted: Wednesday 31 August 2016 22:21
by PABben
Appesteijn wrote:
PABben wrote: Still adding the ":" :)
That is weird, tested it on a few phones of myself. You could try to remove and add the Geofence and see if that works, maybe saving the empty port number went wrong.

I just made checking of a valid port number more robust, so a new version should be on your phone in a few hours.

Let me know if it works.
Working perfectly now :) Thank you!

Re: Geofence for Domoticz

Posted: Thursday 01 September 2016 7:55
by Appesteijn
PABben wrote:
Appesteijn wrote:
PABben wrote: Still adding the ":" :)
That is weird, tested it on a few phones of myself. You could try to remove and add the Geofence and see if that works, maybe saving the empty port number went wrong.

I just made checking of a valid port number more robust, so a new version should be on your phone in a few hours.

Let me know if it works.
Working perfectly now :) Thank you!
Your welcome!

Re: Geofence for Domoticz

Posted: Saturday 03 September 2016 16:45
by sundberg84
Hi!

My domofence stopped working. Whatever i do (leave port empty or fill it in) i get fail test connection but it reports back (port 80). It will fail because i dont use port 80 but a custom one. It seems like its not possible to change to something else, it reports back fail port 80 whatever i enter.

Its a Samsung S6 with the latest domofence. I have tried reinstalled it and reconfig it.

Edit - im using a port above 9999 (5 digits) and this is the problem.
If i remove one digit it works. This must have changed in the last version - is it possible to change back?

Re: Geofence for Domoticz

Posted: Sunday 04 September 2016 9:43
by sundberg84
sundberg84 wrote:Hi!

My domofence stopped working. Whatever i do (leave port empty or fill it in) i get fail test connection but it reports back (port 80). It will fail because i dont use port 80 but a custom one. It seems like its not possible to change to something else, it reports back fail port 80 whatever i enter.

Its a Samsung S6 with the latest domofence. I have tried reinstalled it and reconfig it.

Edit - im using a port above 9999 (5 digits) and this is the problem.
If i remove one digit it works. This must have changed in the last version - is it possible to change back?

OK, something happened during tonight, not its not a timeout anymore... not i get a Error:Http://xxx.xxx..../json.html?..."