Announcement

Collapse
No announcement yet.

PHLocation V2 Discussion

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

  • sooty
    replied
    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..

    Leave a comment:


  • sooty
    replied
    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..

    Leave a comment:


  • sooty
    replied
    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,,

    Leave a comment:


  • MNB
    replied
    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

    Leave a comment:


  • mjolsen
    replied
    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.

    Leave a comment:


  • kenmt
    replied
    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

    Leave a comment:


  • sparkman
    replied
    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

    Leave a comment:


  • sooty
    replied
    Originally posted by zimmer62 View Post
    There is a typo in the FMIP Alert Action text.. I currently says "Play altert sound:" extra T in there.
    Fixed in .49 or later.

    Paul..

    Leave a comment:


  • zimmer62
    replied
    There is a typo in the FMIP Alert Action text.. I currently says "Play altert sound:" extra T in there.

    Leave a comment:


  • sooty
    replied
    I've uploaded version 3.0.0.48 and reinstated the download link in the release notes page.

    See the notes (in red) on the release notes page if you have already installed versions 3.0.0.45 to 3.0.0.47.

    Paul..

    Leave a comment:


  • mjolsen
    replied
    Originally posted by MNB View Post

    Randy, its been a few days since our discussion above and I have say I'm now working properly (no false alarms with moving Inside > Outside > Inside my GeoFency inner perimeters when the phone hasn't been moved) after fixing my "iCloud Device" iPhone > to reflect; "General options" > with my "Minimum Distance to Move" = 0.1 mile and my "Maximum Accuracy" = 100 Meters.

    I readjusted my GeoFency perimeters to a inner perimeter = 100 meters (328 feet) and a outer perimeter = 1700 meters (~1.02 mi) which works well with my various events (with help from your good self) so I feel like I'm finally up and running (PHL2 wise) many thanxs in this continued learning experience(s), Mike
    Hey Mike--
    I'm curious how you are using your inner and outer with Geofency.. mind sharing an event and geofency snapshot?

    Leave a comment:


  • sooty
    replied
    If you've already installed .47, then I don't think it will cause anything catrosophic to happen. Basically when the plug-in is shut down it doesn't make a clean break from HS3 so HS3 still has a hold on the plug-in's exe file therefore it can't be overwritten whilst HS3 is running.

    I need to confirm for sure tomorrow (its 11pm here in the UK) but initial testing seems to suggest that the issue is caused by the way the plug-in is storing the data from the previous location update. This was added to fix the issue with triggers on overlapping known locations.

    Currently this is stored as a custom object in the PED (PlugExtraData) of the user root device and whilst the reading and writing of data to this PED object is working fine, for some reason if any plug-in device has such an object in it's PED collection then HS3 won't let go of the plug-in's exe.

    I'll get onto it in the morning.

    Paul..

    Leave a comment:


  • MNB
    replied
    Originally posted by rprade View Post
    As I stated in the two quotes you included in the post, it is up to you. I think that 100 meters (328 feet) is the tightest a fence can be to be reliable. I set mine to .1 mile (528 feet) and it never false triggers, if you have false triggers at .1 try .2. It is just a matter of balance. I cannot imagine a situation where a fence of even 1000 feet would cause a problem unless you are walking. Chances are if you are within 1000 feet you are home and if greater than 1000 you are not. At neighborhood speeds you travel at 37 feet per second, so 1000 feet is only 30 seconds away.

    With regard to maximum accuracy I stated that I use 100 meters. I came up with that number by looking at history. Any real readings from my phone are within that number for accuracy. When my phone looses GPS in the basement, it goes to WiFi for position, but Apple reports the accuracy as 65 meters. Looking at the actual positions reported that number seems to be correct. It is a matter of tuning your system to balance speed, accuracy and limiting bad reports.
    Randy, its been a few days since our discussion above and I have say I'm now working properly (no false alarms with moving Inside > Outside > Inside my GeoFency inner perimeters when the phone hasn't been moved) after fixing my "iCloud Device" iPhone > to reflect; "General options" > with my "Minimum Distance to Move" = 0.1 mile and my "Maximum Accuracy" = 100 Meters.

    I readjusted my GeoFency perimeters to a inner perimeter = 100 meters (328 feet) and a outer perimeter = 1700 meters (~1.02 mi) which works well with my various events (with help from your good self) so I feel like I'm finally up and running (PHL2 wise) many thanxs in this continued learning experience(s), Mike

    Leave a comment:


  • rprade
    replied
    Originally posted by The Profit View Post

    Guess I was too quick to update....I’ve installed .47 so if there is anyway to get instructions on the best way to install future versions?


    Sent from my iPad using Tapatalk
    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.

    Leave a comment:


  • The Profit
    replied
    Originally posted by sooty View Post
    There is an issue with .47 so I've pulled the download until I resolve it.

    Actually the issue was introduced in a previous version (not sure exactly which one yet) but I'm pretty sure it was after .43 so hopefully not many have it.

    The issue is that the plug-in does not shut down properly so won't allow installation of a new version because HS3 still thinks it's still running.

    I've identified where the issue is and will have a fix soon.

    Paul..
    What would be a good update process for those of us who have already updated to .47?

    Disable plugin, install new version, shutdown HS3 then enable the new version?


    Sent from my iPad using Tapatalk

    Leave a comment:

Working...
X