Author Topic: Iphone Locator Map  (Read 683 times)

Offline michelhamelin

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +0/-0
Iphone Locator Map
« on: November 04, 2016, 09:50:48 pm »
Is it possible to show a map of iphone location?

Offline intveltr

  • Moderator
  • Hero Member
  • *****
  • Posts: 1668
  • Karma: +92/-5
Re: Iphone Locator Map
« Reply #1 on: November 06, 2016, 06:47:34 am »
You mean in the app?  What would be the purpose?
HomeWave is available in the App Store!  Turn your iPhone/iPad into an easy-to-use remote control for Vera.

Offline michelhamelin

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +0/-0
Re: Iphone Locator Map
« Reply #2 on: November 06, 2016, 11:12:38 am »
Show a Map or a link,then you click on it open google map on your iphone and have directions to reach your wife or children.

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 507
  • Karma: +11/-4
Re: Iphone Locator Map
« Reply #3 on: November 06, 2016, 01:24:57 pm »
iOS already has that capability. They can send you their location and you can then map it on your phone. I think the Find iPhone apps works similarly.
Vera 3, UI7 1.7.919, CT101 t-stat, Everspring motion detector, GE/Jasco switch, Leviton outlet, AeonLabs door sensor, Insteon garage control, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual & Multi Switch, Weather, Sys. Mon.

Offline michelhamelin

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +0/-0
Re: Iphone Locator Map
« Reply #4 on: November 06, 2016, 03:31:36 pm »
iOS already has that capability. They can send you their location and you can then map it on your phone. I think the Find iPhone apps works similarly.
I already know about Find my phone.

Offline asterix406

  • Full Member
  • ***
  • Posts: 110
  • Karma: +0/-0
Re: Iphone Locator Map
« Reply #5 on: November 07, 2016, 10:24:20 am »
The "Find Friends" app does this.

Offline amg0

  • Sr. Hero Member
  • ******
  • Posts: 2392
  • Karma: +145/-7
Re: Iphone Locator Map
« Reply #6 on: November 07, 2016, 12:15:42 pm »
the IPhone Locator plugin does this from within the VERA UI
http://apps.mios.com/plugin.php?id=4686

Offline TinCup

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +2/-0
Re: Iphone Locator Map
« Reply #7 on: November 28, 2016, 04:25:11 pm »
I do this by making a luup request to the iPhone locator plugin from a php script then having the result fed to a php header.  I setup a webtile in Homewave to call the script.  Works like a champ.

Code below.  Replace vera IP and device number with your particulars.

Code: [Select]
<?php

$ch 
curl_init();

$url "http://<vera IP>:3480/data_request?id=variableget&DeviceNum=<devnum>&serviceId=urn:upnp-org:serviceId:IPhoneLocator1&Variable=MapUrl";

curl_setopt($chCURLOPT_URL$url);
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);

$result curl_exec($ch);
curl_close($ch);

header("location: $result");

?>


« Last Edit: November 28, 2016, 04:31:19 pm by cgray »
Vera 3 UI5 | Homewave | Amazon Echo | BWS HA Bridge | PLEG/PLTS | OpenSprinkler | AD2USB | GE/Jasco | Schlage BE469 | Kwikset 912 | ecobee3 | SONOS + TTS | Aeotec 4-in-1 | EcoLink | Everspring ST812 | Remotec ZFM-80 | Evolve LRM-AS/LFM-20 | Hikvision DS-2CD2332 Turret | Dahua IPC-HFW4300S Bullet

Offline michelhamelin

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +0/-0
Re: Iphone Locator Map
« Reply #8 on: November 28, 2016, 07:16:34 pm »
I put my vera ip and put my iphone devnumber and it is not working for me.
Error:error in lua for scenes and events.

The script,i guess you put it in the vera scene :Also,execute the following luup code  ?

Offline TinCup

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +2/-0
Re: Iphone Locator Map
« Reply #9 on: November 29, 2016, 10:19:41 am »
It's not lua, it's php.
« Last Edit: November 29, 2016, 10:25:04 am by cgray »
Vera 3 UI5 | Homewave | Amazon Echo | BWS HA Bridge | PLEG/PLTS | OpenSprinkler | AD2USB | GE/Jasco | Schlage BE469 | Kwikset 912 | ecobee3 | SONOS + TTS | Aeotec 4-in-1 | EcoLink | Everspring ST812 | Remotec ZFM-80 | Evolve LRM-AS/LFM-20 | Hikvision DS-2CD2332 Turret | Dahua IPC-HFW4300S Bullet

Offline michelhamelin

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +0/-0
Re: Iphone Locator Map
« Reply #10 on: November 29, 2016, 04:24:15 pm »
Where do you put de PHP,
Server,Vera or App?

Offline TinCup

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +2/-0
Re: Iphone Locator Map
« Reply #11 on: November 29, 2016, 04:28:10 pm »
I run it on a separate server on my network.
Vera 3 UI5 | Homewave | Amazon Echo | BWS HA Bridge | PLEG/PLTS | OpenSprinkler | AD2USB | GE/Jasco | Schlage BE469 | Kwikset 912 | ecobee3 | SONOS + TTS | Aeotec 4-in-1 | EcoLink | Everspring ST812 | Remotec ZFM-80 | Evolve LRM-AS/LFM-20 | Hikvision DS-2CD2332 Turret | Dahua IPC-HFW4300S Bullet

Offline michelhamelin

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +0/-0
Re: Iphone Locator Map
« Reply #12 on: November 29, 2016, 05:01:49 pm »
Ok Thank You :)