Announcement

Collapse
No announcement yet.

Find my iPhone plugin for HS3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #76
    Originally posted by Stevieboy View Post
    Thanks,

    Although I still cannot get the second accounts show. I must be missing the obvious here. I have added the account details as suggested, restarted the PI but no devices are created. Find my phone is enabled on the device!

    Help much appreciated
    I would stop the plug-in, delete the .xml file and delete all the plug-in devices

    Then follow these instructions from the first post of this thread:
    Place it in your HS3 directory. Run it once to create the HSPI_RSFindMyDevice.xml config file.

    Edit the file(.xml) and set the following values: This is your itunes account
    <Username></Username>
    <Password></Password>

    Set the API key if you want maps and reverse geolocation - you can get to the API from this link: https://console.developers.google.com
    <GoogleApiKey></GoogleApiKey>

    The API must be enabled for the following services:
    Geocoding API
    Static Maps API

    Restart the plugin.

    All geo coordinates are logged to the HSPI_RSFindMyDevice.csv file in the Log directory. This file is updated every minute.

    Plugin must be stopped when editing the xml file.

    Comment


      #77
      Thanks,

      I have tried as suggested but no avail. I have attached .xml file to make sure I have added second account correctly.

      It works fine on one account but I just cant get it to add a second account!!!

      Help
      Attached Files
      Steve

      Comment


        #78
        Originally posted by Stevieboy View Post
        Thanks,

        I have tried as suggested but no avail. I have attached .xml file to make sure I have added second account correctly.

        It works fine on one account but I just cant get it to add a second account!!!

        Help
        This is in your file:
        Code:
          <Accounts>
            <Account>
              <Username>xxx.co.uk</Username>
              <Password>xxx</Password>
              <UpdateRate>60000</UpdateRate>
            </Account>
          </Accounts>
              <Username>xxx</Username>
              <Password>xxx</Password>
              <UpdateRate>60000</UpdateRate>
            </Account>
          </Accounts>
        It should be this:
        Code:
          <Accounts>
            <Account>
              <Username>xxx.co.uk</Username>
              <Password>xxx</Password>
              <UpdateRate>60000</UpdateRate>
            </Account>
            <Account>
              <Username>xxx</Username>
              <Password>xxx</Password>
              <UpdateRate>60000</UpdateRate>
            </Account>
          </Accounts>

        Comment


          #79
          Perfect Thank you. The only thing is it has labelled the device the same as mine. Easy way I guess is just to rename the device. Now on to the Geocache.

          Your help very much appreciated

          Cheers

          Steve
          Steve

          Comment


            #80
            Originally posted by jrhubott View Post
            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>
            Trying to setup Geocaching. Does the value represent the device you are trying to track ?
            Steve

            Comment


              #81
              I take it if you have lots of geofence setup it, it's just a label so it would go 1,2,3,4,5 etc ?. It would then show if any account is at one of the locations ( latitude and longitude match)

              Cheers

              Steve
              Steve

              Comment


                #82
                Could you convert Latitude and Longitude to address or location and show on device page.

                Thank you

                Greg

                Comment


                  #83
                  Dynamic polling

                  Hi,

                  I installed this yesterday, looks good. I too think it would be good to add this to Paul's PHLocation plugin, we have spoke about find my iPhone before.
                  Would it be possible to add a "distance from" geofence device, such that polling times can be increased or decreased based on distance from a geofence? I did this when I had a VeraLite and a script that poked the apple servers. If not I will have to script it again.

                  Cheers

                  J

                  Comment


                    #84
                    Originally posted by Skinnez View Post
                    Hi,

                    I installed this yesterday, looks good. I too think it would be good to add this to Paul's PHLocation plugin, we have spoke about find my iPhone before.
                    Would it be possible to add a "distance from" geofence device, such that polling times can be increased or decreased based on distance from a geofence? I did this when I had a VeraLite and a script that poked the apple servers. If not I will have to script it again.

                    Cheers

                    J

                    I second that. That would be pretty sweet.

                    Comment


                      #85
                      I will add the distance from feature this week.


                      Sent from my iPad using Tapatalk HD

                      Comment


                        #86
                        Looks interesting! Can you disable the auto update by setting update rate in the account to 0 (and us events to refresh as needed)?

                        Comment


                          #87
                          Thanks jrhubbot

                          Comment


                            #88
                            Originally posted by pcp View Post
                            Looks interesting! Can you disable the auto update by setting update rate in the account to 0 (and us events to refresh as needed)?

                            I tied this but it didn't seem to work. It looks like it just constantly keeps refreshing.

                            Would love to see some examples of how to setup the geofence In the XML file. I cannot seem to get this to work!!!!!!

                            Perhaps someone would be so kind as to post their file

                            Cheers

                            Steve
                            Steve

                            Comment


                              #89
                              <?xml version="1.0" encoding="utf-8"?>
                              <DeviceManager xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                              <Accounts>
                              <Account>
                              <Username>dfgsdfgsdfsgfdgs</Username>
                              <Password>sdfgsdfgsdfg</Password>
                              <UpdateRate>1800000</UpdateRate>
                              </Account>
                              <Account>
                              <Username>sdfgsdfgsfdgsfdgs</Username>
                              <Password>sdfgsdfgsdfgsfg</Password>
                              <UpdateRate>1800000</UpdateRate>
                              </Account>
                              </Accounts>
                              <deviceList>
                              <Device>
                              <Index>1</Index>
                              <Hash>dfgsdfgsdfgsfdgfdgfsdgsfgdfgsdfg+jhBeHYVNSUzmWV</Hash>
                              <Name>sdfgsdfgsdfgsdfgsdfg</Name>
                              </Device>
                              <Device>
                              <Index>2</Index>
                              <Hash>sdfgsdfgsdfgsdfgdfgsdfgdfgdfgfgdfgsdfgsdfg</Hash>
                              <Name>dfgdsfgsdfgsdfgsdfg</Name>
                              </Device>
                              </deviceList>
                              <RadiusGeoFences>
                              <RadiusGeoFence>
                              <Name>None</Name>
                              <Value>0</Value>
                              <Latitude>0</Latitude>
                              <Longitude>0</Longitude>
                              <RadiusInMiles>0</RadiusInMiles>
                              <UpdateRate>0</UpdateRate>
                              </RadiusGeoFence>
                              <RadiusGeoFence>
                              <Name>dfgsdfgsdfgsdfgsdfg</Name>
                              <Value>1</Value>
                              <Latitude>**.618585</Latitude>
                              <Longitude>**.568582</Longitude>
                              <RadiusInMiles>0.5</RadiusInMiles>
                              <UpdateRate>0</UpdateRate>
                              </RadiusGeoFence>
                              <RadiusGeoFence>
                              <Name>erwtertwertwertwrtwert</Name>
                              <Value>2</Value>
                              <Latitude>**.772334</Latitude>
                              <Longitude>**.538083</Longitude>
                              <RadiusInMiles>0.5</RadiusInMiles>
                              <UpdateRate>0</UpdateRate>
                              </RadiusGeoFence>
                              </RadiusGeoFences>
                              <NextIndex>2</NextIndex>
                              <DownloadGoogleMaps>true</DownloadGoogleMaps>
                              <StatusImageWidth>100</StatusImageWidth>
                              <StatusImageHeight>100</StatusImageHeight>
                              <StatusImageZoomLevel>15</StatusImageZoomLevel>
                              <GoogleApiKey>AIzaSyB-hdfghdfghdgfhdgfhdgfhdfgh</GoogleApiKey>
                              </DeviceManager>

                              Comment


                                #90
                                Perfect! Thank you . I really appreciate you taking the time to post this. I guess if I want to add more it just follows on with <value>2</Value> 3, 4 5 etc ?
                                Steve

                                Comment

                                Working...
                                X