Find my iDevices!

Posted on
Tue Sep 13, 2011 7:07 am
ChrisB offline
User avatar
Posts: 41
Joined: Sep 12, 2011

Re: Find my iDevices!

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


That would explain why I couldn't find any documentation. The Find My iDevices plugin is a great idea and the fenced areas will make it much more useful. I can envision creating triggers for when my wife and I arrive to work, leave work, arrive home and even when we are close to arriving home. I could even create a trigger for when my kids arrive and leave school. Can't wait to try it out!

Chris

Posted on
Sun Sep 25, 2011 6:55 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Find my iDevices! v1.01

Okay, after much debating, and much delay... I'm releasing v1.01.

• Changes in v1.01
⁃ v1.01 Public Release 9/25/2011
⁃ Added MobileMe Login "recycling". FMID attempts to reuse existing MobileMe Connections, instead of logging in anew every time.
⁃ Includes AutoUpdate notification via http://www.indigo-plugins.com
⁃ Includes preliminary MobileMe Message support. Your trigger actions, action groups, etc can send MobileMe notifications to particular MobileMe devices.
⁃ This is very beta, and I would appreciate any feedback, regarding this feature.


• Changes in v0.99
⁃ v0.99 Public Release 08/25/2011
⁃ Beta 3
⁃ 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 allows you to check the state of the device to find out if it's within a zone.
⁃ You will need to go in to each Find my iDevice, change the device type away from Find my iDevice, and then change it back. That will cause the idevice states to be rebuilt and thus add the new state.
⁃ Fixed issue with MobileMe / iCloud, required an update to RecordMyLatitude's json process to: "appVersion":"1.2" to "appVersion":"1.2.1"
⁃ Changed Alternative MobileMe login device wording to be platform agnostic
⁃ I may add Google Latitude Support - Your feedback may be the deciding factor
⁃ Changed wording on the Disable Locating device field

http://dl.dropbox.com/u/241415/Find%20M ... 0v1.01.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 26, 2011 6:58 pm
five337 offline
Posts: 52
Joined: Jun 21, 2010

Re: Find my iDevices!

Awesome !

Now I have a key on a keypad in the kitchen that I can double tap and it will find my phone for me instead of having to go to the computer and logging in to iCloud. (I lose my phone a lot).

So far it's working great !

Posted on
Tue Sep 27, 2011 3:43 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Find my iDevices!

Fantastic plugin! Is there some trick to the fenced area config? i.e. Should I start at the lower left point?

When I configure the fenced area device, the map does not render on the web page. All phones locate just fine, however I see the FencedAreaName does not populate.

Other than that, it works beautifully. I would suggest adding a lookup from lat/long to city name. I saw that function on the stevemorse.org web page you referenced in the setup document.

Thanks for the excellent contribution.

Posted on
Tue Sep 27, 2011 3:52 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Find my iDevices!

I withdraw the comment about the FencedAreaName not populating. That is working. It is just the map that is not rendering.

Posted on
Tue Sep 27, 2011 10:43 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

nlagaros wrote:
I withdraw the comment about the FencedAreaName not populating. That is working. It is just the map that is not rendering.


I'll take a look tonight.... and see if I can duplicate this. I'm not aware of any issues at this time...

------
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
Tue Sep 27, 2011 11:49 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

bschollnick2 wrote:
nlagaros wrote:
I withdraw the comment about the FencedAreaName not populating. That is working. It is just the map that is not rendering.


I'll take a look tonight.... and see if I can duplicate this. I'm not aware of any issues at this time...


I did find a small minor issue, with the fence definition, I'll make an update available later tonight...
But nothing that I believe would prevent the web page from working...

Are you seeing any errors in the log?

Is the map displaying, but just not displaying your devices? Or do you have an empty graphic in the web page?
Are the device names correct in the web page table?

------
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
Tue Sep 27, 2011 11:58 am
five337 offline
Posts: 52
Joined: Jun 21, 2010

Re: Find my iDevices!

I had the problem of the map not displaying during one of the betas.

I deleted all the files from iDevices and reinstalled it - it worked fine after that.

Posted on
Tue Sep 27, 2011 6:16 pm
brianmaas offline
Posts: 23
Joined: Oct 05, 2010

Re: Find my iDevices!

I think this plugin is fantastic and can't wait to fully implement it in my system. The dream is to home/away mode with it. I think we're almost there. I am definitely available to test as many versions as you can make to help.

Question:

Should the FencedAreaName state of the device be updating yet? My devices all work and my fenced areas display on the map, but the device state is not set to the fenced in area when it's there.

Bugs found:

- The selector to choose the mobileme device scrolls up endlessly in a loop. I didn't notice this in the previous version. So it lists all my devices and then all my devices again and again. This happens wherever you select a device. I saw it when adding a device and when performing an action on the device.

- I tried the mobileme alert notification. I can't shut it off. It goes for the whole 2 minutes no matter what. Doing the alert from mobileme doesn't do this. It appears like mobile me is looking for a confirmation because when i press ok with that alert, it says the message was received.

- I tried the remote lock feature. It returns this error in the log: Error in plugin execution ExecuteAction: IllegalParameterError -- plugin does not define action method LockMobileMe

Thanks again. I look forward to more updates.

Posted on
Tue Sep 27, 2011 6:55 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

brianmaas wrote:
Should the FencedAreaName state of the device be updating yet? My devices all work and my fenced areas display on the map, but the device state is not set to the fenced in area when it's there.


I can't duplicate this... But I am seeing some odd issues with the fenced areas that wasn't happening with Indigo v5 B7.... I am investigating this further...

brianmaas wrote:
- The selector to choose the mobileme device scrolls up endlessly in a loop. I didn't notice this in the previous version. So it lists all my devices and then all my devices again and again. This happens wherever you select a device. I saw it when adding a device and when performing an action on the device.


Once again, I can't duplicate this on Indigo Beta 9, and FID v1.01, but I'll investigate further...

brianmaas wrote:
- I tried the mobileme alert notification. I can't shut it off. It goes for the whole 2 minutes no matter what. Doing the alert from mobileme doesn't do this. It appears like mobile me is looking for a confirmation because when i press ok with that alert, it says the message was received.


That's not under my control, once the alarm request is sent, Indigo & FID is out of the loop. Try rebooting the idevice, and trying it again... Is it repeatable?

brianmaas wrote:
- I tried the remote lock feature. It returns this error in the log: Error in plugin execution ExecuteAction: IllegalParameterError -- plugin does not define action method LockMobileMe


That's a reproducible issue, it looks like I made a small mistake there... It'll be fixed in the next release...

If you'd like to help test it, drop a line to me at 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
Wed Sep 28, 2011 7:11 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Find my iDevices!

The device names on the webpage are correct. The map does not display at all. Looking forward to the next update.

Posted on
Wed Sep 28, 2011 8:15 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

nlagaros wrote:
The device names on the webpage are correct. The map does not display at all. Looking forward to the next update.


Well, nothing has changed on the web page side in quite a while, so I'm not sure what is happening here... Can you turn on Debugging, and post a copy of the log during a refresh....

------
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 Sep 28, 2011 9:02 pm
ChrisB offline
User avatar
Posts: 41
Joined: Sep 12, 2011

Re: Find my iDevices!

Ben,

I'm having some of the same problems as Brian. I updated to 1.01 and tried out the new Send a Message feature and it fired off 40 messages to my phone back-to-back before I disabled the plug-in. The map was working with the 1.01 update but after I installed the 1.011 update, it quit working. Also, I tried the Send a Message feature with 1.011 and it did the same thing.

As far as the logs when the webpage is load:

Code: Select all
  WebServer                       Displaying Find My iDevices Web Page
  WebServer                        Cntr Lat - 30.581239
  WebServer                        Cntr Long - -88.291331
  WebServer                        Fence - iDevices - Patrick Fence


Logs when I Send a Message:

Code: Select all
  Action Group                    Send a Message to Chris
  Disabling plugin "Find My IDevices 1.011"
  Stopping plugin "Find My IDevices 1.011" (pid 11642)
  Plugin "Find My IDevices" disconnected


The Action Group is defined as follows:

Name: Send a Message to Chris
Type: Plugin
Plugin: Find My iDevices
Action: Send A Message to a iDevice (via MobileMe)

Under Edit Action Settings:

iDevice to Send a Message To: chris's iPhone
Message Subject: Test
Text Message to Send: This is a test.
Sound the Alarm: -not checked-

Even though the log only shows that the Action Group was executed one time, in the background it continued to send the same message to my phone until I disabled the plugin. I also receive an equal amount of e-mails from iCloud (MobileMe) notifying me that it has sent a message to my phone.

Thanks,
Chris

Posted on
Wed Sep 28, 2011 10:47 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Find my iDevices!

ChrisB wrote:
Even though the log only shows that the Action Group was executed one time, in the background it continued to send the same message to my phone until I disabled the plugin. I also receive an equal amount of e-mails from iCloud (MobileMe) notifying me that it has sent a message to my phone.


Drop me an email to Benjamin at schollnick DOT net, and I'll send you a beta of 1.02. I believe that brianmaas pointed me in the right direction to fix this bug...

It appears that there was a long standing bug, where the FID device table was slowing growing in the background, and that explains the duplicate emails, since it goes through that table and emails all the matching devices... So fixing that device table growth bug, and another change I made earlier should resolve that issue.

If you email me, I'll send you the beta, so that you can confirm that it resolves your issue.

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

Find my iDevices! v1.02

v1.02 of Find My iDevices is released...

http://dl.dropbox.com/u/241415/Find%20M ... 0v1.02.zip

Changes in v1.02
⁃ v1.02
⁃ Fixed issue with the Trigger Action ("Lock a iDevice (via MobileMe)") not working.
⁃ Fixed issue with duplicate devices being shown after a refresh in the device editor
⁃ This could also cause duplicate MobileMe messages to be sent to the idevice(s)
⁃ v1.011 Public Release 9/27/2011
⁃ Fixed a minor issue with the Rectangle Fence Device, removed the nonexistent states from the device definition.
⁃ Added better error checking for bad pickle data file. The web page will now display with no devices shown.
⁃ v1.01 Public Release 9/25/2011
⁃ Added MobileMe Login "recycling". FMID attempts to reuse existing MobileMe Connections, instead of logging in anew every time.
⁃ Includes AutoUpdate notification via http://www.indigo-plugins.com
⁃ Includes preliminary MobileMe Message support. Your trigger actions, action groups, etc can send MobileMe notifications to particular MobileMe devices.
⁃ This is very beta, and I would appreciate any feedback, regarding this feature.

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

Page 4 of 27 1, 2, 3, 4, 5, 6, 7 ... 27

Who is online

Users browsing this forum: No registered users and 6 guests