@bptworld
Ok so there is something going on with the code. I went outside to start the Jeep (only vehicle not automated at my home) and received a welcome home announcement. I can confirm (I am monitoring presence on my device with push notifications) that my device as been set to present/arrived since I came home yesterday evening. I can't pinpoint the issue unfortunately but it seems like the timeout works sometimes and then not others. Very odd honestly.
Also...a feature request. Would it be possible for you to add a second trigger and doing an (and) with them? So my new issue is surrounding presence detection. I am now trying the Homekit + Life360 and it still doesn't seem to catch me home right away. I am wanting to use the contact sensor and a motion sensor as my two triggers which would happen between the two doors. If you do enable this option I would suggest having the second trigger not be a required field.
Logs from Welcome Home - Front Door Child App:
app:23552019-04-15 07:03:58.534 am debugIn contactSensorHandler - Contact: Door Sensor - Front Door - Status: closed
app:23552019-04-15 07:03:06.626 am debugIn letsTalk - Wow, that's it!
app:23552019-04-15 07:03:05.574 am debugIn letsTalk - Music Player - speakers: [Foyer Sonos], vol: 90, msg: g'day Dad and Mom !. glad you are home!
app:23552019-04-15 07:02:55.573 am debugIn letsTalk - Waiting 10 seconds to Speak
app:23552019-04-15 07:02:55.572 am debugSpeaker(s) in use: [Foyer Sonos]
app:23552019-04-15 07:02:55.569 am debugAGAIN...Name = Dad and Mom !
app:23552019-04-15 07:02:55.567 am debug*********** In nameCount=2: myCount: 1
app:23552019-04-15 07:02:55.566 am debug*********** In nameCount=2: myCount: 0
app:23552019-04-15 07:02:55.562 am debugIn getName - Number of Names: 2, Names: [Dad, Mom]
app:23552019-04-15 07:02:55.561 am debugIn messageHandler - Random - vSize: 16, randomKey: 11, theMessage: G'Day %name%. Glad you are home!
app:23552019-04-15 07:02:55.556 am debugIn messageHandler...
app:23552019-04-15 07:02:55.555 am debugIn letsTalk - continuing
app:23552019-04-15 07:02:54.727 am debugIn letsTalk - pause: 826
app:23552019-04-15 07:02:54.679 am debugIn checkVol - volume: 90
app:23552019-04-15 07:02:54.678 am debugIn checkVol...
app:23552019-04-15 07:02:54.678 am debugIn checkTime - No Time restrictions - Continue
app:23552019-04-15 07:02:54.676 am debugIn checkTime...
app:23552019-04-15 07:02:54.676 am debugIn letsTalk...
app:23552019-04-15 07:02:54.675 am infoWelcome Home - Front Door - Maw-Maw - Global 'Been Here' is yes. No announcement needed.
app:23552019-04-15 07:02:54.551 am debugGlobal Been Here - Dad: no - Mom: no - Am--iah: no - Maw-Maw: yes - Not set: null
app:23552019-04-15 07:02:54.540 am debugMaw-Maw - timeDiff: 0
app:23552019-04-15 07:02:54.536 am debugMaw-Maw getTimeDiff4 - lastActivity: 2019-04-15 07:02:42.034
app:23552019-04-15 07:02:54.534 am debugMaw-Maw getTimeDiff4 - Global Been Here: yes
app:23552019-04-15 07:02:54.511 am debugMaw-Maw getTimeDiff4 - Presence Sensor Status - 4: present
app:23552019-04-15 07:02:54.504 am debugIn getTimeDiff4 - Maw-Maw
app:23552019-04-15 07:02:54.474 am debugAm--iah - Presence Sensor: not present - No announcement needed.
app:23552019-04-15 07:02:54.472 am debugAm--iah - Global Been Here: no
app:23552019-04-15 07:02:54.469 am debugAm--iah - Presence Sensor Status - 3: not present
app:23552019-04-15 07:02:54.450 am debugIn getTimeDiff3 - Am--iah
app:23552019-04-15 07:02:54.445 am infoWelcome Home - Front Door - Mom just got here! Time Diff = 0
app:23552019-04-15 07:02:54.412 am debugGlobal Been Here - Dad: no - Mom: no - Am--iah: no - Maw-Maw: yes - Not set: null
app:23552019-04-15 07:02:54.369 am debugMom - timeDiff: 0
app:23552019-04-15 07:02:54.365 am debugMom - lastActivity: 2019-04-15 07:02:42.122
app:23552019-04-15 07:02:54.355 am debugMom - Global Been Here: no
app:23552019-04-15 07:02:54.351 am debugMom - Presence Sensor Status - 2: present
app:23552019-04-15 07:02:54.321 am debugIn getTimeDiff2 - Mom
app:23552019-04-15 07:02:54.044 am infoWelcome Home - Front Door - Dad just got here! Time Diff = 0
app:23552019-04-15 07:02:54.038 am debugGlobal Been Here - Dad: no - Mom: no - Am--iah: no - Maw-Maw: yes - Not set: null
app:23552019-04-15 07:02:53.974 am debugDad - timeDiff: 0
app:23552019-04-15 07:02:53.941 am debugDad - lastActivity: 2019-04-15 07:02:41.992
app:23552019-04-15 07:02:53.915 am debugDad - Global Been Here: no
app:23552019-04-15 07:02:53.912 am debugDad - Presence Sensor Status - 1: present
app:23552019-04-15 07:02:53.898 am debugIn getTimeDiff1 - Dad
app:23552019-04-15 07:02:53.865 am debugIn contactSensorHandler - Pause: false
app:23552019-04-15 07:02:53.864 am debugIn contactSensorHandler - Contact: Door Sensor - Front Door - Status: open