Announcement

Collapse
No announcement yet.

PHLocation V2 Discussion

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • If you have a problem when the next update comes out:
    • Disable PHL and shutdown HomeSeer
    • Delete HSPI_PHLocation2.exe from the HS3 root directory
    • Restart HomeSeer
    • Drop updater_override.txt into the HS root directory
    • Drop the .zip file into Updates3/Zips
    • Goto Manage Plug-ins and install the local update
    • enable PHLocation2
    • Enjoy!
    Remember that HomeSeer automatically deletes all files in Updates3/Zips at startup and it deletes the updater_override.txt file, so they must be copied when HS is running. If .47 is in and running, don't do anything unless you have a problem with a future update.
    As an FYI, the update did not go that smoothly for me. I followed the steps above and still got the message:
    Jan-22 8:23:21 AM Updater Error Installation of package PHLocation failed. Try disabling the plugin first, then re-try the update.
    Jan-22 8:23:21 AM Updater Error Copying source to C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe, detailed error: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe' because it is being used by another process.
    I then shut down HS again, rebooted my HS computer and attempted to update it again (PHLocation2 was still disabled and the process was not running):
    Jan-22 8:27:40 AM Updater Error Installation of package PHLocation failed. Try disabling the plugin first, then re-try the update.
    Jan-22 8:27:40 AM Updater Error Copying source to C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe, detailed error: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe' because it is being used by another process.
    After that, I shut down HS again, manually replaced HSPI_PHLocation2.exe with the new version from the latest zip as that looked like the only file that was different from .47, restarted my HS computer just to be safe, and enabled the plugin after HS started. All looks to be fine now.

    Cheers
    Al
    HS 3.0.0.548: 1976 Devices 1156 Events
    Z-Wave 3.0.1.262: 123 Nodes on one Z-Net

    Comment


    • I'm getting this error after trying to install version 3.0.0.48. This is my first install. Am I missing a db3 file?

      Jan-22 10:45:00 Info Plugin PHLocation2 with instance: has disconnected
      Jan-22 10:45:00 PHLocation2 Warning (Startup) Main database file not found. Attempting to build a new file.
      Jan-22 10:45:00 PHLocation2 (Startup) ImagePath = images/PHLocation2/
      Jan-22 10:45:00 PHLocation2 (Startup) ImagePath = images/PHLocation2/
      Jan-22 10:45:00 PHLocation2 (Startup) LogPath = html/PHLocation2/Logs/
      Jan-22 10:45:00 PHLocation2 (Startup) DataPath = /home/pi/HomeSeer/Data/PHLocation2/PHLocation2.db3
      Jan-22 10:45:00 PHLocation2 (Startup) BinPath = /home/pi/HomeSeer/Data/PHLocation2/
      Jan-22 10:45:00 PHLocation2 (Startup) HSAppPath = /home/pi/HomeSeer
      Jan-22 10:45:00 PHLocation2 (Startup) UTC offset secs: -18000
      Jan-22 10:45:00 PHLocation2 (Startup) System decimal separator used is [.]
      Jan-22 10:45:00 PHLocation2 (Startup) Detected OS is Linux version 4.14.34.7
      Jan-22 10:45:00 PHLocation2 (Startup) Plug-in version is: 3.0.0.48
      Jan-22 10:45:00 PHLocation2 (Startup) Begins at 10:45:00.056
      Jan-22 10:44:59 Starting Plug-In Plugin PHLocation2 started successfully in 11 milliseconds
      Jan-22 10:44:59 Starting Plug-In Initializing plugin PHLocation2 ...
      Jan-22 10:44:59 Info Plugin PHLocation2 has connected. IP:127.0.0.1:60922

      Comment


      • oh crap.. just updated to .48 and now my iPhone (iCloud) devices are missing. The GeoFency devices are there.. the iPhone actual devices in device management are there but in the PHLocation2 plugin USERS/DEVICES they are missing.

        Looks like the Root device is missing for each iPhone.

        Comment


        • Originally posted by mjolsen View Post

          Hey Mike--
          I'm curious how you are using your inner and outer with Geofency.. mind sharing an event and geofency snapshot?
          Mike, Firstly I have to give credit where due, Randy's excellent examples in another thread https://forums.homeseer.com/forum/te...location-ideas provide the geneses of my events. I started with three perimeters; Home (100 meter), inner (1 mile) and outer (2 mile) to determine if I was away, travelling to/from home or at home ( PHL2 has since added some of the new capabilities). I've since changed it to only two perimeters; 100 meter (Home) and 1 mile (Outer). I've attached an example of my GF devices, Virtual Devices and some of my Events that pertain to the GF Perimeters, I'm not sure what your requesting via the Geofency Snapshot I'm assuming of the app fences?
          Attached Files
          Computer: CUK Intel NUC7i7BNH
          Op System: Windows 10 Pro - Work Station
          HS Version: HS3 Pro Edition 3.0.0.435

          Plug-Ins: BLBackup, BLGData, BLRoombaWifi, Device History, EasyTrigger, ImperiHome, Nest, PHLocation, Pushover 3P, Restart, Sonos, UltraCID3, UltraWeatherWU3, Z-Wave, and Jon00 scripts.

          Comment


          • Originally posted by sparkman View Post

            As an FYI, the update did not go that smoothly for me. I followed the steps above and still got the message:
            Jan-22 8:23:21 AM Updater Error Installation of package PHLocation failed. Try disabling the plugin first, then re-try the update.
            Jan-22 8:23:21 AM Updater Error Copying source to C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe, detailed error: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe' because it is being used by another process.
            I then shut down HS again, rebooted my HS computer and attempted to update it again (PHLocation2 was still disabled and the process was not running):
            Jan-22 8:27:40 AM Updater Error Installation of package PHLocation failed. Try disabling the plugin first, then re-try the update.
            Jan-22 8:27:40 AM Updater Error Copying source to C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe, detailed error: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe' because it is being used by another process.
            After that, I shut down HS again, manually replaced HSPI_PHLocation2.exe with the new version from the latest zip as that looked like the only file that was different from .47, restarted my HS computer just to be safe, and enabled the plugin after HS started. All looks to be fine now.

            Cheers
            Al
            Sorry guys there's nothing I can do if you had 45, 46 or 47 installed. You will need to stop HS3 and delete the plug-in's exe which will prevent HS3 trying to load it.

            Paul,,

            Comment


            • Originally posted by kenmt View Post
              I'm getting this error after trying to install version 3.0.0.48. This is my first install. Am I missing a db3 file?

              Jan-22 10:45:00 Info Plugin PHLocation2 with instance: has disconnected
              Jan-22 10:45:00 PHLocation2 Warning (Startup) Main database file not found. Attempting to build a new file.
              Jan-22 10:45:00 PHLocation2 (Startup) ImagePath = images/PHLocation2/
              Jan-22 10:45:00 PHLocation2 (Startup) ImagePath = images/PHLocation2/
              Jan-22 10:45:00 PHLocation2 (Startup) LogPath = html/PHLocation2/Logs/
              Jan-22 10:45:00 PHLocation2 (Startup) DataPath = /home/pi/HomeSeer/Data/PHLocation2/PHLocation2.db3
              Jan-22 10:45:00 PHLocation2 (Startup) BinPath = /home/pi/HomeSeer/Data/PHLocation2/
              Jan-22 10:45:00 PHLocation2 (Startup) HSAppPath = /home/pi/HomeSeer
              Jan-22 10:45:00 PHLocation2 (Startup) UTC offset secs: -18000
              Jan-22 10:45:00 PHLocation2 (Startup) System decimal separator used is [.]
              Jan-22 10:45:00 PHLocation2 (Startup) Detected OS is Linux version 4.14.34.7
              Jan-22 10:45:00 PHLocation2 (Startup) Plug-in version is: 3.0.0.48
              Jan-22 10:45:00 PHLocation2 (Startup) Begins at 10:45:00.056
              Jan-22 10:44:59 Starting Plug-In Plugin PHLocation2 started successfully in 11 milliseconds
              Jan-22 10:44:59 Starting Plug-In Initializing plugin PHLocation2 ...
              Jan-22 10:44:59 Info Plugin PHLocation2 has connected. IP:127.0.0.1:60922
              I suspect this may caused by one of 2 things:
              1. There is a copy of System.Data.SQLite.dll in your root HS3 folder.
              2. There is not a copy of System.Data.SQLite.dll at /home/pi/HomeSeer/bin/PHLocation2

              Can you check both those items and if one of these is not the issue, drop me an email.

              Paul..

              Comment


              • Originally posted by mjolsen View Post
                oh crap.. just updated to .48 and now my iPhone (iCloud) devices are missing. The GeoFency devices are there.. the iPhone actual devices in device management are there but in the PHLocation2 plugin USERS/DEVICES they are missing.

                Looks like the Root device is missing for each iPhone.
                The update shouldn't have removed any devices.

                Assuming you have the log entries from when the plug-in first started up on v3.0.0.48, please email me those entries.
                Please also disable and re-enable the plug-in and send me the log entries from the startup procedure.

                The startup entries are contained between

                (Startup) Begins at....
                and
                (Startup) Finished at...

                Paul..

                Comment


                • Originally posted by sooty View Post

                  I suspect this may caused by one of 2 things:
                  1. There is a copy of System.Data.SQLite.dll in your root HS3 folder.
                  2. There is not a copy of System.Data.SQLite.dll at /home/pi/HomeSeer/bin/PHLocation2

                  Can you check both those items and if one of these is not the issue, drop me an email.

                  Paul..
                  My installation is failing as well after following the directions in the beta post. Paul, is there a specific process that I can try to end in the task manager? I don’t see anything looking like PHLocation that is running so I’m wondering if there is something else that is keeping the program running? I’ve tried restarting the computer with the plugin disabled and I still get the update failed message.

                  Is there a way to uninstall the plugin completely and install like a new install but then copy over a file with all the settings? Or would that mess up all of my PHL devices and events?


                  Sent from my iPad using Tapatalk
                  HS3 3.0.0.500 &HSTouch Designer 3.0.71 with 782 Devices, 479 Events
                  Plugin's:
                  BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee,
                  EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
                  weatherXML, Jon00 Alexa Helper, Network Monitor, Z-Wave 3.0.1.252

                  Comment


                  • Originally posted by sooty View Post

                    The update shouldn't have removed any devices.

                    Assuming you have the log entries from when the plug-in first started up on v3.0.0.48, please email me those entries.
                    Please also disable and re-enable the plug-in and send me the log entries from the startup procedure.

                    The startup entries are contained between

                    (Startup) Begins at....
                    and
                    (Startup) Finished at...

                    Paul..
                    Well, not much in the logs that I could see that would cause this.. I've copied the logs below.
                    Strange that the device data was there just missing the ROOT device for each iPhone (hence nothing in USER/DEVICES). I did disable and re-enable a few times. everything was there just not the root devices.
                    I quickly rebuild the iPhones and had to go back through all events to re-link.. Had to get this done as I am out of town for a few days and needed to get it fixed asap.

                    Hopefully it's something I fat fingered last night when I was finishing my PH2 setup. (totally moved to ph2)... THANKS!

                    mike


                    Code:
                     
                    Jan-22 11:08:41 AM Plug-In Finished initializing plug-in PHLocation2
                    Jan-22 11:08:41 AM Starting Plug-In PHLocation2 loaded in 407 milliseconds
                    Jan-22 11:08:41 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                    Jan-22 11:08:41 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                    Jan-22 11:08:41 AM PHLocation2 (Startup) LogPath = html\PHLocation2\Logs\
                    Jan-22 11:08:41 AM PHLocation2 (Startup) DataPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\PHLocation2.db3
                    Jan-22 11:08:41 AM PHLocation2 (Startup) BinPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\
                    Jan-22 11:08:41 AM Starting Plug-In Plugin PHLocation2 started successfully in 2 milliseconds
                    Jan-22 11:08:41 AM Starting Plug-In Initializing plugin PHLocation2 ...
                    Jan-22 11:08:41 AM Info Plugin PHLocation2 has connected. IP:127.0.0.1:54107
                    Jan-22 11:08:35 AM Plug-In Found plug-in: PHLocation2, version: 3.0.0.48
                    Jan-22 11:07:41 AM Info Plugin PHLocation2 with instance: has disconnected
                    Jan-22 11:05:20 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                    Jan-22 11:05:20 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                    Jan-22 11:05:20 AM PHLocation2 (Startup) LogPath = html\PHLocation2\Logs\
                    Jan-22 11:05:20 AM PHLocation2 (Startup) DataPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\PHLocation2.db3
                    Jan-22 11:05:20 AM PHLocation2 (Startup) BinPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\
                    Jan-22 11:05:20 AM Plug-In Finished initializing plug-in PHLocation2
                    Jan-22 11:05:20 AM Starting Plug-In PHLocation2 loaded in 606 milliseconds
                    Jan-22 11:05:20 AM Starting Plug-In Plugin PHLocation2 started successfully in 1 milliseconds
                    Jan-22 11:05:20 AM Starting Plug-In Initializing plugin PHLocation2 ...
                    Jan-22 11:05:20 AM Info Plugin PHLocation2 has connected. IP:127.0.0.1:54052
                    Jan-22 11:05:13 AM Updater Install/Update of package PHLocation was successful.
                    Jan-22 11:05:13 AM Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe.config
                    Jan-22 11:05:13 AM Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe
                    Jan-22 11:05:12 AM Updater Installing package PHLocation
                    Jan-22 11:05:12 AM Updater Using local file: PHLocation2_3_0_0_48.zip
                    Jan-22 11:05:12 AM Updater Downloading update: PHLocation
                    Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                    Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                    Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                    Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                    Jan-22 11:03:23 AM Updater Install/Update of package PHLocation failed.
                    Jan-22 11:03:23 AM Updater Error Installation of package PHLocation failed. The installation file 'PHLocation2_3_0_0_48.zip' does not exist. Please retry download.
                    Jan-22 11:03:23 AM Updater Installing package PHLocation
                    Jan-22 11:03:23 AM Updater Using local file: PHLocation2_3_0_0_48.zip
                    Jan-22 11:03:23 AM Updater Downloading update: PHLocation
                    Jan-22 11:02:01 AM Updater Install/Update of package PHLocation failed.

                    Comment


                    • Originally posted by The Profit View Post

                      My installation is failing as well after following the directions in the beta post. Paul, is there a specific process that I can try to end in the task manager? I don’t see anything looking like PHLocation that is running so I’m wondering if there is something else that is keeping the program running? I’ve tried restarting the computer with the plugin disabled and I still get the update failed message.


                      Sent from my iPad using Tapatalk
                      It doesn't show in task manager but when HS3 is running it has a hold on the plug-in's exe file so won't let it be overwritten.

                      Stop HS3 altogether then delete the file \HS3\HSPI_PHLocation2.exe.

                      Will it then allow the installation?

                      If not, then I'll provide the exe as a separate download so you can just copy it over with HS3 stopped.

                      Paul..

                      Comment


                      • Originally posted by sooty View Post

                        I suspect this may caused by one of 2 things:
                        1. There is a copy of System.Data.SQLite.dll in your root HS3 folder.
                        2. There is not a copy of System.Data.SQLite.dll at /home/pi/HomeSeer/bin/PHLocation2

                        Can you check both those items and if one of these is not the issue, drop me an email.

                        Paul..
                        Thanks Paul, but that didn't seem to help. What's your email? can't find in main post or your profile.

                        Ken

                        Comment


                        • Originally posted by mjolsen View Post

                          Well, not much in the logs that I could see that would cause this.. I've copied the logs below.
                          Strange that the device data was there just missing the ROOT device for each iPhone (hence nothing in USER/DEVICES). I did disable and re-enable a few times. everything was there just not the root devices.
                          I quickly rebuild the iPhones and had to go back through all events to re-link.. Had to get this done as I am out of town for a few days and needed to get it fixed asap.

                          Hopefully it's something I fat fingered last night when I was finishing my PH2 setup. (totally moved to ph2)... THANKS!

                          mike


                          Code:
                           
                          Jan-22 11:08:41 AM Plug-In Finished initializing plug-in PHLocation2
                          Jan-22 11:08:41 AM Starting Plug-In PHLocation2 loaded in 407 milliseconds
                          Jan-22 11:08:41 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                          Jan-22 11:08:41 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                          Jan-22 11:08:41 AM PHLocation2 (Startup) LogPath = html\PHLocation2\Logs\
                          Jan-22 11:08:41 AM PHLocation2 (Startup) DataPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\PHLocation2.db3
                          Jan-22 11:08:41 AM PHLocation2 (Startup) BinPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\
                          Jan-22 11:08:41 AM Starting Plug-In Plugin PHLocation2 started successfully in 2 milliseconds
                          Jan-22 11:08:41 AM Starting Plug-In Initializing plugin PHLocation2 ...
                          Jan-22 11:08:41 AM Info Plugin PHLocation2 has connected. IP:127.0.0.1:54107
                          Jan-22 11:08:35 AM Plug-In Found plug-in: PHLocation2, version: 3.0.0.48
                          Jan-22 11:07:41 AM Info Plugin PHLocation2 with instance: has disconnected
                          Jan-22 11:05:20 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                          Jan-22 11:05:20 AM PHLocation2 (Startup) ImagePath = images\PHLocation2\
                          Jan-22 11:05:20 AM PHLocation2 (Startup) LogPath = html\PHLocation2\Logs\
                          Jan-22 11:05:20 AM PHLocation2 (Startup) DataPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\PHLocation2.db3
                          Jan-22 11:05:20 AM PHLocation2 (Startup) BinPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation2\
                          Jan-22 11:05:20 AM Plug-In Finished initializing plug-in PHLocation2
                          Jan-22 11:05:20 AM Starting Plug-In PHLocation2 loaded in 606 milliseconds
                          Jan-22 11:05:20 AM Starting Plug-In Plugin PHLocation2 started successfully in 1 milliseconds
                          Jan-22 11:05:20 AM Starting Plug-In Initializing plugin PHLocation2 ...
                          Jan-22 11:05:20 AM Info Plugin PHLocation2 has connected. IP:127.0.0.1:54052
                          Jan-22 11:05:13 AM Updater Install/Update of package PHLocation was successful.
                          Jan-22 11:05:13 AM Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe.config
                          Jan-22 11:05:13 AM Updater Copying file: C:\Program Files (x86)\HomeSeer HS3\HSPI_PHLocation2.exe
                          Jan-22 11:05:12 AM Updater Installing package PHLocation
                          Jan-22 11:05:12 AM Updater Using local file: PHLocation2_3_0_0_48.zip
                          Jan-22 11:05:12 AM Updater Downloading update: PHLocation
                          Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                          Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                          Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                          Jan-22 11:04:18 AM Error DeSerializing object (byte): Unable to find assembly 'HSPI_PHLocation2, Version=3.0.0.47, Culture=neutral, PublicKeyToken=null'. Source=mscorlib
                          Jan-22 11:03:23 AM Updater Install/Update of package PHLocation failed.
                          Jan-22 11:03:23 AM Updater Error Installation of package PHLocation failed. The installation file 'PHLocation2_3_0_0_48.zip' does not exist. Please retry download.
                          Jan-22 11:03:23 AM Updater Installing package PHLocation
                          Jan-22 11:03:23 AM Updater Using local file: PHLocation2_3_0_0_48.zip
                          Jan-22 11:03:23 AM Updater Downloading update: PHLocation
                          Jan-22 11:02:01 AM Updater Install/Update of package PHLocation failed.
                          Those deserialization messages are related to the issue that was present in 45, 46 and 47 and that issue does relate to the root devices of position based users so I suspect HS3 has somehow trashed those devices when trying to get data from them in the new version

                          Once again I'm sorry for the inconvenience and hopefully not too many folks installed one of those versions.

                          Paul..

                          Comment


                          • Originally posted by sooty View Post

                            Sorry guys there's nothing I can do if you had 45, 46 or 47 installed. You will need to stop HS3 and delete the plug-in's exe which will prevent HS3 trying to load it.

                            Paul,,
                            No worries Paul, just wanted to let others know of my experience in case they ran into the same issue.

                            Thanks
                            Al
                            HS 3.0.0.548: 1976 Devices 1156 Events
                            Z-Wave 3.0.1.262: 123 Nodes on one Z-Net

                            Comment


                            • Originally posted by kenmt View Post

                              Thanks Paul, but that didn't seem to help. What's your email? can't find in main post or your profile.

                              Ken
                              Its paul dot huddlestone at gmail dot com

                              Paul..

                              Comment


                              • No prob. That’s why we test for others .

                                Comment

                                Working...
                                X