Geofence for Domoticz
Moderator: leecollings
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Geofence for Domoticz
worked bad today, when i come home it sent a off signal, and than it send some on and off singals when I was home.
Extended the range now, so i will test tomorrow
Extended the range now, so i will test tomorrow
-
- Posts: 14
- Joined: Tuesday 09 February 2016 12:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Maybe a stupid question.
You have to take app GeoFence open on background?
Thank you
You have to take app GeoFence open on background?
Thank you
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
If you have 'added a geofence' you can close the app. It will listen in the background and only gets triggered when you cross the geofence.Pisellon1 wrote:Maybe a stupid question.
You have to take app GeoFence open on background?
Thank you
-
- Posts: 14
- Joined: Tuesday 09 February 2016 12:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Thank you for the info sir!
Re: Geofence for Domoticz
Does geofence not drain your telephones battery because the use of GPS??
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
-
- Posts: 16
- Joined: Saturday 01 March 2014 18:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Does geofence not drain your telephones battery because the use of GPS??
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
- RoadXY
- Posts: 278
- Joined: Monday 07 April 2014 12:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.2331
- Location: Near Gorinchem
- Contact:
Re: Geofence for Domoticz
It uses several things to determine your location like wifi accesspoints it sees, connected phone cell towers and, only if necessary, GPS.
If you have Google Now enabled (or at least Google Location History) then your phone is already trying to figure out where it is every minute.
Off course it wil use some battery but most of the time not more then 5% - 10% on a full day of use (which off course is different on every phone).
According to several reports on internet, the Facebook app uses more! Even when not used. (Don't know if this is true: I don't use the Facebook app)
If you have Google Now enabled (or at least Google Location History) then your phone is already trying to figure out where it is every minute.
Off course it wil use some battery but most of the time not more then 5% - 10% on a full day of use (which off course is different on every phone).
According to several reports on internet, the Facebook app uses more! Even when not used. (Don't know if this is true: I don't use the Facebook app)
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Geofence for Domoticz
Have a request:
If the client does not get "ok" on JSON it should try again in a minute or something, now nothing happens if first JSON not reach Domoticz
If the client does not get "ok" on JSON it should try again in a minute or something, now nothing happens if first JSON not reach Domoticz
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Do you get a timeout? The already checks if you have an internet connection and waits to call the url untill your phone has an internet connection.Evelen wrote:Have a request:
If the client does not get "ok" on JSON it should try again in a minute or something, now nothing happens if first JSON not reach Domoticz
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Geofence for Domoticz
my wifi on the phone is a litle unstable, it "has internet", but not realy.Appesteijn wrote:Do you get a timeout? The already checks if you have an internet connection and waits to call the url untill your phone has an internet connection.Evelen wrote:Have a request:
If the client does not get "ok" on JSON it should try again in a minute or something, now nothing happens if first JSON not reach Domoticz
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Geofence for Domoticz
argh, works bad, If i don't activate wifi it never now I'm home.
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
Could you try to set your radius to 500 meters? Then your phone wouldn't have wifi yet so your bad wifi can mess up the call to your server.Evelen wrote:argh, works bad, If i don't activate wifi it never now I'm home.
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Geofence for Domoticz
true, and that works, but i still need to have wifi onAppesteijn wrote:Could you try to set your radius to 500 meters? Then your phone wouldn't have wifi yet so your bad wifi can mess up the call to your server.Evelen wrote:argh, works bad, If i don't activate wifi it never now I'm home.
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Geofence for Domoticz
even if i use 500M and wifi.
Sometimes when I'm at home it sends the "away/off" messages. then, after a few seconds it sending a "home/on" message. Sometimes it sending more "home/on" messages while I'm already home.
Sometimes when I'm at home it sends the "away/off" messages. then, after a few seconds it sending a "home/on" message. Sometimes it sending more "home/on" messages while I'm already home.
-
- Posts: 71
- Joined: Saturday 13 July 2013 2:45
- Target OS: Linux
- Domoticz version: 3.5877
- Location: Scotland
- Contact:
Re: RE: Re: Geofence for Domoticz
I even tried setting it to 5000 metres - it still does the switch on and off every 10 or so seconds sometimes for no reason at all. I gave up and turned the Geofence off - it's certainly not the only app that I've ever had Geofence problems with though, I blame Android.Evelen wrote:even if i use 500M and wifi.
Sometimes when I'm at home it sends the "away/off" messages. then, after a few seconds it sending a "home/on" message. Sometimes it sending more "home/on" messages while I'm already home.
Sent from my Nexus 4 using Tapatalk
AEOTEC ZStick, 11 ZWave Nodes, RFXCOMM, 50ish Byron Sockets.. HE851 (PIR), 2x HE852 (DoorContact)
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: RE: Re: Geofence for Domoticz
You could try to look into your location history (there is a link in this topic), sometimes it helps to identify problems.asjmcguire wrote: I even tried setting it to 5000 metres - it still does the switch on and off every 10 or so seconds sometimes for no reason at all. I gave up and turned the Geofence off - it's certainly not the only app that I've ever had Geofence problems with though, I blame Android.
Sent from my Nexus 4 using Tapatalk
-
- Posts: 6
- Joined: Friday 04 March 2016 7:39
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
I have similar problem. The DomoFence is showing entering or existing zone correctly, but it seems not sending 'Off' to domoticz.Appesteijn wrote:No, when you add a geofence, your phone will monitor when you enter the geofence (send on command) and when you leave the geofence (send off command). If you remove the geofence, your phone will stop monitoring and will never send on or off.niclasc wrote: Does "Geofence added" and " Geofence removed" equals "on" and "off"?
Strange thing is that today it seams to work. But yesterday Geofence was "on" nomatter where I was
Good to hear it works now, if you need any help, just ask!
All seems to be correct configured (right buttom works fine).
Is there some kind of debug possible?
-
- Posts: 134
- Joined: Friday 10 April 2015 23:53
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
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.forum026 wrote: I have similar problem. The DomoFence is showing entering or existing zone correctly, but it seems not sending 'Off' to domoticz.
All seems to be correct configured (right buttom works fine).
Is there some kind of debug possible?
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.
- RoadXY
- Posts: 278
- Joined: Monday 07 April 2014 12:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.2331
- Location: Near Gorinchem
- Contact:
Re: Geofence for Domoticz
The results in that website are flattened out.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.forum026 wrote: I have similar problem. The DomoFence is showing entering or existing zone correctly, but it seems not sending 'Off' to domoticz.
All seems to be correct configured (right buttom works fine).
Is there some kind of debug possible?
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.
If you want raw data use this app:
https://play.google.com/store/apps/deta ... ionhistory
In my case I saw that the location jumped around quit an bit.
-
- Posts: 6
- Joined: Friday 04 March 2016 7:39
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Geofence for Domoticz
There were not error messages. This weekend I updated the Domoticz software to V3.xxx and now it's working fine.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.
Who is online
Users browsing this forum: No registered users and 1 guest