Announcement

Collapse
No announcement yet.

PHLocation ideas

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

  • randy
    replied
    Originally posted by MNB View Post
    Randy, I'm looking at on of you event lines "AND IF user: Randy iPhone is not at: HOME." what command did you use for this item? Mike
    The only PHLocation2 Condition. Look at post #10 in the PHL2 discussion thread.

    https://forums.homeseer.com/forum/te...02#post1274702

    Leave a comment:


  • MNB
    replied
    Randy, I'm looking at on of you event lines "AND IF user: Randy iPhone is not at: HOME." what command did you use for this item? Mike

    Leave a comment:


  • MNB
    replied
    Thanxs

    Leave a comment:


  • randy
    replied
    Originally posted by MNB View Post
    Randy, I see that you have script command to write to a log via
    Code:
    &nhs.WriteLog("Location","Fence - Michelle is Home ")
    where is this being written to ?
    The HomeSeer log.

    Leave a comment:


  • MNB
    replied
    Randy, I see that you have script command to write to a log via
    Code:
    &nhs.WriteLog("Location","Fence - Michelle is Home ")
    where is this being written to ?

    Leave a comment:


  • MNB
    replied
    Firstly thank-you Randy for taking the time to educate/share. I would hope that other's will also share their solutions as I know "there's more than one way to skin a cat" I was hoping this thread would be similar to your other informational/educational threads else where but would address PHLocate particulars as this plugin has both complexities and intriguing solutions. Mike

    Leave a comment:


  • randy
    started a topic PHLocation ideas

    PHLocation ideas

    I was asked about some Events I use in PHLocation. I thought it would be a good idea to start a fresh thread so that we could all contribute our ideas. I'll start with some simple ones. Using a Fence around work and home we trigger based on entry and exit of those geofences. When My wife leaves work a GeoFency based trigger runs this Event. The first action speaks "mommie left work" over the Sonos speakers. We don't have children at home, but Riley (our Border terrier) responds to this and waits by the door. The second action writes a log entry that can be filtered on for any number of purposes. The third action will initiate a poll of her iCloud account to force an immediate update.

    Click image for larger version  Name:	PHL1.PNG Views:	1 Size:	41.5 KB ID:	1276301

    When she arrives home another similar event is triggered. This one announces that "mommie is home", writes to the log, forces an iCloud update and starts a timer.

    Click image for larger version  Name:	PHL2.PNG Views:	1 Size:	44.6 KB ID:	1276302

    When she gets home, the garage door is opened for her. This Event checks that she just arrived home, is in her car, that the door didn't just open and that it will only happen within 5 minutes of arrival. There is an iBeacon generated fence that lets the system know who is in which car. There is a virtual device to disable the auto garage door. There are pair of dual mode motion sensors aimed downward at the driveway. The driveway will be occupied if either of them go to Motion, but they only see the driveway. Because they are both PIR and MW, they do not false trigger. I had to trigger on both the driveway occupancy and the fence location in case one occurs before the other. The fence almost always reports first.

    Click image for larger version  Name:	PHL3.PNG Views:	1 Size:	91.1 KB ID:	1276303

    The above Events are duplicated for both of us.

    We also vary the polling rate on our iCloud accounts based on if we just entered or left a known location and by time. This was very important with our phones 3 years ago, to conserve battery life. It really is not an issue with the new phones, but I have left it in place. When we leave a location the iCloud accounts are polled at an increased frequency for up to an hour.

    Click image for larger version

Name:	PHL4.PNG
Views:	218
Size:	129.3 KB
ID:	1276432

    When we are at home or work, the polling is decreased to 45 minutes after we have been there for an hour.

    Click image for larger version  Name:	PHL5.PNG Views:	1 Size:	85.1 KB ID:	1276305

    Home Occupancy is determined by geofence. There are virtual devices for home/away for each of us. If we are away by both iPhone and Geofency, the virtual device is set to Away. If we are home by either iPhone or Geofency the device is set to Home.

    Click image for larger version  Name:	PHL7.PNG Views:	1 Size:	110.4 KB ID:	1276306

    Home occupancy is determined the same way, if either of us are home the house is Occupied, if both of us are away it is Away. This single Occupancy control has 4 modes.

    Click image for larger version  Name:	PHL8.PNG Views:	1 Size:	14.2 KB ID:	1276307

    Greater than Away are either Home Asleep or Home Awake. These Events control this

    Click image for larger version  Name:	PHL6.PNG Views:	1 Size:	108.9 KB ID:	1276308

    Maps are generated for each iPhone when a new location is triggered. We generate a daily history map for each phone. Its filename is determined by replacement variables such that each days map is replaced with a new one as new locations are entered, with a new map started each day. We also generate a current location map at the same time. This map always have the same name, so there will only be one copy - the most current. These maps are embedded in web pages for our family's use.

    Click image for larger version  Name:	PHL9.PNG Views:	1 Size:	55.4 KB ID:	1276309

    Here is an example of one of the history maps. Bear in mind that drilling down will not work properly because of Google API limitations, but it does work on our private websites.

    http://www.prades.net/map.html
Working...
X