Find my iDevices!

Posted on
Thu Aug 04, 2011 8:30 pm
artpics offline
Posts: 232
Joined: Feb 24, 2009
Location: Calabasas CA

Re: Find my iDevices!

my device in indigo is called robs iPhone have tried everything but not working here is some more log activities, i did use you find my iPhone in indigo4 but not the new plugin also when i pick from a list of devices on the edit button it gives me 4 Robert Taylor’s iPhone to pick from.

you can email me a beta

spam@artpictures,tv

thanks :D

Aug 4, 2011 7:23:11 PM
Received INSTEON "Racoon Sensor" off (button 1)
Disabling plugin "Find My IDevices 0.95"
Stopping plugin "Find My IDevices 0.95" (pid 63359)
Plugin "Find My IDevices" disconnected
Enabling plugin "Find My IDevices 0.95"
Starting plugin "Find My IDevices 0.95"
Plugin "Find My IDevices" connected
Plugin "Find My IDevices 0.95" started
Find My IDevices Find My iDevice Plugin Loaded...
Find My IDevices Retrieving location data
Find My IDevices No Location Attribute Found, skipping Robert Taylor’s iPhone
Find My IDevices No Location Attribute Found, skipping Robert Taylor’s iPhone
Find My IDevices Robert Taylor’s iPhone is marked as disabled. Skipping iDevice...
Find My IDevices No Location Attribute Found, skipping Robert Taylor’s iPhone
Find My IDevices No Location Attribute Found, skipping Robert Taylor’s iPhone
Find My IDevices Finished retrieving location data

Posted on
Sat Aug 06, 2011 7:59 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Find my iDevices!

Clicking "disable" and saving/reloading activated my iPhone. Interestingly I am out of town right now in Massachusetts around longitude 70. The location is correct in MobileMe. However when I checked my location on the iDevices button on GoPrism, I didn't recognize the topography. Further inspection showed iDevices had me at -70, right smack in the middle of Kyrgistan! Wow!

For clarification, I think a (-) was put in front of the longitude, setting the location in the opposite direction.

Posted on
Sat Aug 06, 2011 11:01 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Find my iDevices!

Can find my IDevices handle more than one account? My wife has a subaccount under MobilMe to keep her music, contacts and email separate; would I have to merge her account to find her phone?

Posted on
Sat Aug 06, 2011 11:40 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

hamw wrote:
Can find my IDevices handle more than one account? My wife has a subaccount under MobilMe to keep her music, contacts and email separate; would I have to merge her account to find her phone?


Yes, make a "Find my iDevice" device for that iDevice...

Allow the FMiD to refresh, and then go back into the device, and Fill in the alternative MobileMe credentials. Save the device, and open the dialog again, and then choose the iDevice in question...

------
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
Sat Aug 06, 2011 11:42 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

hamw wrote:
Clicking "disable" and saving/reloading activated my iPhone. Interestingly I am out of town right now in Massachusetts around longitude 70. The location is correct in MobileMe. However when I checked my location on the iDevices button on GoPrism, I didn't recognize the topography. Further inspection showed iDevices had me at -70, right smack in the middle of Kyrgistan! Wow!

For clarification, I think a (-) was put in front of the longitude, setting the location in the opposite direction.


I haven't seen any issues with bad latitude and longitude's showing up... None of the beta sites have reported anything regarding this, but I will inquire to specifically about this.

Was this a one time issue, or is it happening reliably?

The Latitude & Longitude are fed in directly from MobileMe....

Can you turn on debugging, and refresh, and send me the log of the FMiD? Send it to benjamin AT schollnick DOT net.

------
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
Sat Aug 06, 2011 11:44 pm
artpics offline
Posts: 232
Joined: Feb 24, 2009
Location: Calabasas CA

Re: Find my iDevices!

i am still getting the errors i posted on my last post but the plugin is working and tracking my phones and ipads.

the problem was that everytime you change phone, ie upgrade or if you buy a new phone mobile me still remembers the old phones in my case 5 of them :oops:

i just had to pick the right phone from the list :shock:

one request on the control page can we have a button that would refresh the location, mine did not get updated for 40mins even though i had the setting to refresh every 15. look forward to the update with the triggers that will work with the fenced in option.

thanks for a nice plugin :D

Posted on
Sun Aug 07, 2011 6:19 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

artpics wrote:
i am still getting the errors i posted on my last post but the plugin is working and tracking my phones and ipads.

the problem was that everytime you change phone, ie upgrade or if you buy a new phone mobile me still remembers the old phones in my case 5 of them :oops:

i just had to pick the right phone from the list :shock:

one request on the control page can we have a button that would refresh the location, mine did not get updated for 40mins even though i had the setting to refresh every 15. look forward to the update with the triggers that will work with the fenced in option.

thanks for a nice plugin :D


Login to MobileMe, and remove the old iDevices... The Plugin is getting the information from MobileMe, so if the majority of your iDevices are non-existant then your going to have a long delay due to devices timing out...

------
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 Aug 10, 2011 11:02 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Find my iDevices!

The location problem above turned out to be a missing (-) in front of the longitude in the iDevices configuration panel. That was offsetting the origin. All better now.

Posted on
Wed Aug 10, 2011 12:20 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

hamw wrote:
The location problem above turned out to be a missing (-) in front of the longitude in the iDevices configuration panel. That was offsetting the origin. All better now.


I have updated the troubleshooting directions:

Troubleshooting:

1) If you are seeing a different location in the web browser, especially one centered in the Rochester, ny area… Blame me. Go into the IWS directory, and remove the "Pickled_Data" file. That file is used to exchange data between the Indigo Plugin, and the IWS plugin. I don't always remember to remove it, when I package up the plugin for distribution.

The file is regenerated with the MobileMe information every time the plugin is run, so you can just do a forced update,
or reload the plugin, to force the Pickled_Data file to be updated with your devices information.

If after doing this, you are still not seeing updated information reflecting your devices. Please send me the Indigo Log
Entries showing a Find My iDevices! update. It is possible that you may have found a bug, or issue that is preventing
a successful MobileMe poll.

2) If when you open the web page, you are shown a location that is not familiar, then please check your Find My iDevices plugin settings. Find My iDevice will default to the Latitude and Longitude that you set in the Preferences when it shows the initial map.

Do you think this would have helped in this situation?

------
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 Aug 12, 2011 9:48 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Find my iDevices!

Yes, I think that's helpful. I'd add that if you are west of the prime meridian your longitude begins with a (-) sign. :lol:

got another issue. I replaced my PLM (had a 2413 fail, subbed in a 2414 and then replaced with a new 2413) and introduced some kind of error.
Code: Select all
 Find My IDevices Error          plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Find My IDevices                Preferences were updated, reloading Preferences...
  Find My IDevices                Find My iDevice Plugin Loaded...
  Find My IDevices Debug          UpdateTime - 15
  Find My IDevices Debug          username - XXXXXXX@me.com
  Find My IDevices Debug          Password - XXXXXXX
  Find My IDevices Debug          Debug Mode is On (Only recommended for Testing Purposes)
  Find My IDevices Debug          Running Concurrent Thread
  Find My IDevices Error          Invalid MobileMe Account Information
  Find My IDevices Error          Please configure Find My iDevice with your MobileMe credentials.
  Find My IDevices                   Retrieving location data
  Find My IDevices Error          Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 358, in runConcurrentThread
  File "plugin.py", line 318, in run_search_for_idevices
  File "plugin.py", line 238, in fetch_updated_MobileMe_Locations
  File "plugin.py", line 206, in fetch_MobileMe_Device_Names
<type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'MobileMeAPI'

  Find My IDevices Error          plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Received INSTEON                "Thermostat MBR" temperature changed to 76.0
  Find My IDevices Debug          Running Concurrent Thread
  Find My IDevices Error          Invalid MobileMe Account Information
  Find My IDevices Error          Please configure Find My iDevice with your MobileMe credentials.
  Find My IDevices                   Retrieving location data
  Find My IDevices Error          Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 358, in runConcurrentThread
  File "plugin.py", line 318, in run_search_for_idevices
  File "plugin.py", line 238, in fetch_updated_MobileMe_Locations
  File "plugin.py", line 206, in fetch_MobileMe_Device_Names
<type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'MobileMeAPI'

  Find My IDevices Error          plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds


I deleted all the phones, checked MobileMe, deleted FMiD, re upped them all, did disable and reenable and still get this error. Also tried stopping and re-starting the server. The machine has also been rebooted. Ideas?

Posted on
Fri Aug 12, 2011 10:42 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

hamw wrote:
Yes, I think that's helpful. I'd add that if you are west of the prime meridian your longitude begins with a (-) sign. :lol:

got another issue. I replaced my PLM (had a 2413 fail, subbed in a 2414 and then replaced with a new 2413) and introduced some kind of error.
Code: Select all
 Find My IDevices Error          plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Find My IDevices                Preferences were updated, reloading Preferences...
  Find My IDevices                Find My iDevice Plugin Loaded...
  Find My IDevices Debug          UpdateTime - 15
  Find My IDevices Debug          username - XXXXXXX@me.com
  Find My IDevices Debug          Password - XXXXXXX
  Find My IDevices Debug          Debug Mode is On (Only recommended for Testing Purposes)
  Find My IDevices Debug          Running Concurrent Thread
  Find My IDevices Error          Invalid MobileMe Account Information
  Find My IDevices Error          Please configure Find My iDevice with your MobileMe credentials.
  Find My IDevices                   Retrieving location data
  Find My IDevices Error          Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 358, in runConcurrentThread
  File "plugin.py", line 318, in run_search_for_idevices
  File "plugin.py", line 238, in fetch_updated_MobileMe_Locations
  File "plugin.py", line 206, in fetch_MobileMe_Device_Names
<type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'MobileMeAPI'

  Find My IDevices Error          plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Received INSTEON                "Thermostat MBR" temperature changed to 76.0
  Find My IDevices Debug          Running Concurrent Thread
  Find My IDevices Error          Invalid MobileMe Account Information
  Find My IDevices Error          Please configure Find My iDevice with your MobileMe credentials.
  Find My IDevices                   Retrieving location data
  Find My IDevices Error          Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 358, in runConcurrentThread
  File "plugin.py", line 318, in run_search_for_idevices
  File "plugin.py", line 238, in fetch_updated_MobileMe_Locations
  File "plugin.py", line 206, in fetch_MobileMe_Device_Names
<type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'MobileMeAPI'

  Find My IDevices Error          plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds


I deleted all the phones, checked MobileMe, deleted FMiD, re upped them all, did disable and reenable and still get this error. Also tried stopping and re-starting the server. The machine has also been rebooted. Ideas?


Pure bad timing...

It appears that Apple has switched over to a new URL for the Find My iPhone server... I will be testing a change over the weekend that appears to resolve this issue... This appears to be related to the iCloud service...

------
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
Sat Aug 20, 2011 7:48 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

Due to a change that Apple made in MobileMe authentication, Find my iDevices stopped working about a week or so ago...

I have just made a change that resolves this problem...

This patch was just released to the beta group.... And I hope to release it to the public Sunday or Monday...

------
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 Aug 25, 2011 8:02 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

bschollnick2 wrote:
Due to a change that Apple made in MobileMe authentication, Find my iDevices stopped working about a week or so ago...

This version of Find my iDevice should fix all known issues...

Changes since the last public release...

v0.99 B3 - Refactored pygmaps to eliminate the last vestages of file writing
and passing the output variable to the functions. (Pygmaps is not my creation)
- Added map_controls to the upper right of the google map (for use by the Zones devices).
- Fixed bug in Decrease Sleep trigger action, it would only allow you to reduce the
Sleep delay to 30 minutes. Now you can reduce down to 15.
- Added the ability to Set the specific refresh time via trigger actions.
- Added new State ("FencedAreaName"), if a device is found within a FencedArea, the
Indigo Device Name of the Zone it is in, will be placed in this state.
This version will require you to reset the Find My iDevice device record to add the new
FencedAreaName state.
- This allows you to check the state of the device to find out if it's within a zone.
- Fixed issue with MobileMe / iCloud, required an update to RecordMyLatitude's json process to:
"appVersion":"1.2" to "appVersion":"1.2.1"

v0.95 Public Release - Released to the Public on 7/5/2011.

Download link....

http://dl.dropbox.com/u/241415/Find%20M ... 0.99b3.zip

------
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
Mon Sep 12, 2011 8:07 pm
ChrisB offline
User avatar
Posts: 41
Joined: Sep 12, 2011

Re: Find my iDevices!

Hi Ben,

Just installed v0.99 B3 of Find my iDevices. I'm running the plugin in Indigo 5.0.0 b8. I'm also using the beta of iCloud instead of MobileMe but it found all the phones, pads and Macs just fine. I have also gone in and setup a fence which shows up on the iDevice information page. In addition, my devices are currently within the fence and I have it set up so that it updates the data every 15 minutes.

What I'd like to do is set up a trigger that would do something when one of those devices leaves the fence or enters the fence. I'd also like to setup other fences so that I can create triggers when devices leave or enter those areas. I tried finding documentation on how to set them up but I drew a blank. Please get me on the right path.

Thanks,
Chris

Posted on
Tue Sep 13, 2011 3:47 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

ChrisB wrote:
Hi Ben,
What I'd like to do is set up a trigger that would do something when one of those devices leaves the fence or enters the fence. I'd also like to setup other fences so that I can create triggers when devices leave or enter those areas. I tried finding documentation on how to set them up but I drew a blank. Please get me on the right path.


The next version of Find My iDevices supports triggers for the fenced areas....

I plan to be releasing it shortly... I've been sidetracked a little bit creating an update mechanism for plugins and opening it up to the community... ( http://www.indigo-plugins.com )

- Ben

------
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

Who is online

Users browsing this forum: No registered users and 6 guests