I have (3) entry points each with its own HE supported TTS device. Is it possible to add a feature that allows me to associate each entry point with its appropriate TTS device and then announce to the device which triggers it?
Example:
Front door contact sensor with Front Entry TTS device
Garage door contact sensor with Kitchen TTS device
Patio door contact sensor with Family Room TTS device
Presence for person #1 and #2 register and triggers Welcome Home. Which ever contact sensor opens/closes (set for closes) the message announces on that associated TTS speaker and now that notification is finished.
It will only speak on the one being triggered, only way it would retrigger is if you opened another door within the 'How many minutes can the presence sensor be home and still be considered for a welcome home message '
So if you had it set to 10 minutes. Come home and go in through the Garage door, kitchen tts would speak. But, if you went and opened the patio door within that 10 minutes, it would trigger again and speak on the family room tts (based on your examples). Make sense?
Yeah that is what I donβt want to happen. Usually we get back and then let dogs out. Is there a way to add a cancel to the valid minutes after an announcement?
Stupid question here, i have ordered a hubitat (i live in norway) so i am doing some research.
Come across this app and i like it.
Have one question since i cant test myself.
I only want this to trigger. When no one is home. So for example if my wife comes home and my door opens, i dont want it to fire, because that can get spammy quick, if we keep closing / opening the door.
So if no one is home, and x comes home, i want hey, welcome home x, if y comes home, then welcome home y. If both persons come home at the same time, welcome home x and y? Is that possible.
V2.0.0 - 02/11/19 - Major rewrite. Friendly Names for presence sensors are now in Parent app, so they can be shared across multiple child apps. Welcome Home now requires a new 'Virtual Device' using our custom 'Global Variables Driver'. Each child app will link to the same 'Virtual Device'. This way we can track who came home across multiple child apps!
After installing the new parent/child, make sure to go to Github and get the NEW driver to install. Once all 3 (parent/child/driver) have been installed, the parent app and each child app previously created will need to be modified to the new format. Please go into each parent/child and replace the missing data.
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.856 am [error](http://10.0.2.38/installedapp/configure/1898)java.lang.NullPointerException: Cannot get property 'value' on null object on line 711 (contactSensorHandler)
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.839 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - *********** In nameCount=1: myCount = 0
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.836 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getName...Number of Names: 1 - Names: [null]
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.834 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getName...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.833 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Greeting = Morning
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.830 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - timeHH = 8
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.822 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getGreeting...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.820 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - getGroup1 - randomKey1 = 4
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.771 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getGroup1...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.705 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Changed msgComp to lowercase = %random%
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.704 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In compileMsg...message1 = %random%
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.702 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Time restrictions have not been configured - Continue
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.700 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In checkTime...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.699 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In talkNow1...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.697 am [info](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - null - No announcement needed. Time Diff = 5181
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.666 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - getTimeDiff4 - getTimeDiff4 - timeDiff: 5181
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.664 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - getTimeDiff4 - lastActivity: 2019-02-07 18:18:04.011
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.663 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - getTimeDiff4 - Global Been Here: null
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.661 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - getTimeDiff4 - Presence Sensor Status - 4: present
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.621 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getTimeDiff4...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.595 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Presence Sensor: not present - No announcement needed.
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.593 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Global Been Here: null
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.590 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Presence Sensor Status - 3: not present
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.571 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getTimeDiff3...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.566 am [info](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - null - No announcement needed. Time Diff = 744
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.548 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - timeDiff: 744
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.543 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - lastActivity: 2019-02-10 20:14:07.824
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.541 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Global Been Here: null
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.538 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Presence Sensor Status - 2: present
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.522 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getTimeDiff2...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.493 am [info](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - null just got here! Time Diff = 1
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.490 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - null: globalBH1: no - globalBH2: null - globalBH3: null - globalBH4: null - globalBH5: null
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.434 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - timeDiff: 1
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.432 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - lastActivity: 2019-02-11 08:37:58.135
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.431 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Global Been Here: no
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.429 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Presence Sensor Status - 1: present
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.423 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In getTimeDiff1...
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.421 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In contactSensorHandler...canSpeak: no
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.420 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - In contactSensorHandler...Pause: false
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.418 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Continue - App NOT paused
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:35.417 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - contact Status: = closed
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:38:31.901 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - contact Status: = open
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:37:58.193 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Presence Sensor is present - Let's go!
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:37:58.190 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - IN presenceSensorHandler1 - Presence Sensor = present
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:37:56.856 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - Presence Sensor is not present - Been Here is now off.
[app:1898](http://10.0.2.38/logs#app1898)2019-02-11 08:37:56.854 am [debug](http://10.0.2.38/installedapp/configure/1898)Welcome Home - Front Door - IN presenceSensorHandler1 - Presence Sensor = not present
NVM I found the issue. Apparently there was an update to the Sonos Driver and now where the TTS Level Adjust setting is forced to 10%. I changed that to No Change and now the app works correctly.
do we need to do anything with the driver other than create it and select it in the app? Also I uses SONOS is it best to use that as a music player or speech synth?