[DEPRECIATED] Welcome Home


#203

Is this the HE Mode Manager or Cobra's Mode Plus app?


#204

HE built in Mode Manager


#205

Hey @bptworld,

I tried following everything to a tee but getting a, No announcement needed message

Here is what I have done so far
Installed Parent code
Installed Child code
Install Global Variables Driver code
Created a new Virtual Device and assigned it the new GVD code
Create a new Virtual Door lock
From the Parent app, applied my wife's presence sensor to a friendly name
Created a new WH child app using a motion sensor as the trigger, using my wife's presence
Once I flip the Virtual door lock, I see the following in the live log but no announcement

Settings page




What am I doing wrong?
Rick


#206

Hi,
Fom everything you wrote, the child app you created is based on motion and has nothing to do with a lock. If you want it to trigger off of the lock, you would have to use the lock as the trigger not a motion sensor.

So in this case, when the motion was was activated @ 9:05 it checked to see how long Tammy's presence sensor has been home, which was 377 minutes. Therefor 'No announcement needed'.

When looking at the log, only items that say 'app: 1471' has to do with WH. Everything else is irrelevant.


#207

Thanks for the reply. It was late and while I do want it triggered off of motion, I wasn't properly activating her arrival

It's working as designed now that I got my house in order, sorry about that :slight_smile:

Rick


#208

Hey @bptworld,

One more question, any chance to get volume working with Echo devices? When I select Music player, I get this error

I know @Cobra is working on it as well for his Message Central app

Thanks in advance
Rick


#209

Echo devices have been working just fine with WH. Added that code back in V1.1.3 - 01/24/19.

Line 672 is for 'Echo Speaks' devices. Are you using the Echo Speaks App? If you are just using Echo devices but NOT the echo speaks app, don't turn that switch on.


#210

V2.0.3 - 03/20/19 - Changed the wording on whether to turn the option for 'Echo Speaks' on or off.


#211

I've tried it both ways, not working for me currently

Rick


#212

Ok but you didn't answer the question... are you using this speaker with the Echo Speaks App?


#213

No I am not using the Echo Speaks App

Rick


#214

Thanks, then for echo devices I believe you should be selecting the 'Music player' option and leaving the 'echo speaks' off.

This should fix the error for you.


#215

With this config, I still get an error on line 708, setlevel not supported


Rick


#216

I am using Echo Speaks but it seems that the volume of my Echos does not restore to what the volume was before it spoke.


#217

At some point I'll set up my 1 echo device and test again.


#218

Sorry I'm late to the party on this, but do you put all these in one statement or are these individual ones from say 1 - 10.

EDIT: Forget that. Found it. :blush:


#219

I'm having trouble getting this app to speak. I am a new convert from ST and have my Google Home mini and chromecast setup with Hubitat. I can get them to speak from the device page and with rule machine but can not get anything from Welcome Home. Here is the log from the app when testing with virtual contact and presence devices.

2019-03-21 07:24:58.387 pm infoWelcome home Front Door - Tester - No announcement needed. Time Diff = 240

app:142019-03-21 07:24:58.329 pm debugWelcome home Front Door - getTimeDiff4 - getTimeDiff4 - timeDiff: 240

app:142019-03-21 07:24:58.326 pm debugWelcome home Front Door - getTimeDiff4 - lastActivity: 2019-03-21 23:24:47.918

app:142019-03-21 07:24:58.322 pm debugWelcome home Front Door - getTimeDiff4 - Global Been Here: no

app:142019-03-21 07:24:58.319 pm debugWelcome home Front Door - getTimeDiff4 - Presence Sensor Status - 4: present

app:142019-03-21 07:24:58.293 pm debugWelcome home Front Door - In getTimeDiff4...

app:142019-03-21 07:24:58.249 pm debugWelcome home Front Door - Presence Sensor: not present - No announcement needed.

app:142019-03-21 07:24:58.243 pm debugWelcome home Front Door - Global Been Here: no

app:142019-03-21 07:24:58.237 pm debugWelcome home Front Door - Presence Sensor Status - 3: not present

app:142019-03-21 07:24:58.218 pm debugWelcome home Front Door - In getTimeDiff3...

app:142019-03-21 07:24:58.211 pm infoWelcome home Front Door - Erin - No announcement needed. Time Diff = 144

app:142019-03-21 07:24:58.132 pm debugWelcome home Front Door - timeDiff: 144

app:142019-03-21 07:24:58.121 pm debugWelcome home Front Door - lastActivity: 2019-03-21 21:49:09.545

app:142019-03-21 07:24:58.117 pm debugWelcome home Front Door - Global Been Here: no

app:142019-03-21 07:24:58.114 pm debugWelcome home Front Door - Presence Sensor Status - 2: present

app:142019-03-21 07:24:58.091 pm debugWelcome home Front Door - In getTimeDiff2...

app:142019-03-21 07:24:57.993 pm debugWelcome home Front Door - Presence Sensor: not present - No announcement needed.

app:142019-03-21 07:24:57.989 pm debugWelcome home Front Door - Global Been Here: no

app:142019-03-21 07:24:57.986 pm debugWelcome home Front Door - Presence Sensor Status - 1: not present

app:142019-03-21 07:24:57.966 pm debugWelcome home Front Door - In getTimeDiff1...

app:142019-03-21 07:24:57.963 pm debugWelcome home Front Door - In contactSensorHandler...canSpeak: no

app:142019-03-21 07:24:57.959 pm debugWelcome home Front Door - In contactSensorHandler...Pause: false

app:142019-03-21 07:24:57.955 pm debugWelcome home Front Door - Continue - App NOT paused

app:142019-03-21 07:24:57.952 pm debugWelcome home Front Door - contact Status: = open

app:142019-03-21 07:24:48.004 pm debugWelcome home Front Door - Presence Sensor is present - Let's go!

app:142019-03-21 07:24:47.998 pm debugWelcome home Front Door - IN presenceSensorHandler4 - Presence Sensor = present


#220

Hi and Welcome to Hubitat!

I'll need a more complete debug log to look at. Also if you can take some screenshots of how you setup the app.

Thanks


#221

New version on Github...

V2.0.4 - 03/22/19 - Added a new option: restoreVolume for Echo Speaks devices

For devices using 'echo Speaks', there is a new field to tell the device what level to restore to after speech. Previously it would just stay at the level of the speech.

Although it can't change it back to what it was before the speech (it has no way of knowing what it was), at least it will go back to your 'favorite' listening level.


#222

New version on Github...

V2.0.5 - 04/06/19 - Added importUrl. Volume Control overhaul. Code cleanup.