Find my iDevices!

Posted on
Thu May 24, 2012 6:38 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

CaliChris wrote:
Naa, its not that Apple's server haven't been updated. I have done this many days in a row, when I get home I check the iPhone device in Indigo which says it is miles away. I start Maps to get a good GPS fix and also log into the iCloud site to verify it shows my phone at home, it always has. Then I try to do multiple manual updates through the plugin menu but the numbers (such as distance away) in the iPhone device do not change. I have let it sit there for a half hour and still no change, nothing changes, not distance away, accuracy, battery etc. Yet as soon as I reload the plugin new number are populated and my actions are executed. Without the reload it doesnt seem to be actually updating even though the log says it was able to log in and retrieve the status update. As soon as I reload the plugin it sees it very close, whether I do it as soon as I get home or wait a while.


I don't see how this can be, since FMiD's doesn't do any caching of data, other than for the Web page display.

If the log file says that it's been updated, then it has. Have you checked the LastUpdated Status for the device in question? Is it being updated each time it is polled?

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri May 25, 2012 7:17 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

Version v1.5 of Find My iDevices is currently being worked on...

The major difference, is a re-worked Apple ID login system....

Once finished, this will dramatically reduce the amount of logins that are required to the Find My iPhone service, which should speed up the processing of the location data for each iDevice...

I expect to have this ready by the end of next week...

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Jun 13, 2012 8:56 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Find my iDevices!

Just curious if this update dropped or it was delayed?

Posted on
Wed Jun 13, 2012 10:44 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

Dewster35 wrote:
Just curious if this update dropped or it was delayed?


There has been some issues in the Beta testing.... I am going to try for a release tonight....

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Wed Jun 13, 2012 8:19 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

bschollnick2 wrote:
Dewster35 wrote:
Just curious if this update dropped or it was delayed?


There has been some issues in the Beta testing.... I am going to try for a release tonight....


Here's the first public release of v1.51....

https://dl.dropbox.com/u/241415/Find%20 ... 0v1.51.zip

⁃ v1.51 - Released 6/13/2012
⁃ Added better error checking to Version Checking routines
⁃ Moved the Version checking to the plugin's initialization routine, to help prevent issues with logging in with the Apple ID, before the Version check occurred.
⁃ Massive Rewrite to eliminate the multistage login and loading of devices
⁃ Fixed an issue where FMID was not reloading the devices after a device change properly without restarting the plugin.
⁃ Added an Apple ID device. Please create an Apple ID Device, to store your Apple ID information. FMID will now locate your Apple ID Device(s), login, and store your associated device(s) inside this device.
⁃ The Find My iDevice "device" has changed. It is now called iDevice Record, and has been dramatically redesigned. The iDevice record stores all of the information that has been found for the device.
⁃ Changed the formula used to calculate distance away from the "origin" point. New formula seems to be much more reliable. The code is the Haversine Formula python code posted here, http://www.platoscave.net/blog/2009/oct ... de-python/, currently with no modifications.
⁃ Added ClosestAddress to iDevice records, which uses Google Maps to find the nearest address to your Latitude and Longitude. This is an estimated location, but can be used to help locate your location.
⁃ Change the IWS web page(s) to remove some non-useful information, and added Closest Address, Last Updated, etc.
⁃ Nlargaros contributed the Google Closest GeoLocated Address code (see viewtopic.php?f=3&t=6257 ) for more details (if your interested).
⁃ This Geolocated address is available in the Device State, and on the Web page as well.
⁃ Added a Custom Trigger, to aid in replacing the unreliable Fences. The Trigger is "Closest Address Changed", and when used you can then specify a fragment of text that you would like to have tested against the GeoLocated Address. If that Text is found, then the trigger will be activated.
⁃ So it will be important to be careful with what text you use. For example "Drive" would be a bad choice, but "Turnup Drive" would be a good choice…

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Thu Jun 14, 2012 9:35 am
nsouto offline
Posts: 3
Joined: Jun 14, 2012

Re: Find my iDevices!

Hello bschollnick2,

Thank you for this great plugin I can't wait to get it working...

I have installed it and all seems good but for some of my devices I get:

Unable to process Device due to Device number

It worked fine for the iPad but not for the iPhone on the same account.

Thanks...

Posted on
Thu Jun 14, 2012 11:58 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

nsouto wrote:
Hello bschollnick2,

Thank you for this great plugin I can't wait to get it working...

I have installed it and all seems good but for some of my devices I get:

Unable to process Device due to Device number

It worked fine for the iPad but not for the iPhone on the same account.


Grumble.... Yep, I found the issue. I added a sanity check to the Apple Device Number, but I didn't catch an error.... It tested fine on several configurations, but I found the failure reason.

I'll try to rebundle it for tonight, with v1.52.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Thu Jun 14, 2012 6:09 pm
MrJeffreyGee offline
User avatar
Posts: 74
Joined: Apr 26, 2011
Location: United States

Re: Find my iDevices!

I updated to 1.51 and everything works, but it doesn't update itself automatically at all. I set it to 15 minutes, but information for the devices never changes and I don't see an "I'm Updating" notification in the Event Log box. It works if I do a manual forced update though.

Is this how it's supposed to be? Was the auto-update feature removed in 1.51?

Posted on
Thu Jun 14, 2012 8:04 pm
nsouto offline
Posts: 3
Joined: Jun 14, 2012

Re: Find my iDevices!

bschollnick2 wrote:
nsouto wrote:
Hello bschollnick2,

Thank you for this great plugin I can't wait to get it working...

I have installed it and all seems good but for some of my devices I get:

Unable to process Device due to Device number

It worked fine for the iPad but not for the iPhone on the same account.


Grumble.... Yep, I found the issue. I added a sanity check to the Apple Device Number, but I didn't catch an error.... It tested fine on several configurations, but I found the failure reason.

I'll try to rebundle it for tonight, with v1.52.


Thanks... Looking forward to testing it...

Posted on
Thu Jun 14, 2012 9:23 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

MrJeffreyGee wrote:
I updated to 1.51 and everything works, but it doesn't update itself automatically at all. I set it to 15 minutes, but information for the devices never changes and I don't see an "I'm Updating" notification in the Event Log box. It works if I do a manual forced update though.

Is this how it's supposed to be? Was the auto-update feature removed in 1.51?


Double check your settings, and keep in mind, that v1.51 is a major change. Go into your idevices and make sure they are still setup correctly...

Did you create an Apple ID Login device? Did you switch your Find My iDevice, devices to iDevice Devices?

This is a major change of FMiD. Every device type has changed to some extent.

This includes:

* "Fences" are gone.
* They have been replaced with Triggers for DistanceAway, and Closestaddress.
* DistanceAway appears to have been calculated "poorly" previously, I have changed the formula, and it appears to be much more accurate.
* ClosestAddress will use the Google Maps Geolocated address to estimate the closest street address to your latitude and longitude.
* You can now make a trigger based off the ClosestAddress, so you can trigger on the idevice being on a particular street.
* You will need to make an Apple ID device for each Apple ID that you want to login with.
Instead of having each device login separately, the Apple ID logins, and then processes each iDevice that is associated with it.
* You will need to go into your iDevices and update them to ensure that they are associated with an Apple ID, and to make sure they are pointing to the correct device (since the Apple ID has changed).

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Jun 15, 2012 7:18 am
MrJeffreyGee offline
User avatar
Posts: 74
Joined: Apr 26, 2011
Location: United States

Re: Find my iDevices!

bschollnick2 wrote:
Double check your settings, and keep in mind, that v1.51 is a major change. Go into your idevices and make sure they are still setup correctly...

Did you create an Apple ID Login device? Did you switch your Find My iDevice, devices to iDevice Devices?

This is a major change of FMiD. Every device type has changed to some extent.

This includes:

* "Fences" are gone.
* They have been replaced with Triggers for DistanceAway, and Closestaddress.
* DistanceAway appears to have been calculated "poorly" previously, I have changed the formula, and it appears to be much more accurate.
* ClosestAddress will use the Google Maps Geolocated address to estimate the closest street address to your latitude and longitude.
* You can now make a trigger based off the ClosestAddress, so you can trigger on the idevice being on a particular street.
* You will need to make an Apple ID device for each Apple ID that you want to login with.
Instead of having each device login separately, the Apple ID logins, and then processes each iDevice that is associated with it.
* You will need to go into your iDevices and update them to ensure that they are associated with an Apple ID, and to make sure they are pointing to the correct device (since the Apple ID has changed).

- Benjamin



I did create a new Apple ID Login Device and deleted all my fences. As for switching the "Find My iDevices" devices to iDevices devices... I just took the existing devices and updated them. Not sure, if that's the proper way of doing it or if I should have deleted them all and created new devices. Either way, this issue has auto corrected itself automatically. For some odd reason it didn't update itself automatically every 15 minutes all day yesterday, but now when I woke up it is.

I do have a new issue though. I'm getting this error message below and it shows up in the event log after each individual device when it updates every single time.


Script Error embedded script: Python argument types in
VariableCmds.updateValue(VariableCmds, Variable, float)
did not match C++ signature:
updateValue(_VariableCmds {lvalue}, boost::python::api::object elem, CCString value)
Script Error Exception Traceback (most recent call shown last):

embedded script, line 5, at top level
ArgumentError: Python argument types in
VariableCmds.updateValue(VariableCmds, Variable, float)
did not match C++ signature:
updateValue(_VariableCmds {lvalue}, boost::python::api::object elem, CCString value)



I was also wondering... Is there a way to create a trigger like "I am within X distance from a specified Closest GeoLocated Street Address and is not using my home latitude & longitude"? The reason why I ask this is cause if my iPhone isn't connected to wifi and uses its own GPS chip acquired location, it can be inaccurate enough where it doesn't match the specified street string. Using a x distance from a specified location would allow a little roaming while still successfully triggering. I will say that when connected to wifi you can be very specific with the street string and it still triggers successfully though, which works very well with iPod Touches, wifi iPads, & Macs.

Posted on
Fri Jun 15, 2012 10:01 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices! v1.52

Version 1.52 of Find My iDevices! is being released.

https://dl.dropbox.com/u/241415/Find%20 ... 0v1.52.zip

Changes since v1.51:

* Addressed an issue with the Sanity checking of iDevices with Apple's server.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Jun 15, 2012 10:04 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

MrJeffreyGee wrote:
For some odd reason it didn't update itself automatically every 15 minutes all day yesterday, but now when I woke up it is.


I can't explain that, but Deleting the device's and recreating them works just as well. So you should be fine.


MrJeffreyGee wrote:
I do have a new issue though. I'm getting this error message below and it shows up in the event log after each individual device when it updates every single time.

Script Error embedded script: Python argument types in
VariableCmds.updateValue(VariableCmds, Variable, float)
did not match C++ signature:
updateValue(_VariableCmds {lvalue}, boost::python::api::object elem, CCString value)
Script Error Exception Traceback (most recent call shown last):

embedded script, line 5, at top level
ArgumentError: Python argument types in
VariableCmds.updateValue(VariableCmds, Variable, float)
did not match C++ signature:
updateValue(_VariableCmds {lvalue}, boost::python::api::object elem, CCString value)



Check v1.52, I ran into the same issue when working on v1.52, and I believe that should fix the issue.

If not, please let me know.

MrJeffreyGee wrote:
I was also wondering... Is there a way to create a trigger like "I am within X distance from a specified Closest GeoLocated Street Address and is not using my home latitude & longitude"? The reason why I ask this is cause if my iPhone isn't connected to wifi and uses its own GPS chip acquired location, it can be inaccurate enough where it doesn't match the specified street string. Using a x distance from a specified location would allow a little roaming while still successfully triggering. I will say that when connected to wifi you can be very specific with the street string and it still triggers successfully though, which works very well with iPod Touches, wifi iPads, & Macs.

[/quote]

That certainly can be added. I'll take a look at adding that as a custom trigger...

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Jun 15, 2012 10:35 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

MrJeffreyGee wrote:
I updated to 1.51 and everything works, but it doesn't update itself automatically at all. I set it to 15 minutes, but information for the devices never changes and I don't see an "I'm Updating" notification in the Event Log box. It works if I do a manual forced update though.

Is this how it's supposed to be? Was the auto-update feature removed in 1.51?


Nothing, other than the Fences features, has been removed.

It is certainly possible that I removed the logging statement, that announced that it's polling. I trimmed a lot of redundant code out, and I may not have realized that I did.

Check the states of the devices, what is the lastupdate value in the states. Does it change? If so, it's auto-updating.

Please let me know if we need to look further into this, and I'll take a look and see about the logging. I don't believe I trimmed anything out...

Also, double check that you created your Apple ID Login devices, and that the idevices are registered with that Apple ID in the iDevice records.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Jun 15, 2012 10:57 am
MrJeffreyGee offline
User avatar
Posts: 74
Joined: Apr 26, 2011
Location: United States

Re: Find my iDevices! v1.52

bschollnick2 wrote:
Version 1.52 of Find My iDevices! is being released.

https://dl.dropbox.com/u/241415/Find%20 ... 0v1.52.zip

Changes since v1.51:

* Addressed an issue with the Sanity checking of iDevices with Apple's server.



I'm having trouble installing 1.52 of Find My iDevices. When I double click on the file that's in the "Add to Plugin Directory" it causes Indigo to stop all my plugins and it seems to shut down the server. Then a window pops up and asks me to select my database cause it can't find it or it's corrupted. I select my database and everything boots up as normal, but there doesn't seem to be any changes and it still says Find My iDevices is version 1.51. I also tried manually copying the file to the plugins folder and restarted the server, but no change on version number.

For the folder in the "Add to IWS Plugin Directory" I copied it without any issues, not sure if this will cause problems cause it's running a 1.51 plugin with a 1.52 folder.

Page 17 of 27 1 ... 14, 15, 16, 17, 18, 19, 20 ... 27

Who is online

Users browsing this forum: No registered users and 2 guests

cron