[Deprecated] Welcome Home

Thank you for the clarification sir.

Is there a community driver? I never looked and I've always used the built-in driver.

1 Like

I have no idea :slight_smile:
I use the in-built one too

1 Like

So, as a test, I did as @Cobra suggested and used the playTextAndResume. It did play the text and then resumed, but it did so back to the beginning of my playlist. When I tested it again (with the same text), it played the TTS and then stopped. Then, as a third test, I changed the text completely and it reproduced the first results.

So, I'd venture to say that Sonos STILL has an issue when it comes to playTextAndRestore(). I don't think it's a driver issue so much as a Sonos issue. :-1:

1 Like

So, what you are saying is that it is probably better to use Alexa speakers for the announcements and that way it won't disrupt what is playing on Sonos? @bptworld one of the reasons that a Departure App based on your Welcome Home app would be beneficial is that if more than one person leaves (ie: Mom & Dad) but kids are still home, it would speak Mom and Dad have left the building, don't get into anything! :wink: Whereas, neither Presence Central or Message Central seem to have this ability.

How do we use Alexa devices in HE?

1 Like

I use Echo Speaks

Then I use this RM rule for departure announcements:
This sends a departure message to the selected Amazon Echo devices when ever someone leaves.

The full text of the 'Message to Send' is:

Goodbye %device%. %device% has left.;See you later %device%. %device% has left.;Bye %device%. %device% has left.;Live long and prosper %device%. %device% has left.;Farewell %device%. %device% has left.;Hope you have a great time %device%. %device% has left.;Take care %device%. %device% has left.;Smell you later %device%. %device% has left.;AhhDEEOhs %device%. %device% has left.;Chow %device%. %device% has left.;Oh revwahr %device%. %device% has left.;Sighenara %device%. %device% has left.;Ta Ta for now %device%. %device% has left.;Catch you later %device%. %device% has left.;To-da-loo %device%. %device% has left.;See you in the funny papers %device%. %device% has left.;Toodles %device%. %device% has left.;Godspeed %device%. %device% has left.;So long %device%. %device% has left.;Cheerio %device%. %device% has left.;AhrreevehDEHRtchee %device%. %device% has left.;See ya %device%. Wouldn't wanta be ya.

Make sure to turn on the 'Random message' toggle:


For Alexa TTS, there's two "main" routes that I would suggest: @ogiewon's Alexa TTS app (which is what I use) and @tonesto7's Echo Speaks app. Echo speaks is much more full featured as it supports nearly everything Echos can do while the Alexa TTS app is strictly for TTS.

1 Like

Big Thanks to @Matthew and @corerootedxb! Very helpful! I had no idea RM did Random!

1 Like

The links seem to go to the ST code. Is there a HE ported code link?

For Echo Speaks, the code is built to run on both platforms. :slight_smile: @tonesto7 is awesome about that.

1 Like

Oh perfect! Maybe this should be added to the documentation.

@mike.maxwell I know quite a few updates ago there were supposed to be some additions to the Sonos driver for stuff like this (apparently it was implemented to the back end from the email I got?) but I don't think it ever got implemented fully. Is this still the case?

1 Like

we haven't been focused on Sonos of late.

Honestly, I don't think it's a HE issue as this has happened to me on nearly every home automation platform. That's why I think it's something in Sonos's firmware, but I have no way to confirm that, unfortunately.

Can you tell me how loud it will speak the messages on the echo devices? Is it just speaking it at the volume that the echos are set at at the time? How do I use the devicecommands?

@Matthew what happens if more than one person leaves at the same time with your Rule in RM?

If I remember correctly, there are some commands set the level and speak at a preset level and restore the prior level when done. There is a lot of documentation on the github for Echo Speaks and you can see the available commands in the drivers it create for each device. You may need to create RM Custom Commands to use these, that is what I did.

Multiple messages will be generated. It is not a smooth as the old webCore piston, but I don't let 'perfect' prevent 'good'. It also does not have the delay for motion or contact that the webCore piston and HE Welcome Home has. The RM implementation works well for me and does not require any large custom app just for the announcement, so that is what I choose to use.

OK, so I setup an arrival announcement child app to go when someone arrives and either the garage door or front door sensor opens. However, nothing seemed to happen. Where do I need to look to see what is the problem? This was in the logs for the child app:

app:8452019-03-15 06:05:51.876 pm debugAnnounce Arrivals - Presence Sensor is present - Let's go!

app:8452019-03-15 06:05:51.876 pm debugAnnounce Arrivals - IN presenceSensorHandler2 - Presence Sensor = present
app:8452019-03-15 05:57:27.331 pm debugAnnounce Arrivals - null: globalBH1: no - globalBH2: no - globalBH3: no - globalBH4: null - globalBH5: null
app:8452019-03-15 05:57:27.313 pm debugAnnounce Arrivals - In setupNewStuff...Setting up Maps
app:8452019-03-15 05:57:27.273 pm debugAnnounce Arrivals - Updated with settings: [timeHome:4, greeting2:Good Afternoon, delay1:10, greeting1:Good Morning, greeting3:Good Evening, message:%greeting%. Welcome home %name%. %name% %is_are% here.;%greeting%. What’s up %name%. %name% %is_are% joining the party.;%greeting%. Where have you been hiding %name%. %name% %is_are% gracing us with their presence.;%greeting%. Nice to have you back %name%. %name% %is_are% showing up.;%greeting%. What’s cooking %name%. %name% %is_are% blowing in.;%greeting%. It’s been ages since I have seen you %name%. %name% %is_are% in the house! Ooo oooo.;%greeting%. Greetings and salutations %name%. %name% %is_are% joining the party.;%greeting%. Anything I can do for you %name%. %name% %is_are% popping in.;%greeting% I'm at your service %name%. %name% %is_are% dropping anchor.;%greeting%. What’s happening %name%. %name% %is_are% in the house ooo. Oooh.;%greeting%. How’s it hanging %name%. %name% %is_are% crashing the party.;%greeting%. Long time no see %name%. %name% %is_are% appearing.;%greeting%. Look who's home. it's %name%. %name% %is_are% breezing in.;%greeting%. Roll out the red carpet for %name% . %name% %is_are% popping in.;%greeting% %name%.;%greeting%. What’s cookin %name%. %name% %is_are% home.;%greeting%. How are you doing %name%. %name% %is_are% home.;%greeting%. Howdy do %name%. %name% %is_are% in the house.;%greeting% What’s shaking %name%. %name% %is_are% making the scene.;%greeting%. How is everything %name%. %name% %is_are% joining the party.;%greeting%. It's a pleasure to meet you %name%. %name% %is_are% blowing in.;Look what the cat dragged in, it’s %name%. %greeting%., speechMode:Speech Synth, gvDevice:WH Global Variable Device, oRandomG3:false, oRandomG2:false, oRandomG1:false, pause1:false, presenceSensor5a:false, oRandom:true, presenceSensor3a:true, logEnable:true, presenceSensor4a:false, presenceSensor1a:true, triggerMode:Contact_Sensor, presenceSensor2a:true, contactSensor:[Front Door Sensor, Garage Door Sensor], csOpenClosed:Open, presenceSensor1:Jane-webCoRE, presenceSensor2:Tom, presenceSensor3:Lauren, toTime2:2019-03-15T22:00:00.000-0400, fromTime2:2019-03-15T21:00:00.000-0400, speakers:[Echo - Basement Echo Dot, Echo - Living Room Echo Dot, Echo - Upstairs Echo Dot], fromTime:2019-03-15T09:00:00.000-0400, echoSpeaks:true, toTime:2019-03-15T22:00:00.000-0400, volume1:50, volume2:35, oMsgList:true, oG1List:false]

have you installed the global driver and device?

That log looks like it's just what it logs after you 'save' the child app. Would need to see a log of someone coming home and opening a door. Also, screenshots of how you have the app setup always help.