Originally posted by jrhubott
View Post
Announcement
Collapse
No announcement yet.
Find my iPhone plugin for HS3
Collapse
X
-
Originally posted by jayman13 View PostThis may be a stupid question. But this plugin wears all your batteries down quicker right? In other words, Apple doesn't poll for devices location unless queried, right?
Sent from my iPad using Tapatalk HD
I may change the logic to only request more updates when it see's the device in motion if battery life becomes a concern.
Jason
Comment
-
I am here. Not incredibly noticeable. It appears apple only tells the device to determine location when asked so if every 30 s that is occurring it will likely cause sig battery drain throughout the day. Having an algorithm for determining when someone is moving would be ideal I think. Also, it would also be good to be able to pick which devices you want to track.
Comment
-
A few questions.
1) I cannot add more than one geofence location. Is code below correct? (I replaced some variables )
2) Reverse geocoding doesn't work. I use the API key for a project I just created. Enabled both the API's. Device remains unknown?
3) Status device remains 'initialising'. Is this normal?
PHP Code:<RadiusGeoFences>
<RadiusGeoFence>
<Name>Home</Name>
<Value>0</Value>
<Latitude>52.xxxxxx</Latitude>
<Longitude>4.xxxxxx</Longitude>
<RadiusInMiles>0.5</RadiusInMiles>
</RadiusGeoFence>
<RadiusGeoFence>
<Name>Werk</Name>
<Value>0</Value>
<Latitude>52.xxxxxx</Latitude>
<Longitude>4.xxxxxx</Longitude>
<RadiusInMiles>1</RadiusInMiles>
</RadiusGeoFence>
</RadiusGeoFences>
<NextIndex>3</NextIndex>
<Username>emailadress@hotmail.com</Username>
<Password>password</Password>
<GoogleApiKey>MY API KEY</GoogleApiKey>
Comment
-
Originally posted by Phaeton View PostA few questions.
1) I cannot add more than one geofence location. Is code below correct? (I replaced some variables )
2) Reverse geocoding doesn't work. I use the API key for a project I just created. Enabled both the API's. Device remains unknown?
3) Status device remains 'initialising'. Is this normal?
PHP Code:<RadiusGeoFences>
<RadiusGeoFence>
<Name>Home</Name>
<Value>0</Value>
<Latitude>52.xxxxxx</Latitude>
<Longitude>4.xxxxxx</Longitude>
<RadiusInMiles>0.5</RadiusInMiles>
</RadiusGeoFence>
<RadiusGeoFence>
<Name>Werk</Name>
<Value>0</Value>
<Latitude>52.xxxxxx</Latitude>
<Longitude>4.xxxxxx</Longitude>
<RadiusInMiles>1</RadiusInMiles>
</RadiusGeoFence>
</RadiusGeoFences>
<NextIndex>3</NextIndex>
<Username>emailadress@hotmail.com</Username>
<Password>password</Password>
<GoogleApiKey>MY API KEY</GoogleApiKey>
The following should work. You need to leave the Value 0 key present. This is used when no GeoFence matches.
Code:<RadiusGeoFence> <Name>None</Name> <Value>0</Value> <Latitude>0</Latitude> <Longitude>0</Longitude> <RadiusInMiles>0</RadiusInMiles> </RadiusGeoFence> <RadiusGeoFence> <Name>Home</Name> <Value>1</Value> <Latitude>52.xxxxxx</Latitude> <Longitude>4.xxxxxx</Longitude> <RadiusInMiles>0.5</RadiusInMiles> </RadiusGeoFence> <RadiusGeoFence> <Name>Werk</Name> <Value>2</Value> <Latitude>52.xxxxxx</Latitude> <Longitude>4.xxxxxx</Longitude> <RadiusInMiles>1</RadiusInMiles> </RadiusGeoFence>
Comment
Comment