[UPDATED] - Message Central - Make your home speak

Guys
Try hitting the 'check for update' button in a child :slight_smile:

Have a play and check if this works for you.. seems to be ok but I haven't tested everything.

Andy

You now have 4 groups of up to 10 phrases in each group ..
If you try and configure 11 it won't work :slight_smile:

Nice, works great for me!

1 Like

Once I’d worked it out for the 1st one it was easy enough to duplicate for the other groups :slight_smile:

Drew
Thank you very much for your generous donation, gratefully received and appreciated! :slight_smile:

Andy

I read this in another thread and came back here because I thought this was worth trying out :slight_smile: I think it is what V12.6.0 change did to add this, right? I want to try to make it work with my Sonos.

You can use MC for this or use ‘check open windows’.

Andy

1 Like

I don’t believe the restrict by switch is working.

I have a MC that is supposed to play a message when the front door is open but it is restricted if Front Door Timer is ‘On’.

When I open the door and front door timer is on... I hear the message. Here are the logs.

[    app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:59.965 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Timer 1 reset - state.timer1 = true - Messages allowed

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:59.840 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Waiting for 0 seconds before resetting timer1 to allow further messages

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:59.837 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - state.msgDelay = 0

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:53.641 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - msg2 is empty so nothing to say..

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:53.639 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Continue... talkswitch. - state.msgNow = twoNow

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:50.589 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Speaker(s) in use: [Living Alexa Sonos, Kitchen Overhead Sonos] - waiting 3 seconds before continuing...

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:50.039 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - No 'quiet time' settings...Multi Volume Not used - setting volume of all speakers to 40 - state.volume = 40

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.556 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - state.multiVolumeSlots = false

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.551 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Calling.. CheckVolume

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.548 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - [Entryway Front Door ] is closed

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.537 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - checkallow complete - state.allAllow = true

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.533 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Time is ok so can continue...

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.521 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Checking for any time restrictions

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.517 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - CheckAllow - Continue - App NOT paused

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:48.512 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Checking for any restrictions...

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.721 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - All OK! - Playing message 1: 'good afternoon. it's 71.42 degrees outside. you look very nice today . '

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.719 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - 2nd Stage Compile (Post weather processing) = good afternoon. it's 71.42 degrees outside. you look very nice today .

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.717 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Running convertWeatherMessage... Converting weather message to English (If weather requested)...

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.716 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - 1st Stage Compile (Pre weather processing) = GOOD AFTERNOON. it's 71.42 degrees outside. you look very nice today .

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.714 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Greeting = GOOD AFTERNOON

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.712 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - timeampm = pm - timehh = 2

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.710 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - timeHH = 2

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.708 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - randomKey1 = 2

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.706 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - MaxRandom1 = 4

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.704 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - msgComp = %greeting%. it's %temp% degrees outside. %group1%.

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.702 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - compileMsg - msg = %greeting%. It's %temp% degrees outside. %group1%.

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.700 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Calling.. CompileMsg

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:47.698 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Continue... talkswitch. - state.msgNow = oneNow

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:44.655 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Speaker(s) in use: [Living Alexa Sonos, Kitchen Overhead Sonos] - waiting 3 seconds before continuing...

    [app:2132](http://192.168.7.201/logs#app2132)2018-12-23 02:48:43.388 pm [debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - No 'quiet time' settings...Multi Volume Not used - setting volume of all speakers to 40 - state.volume = 40

Did you toggle the switch after saving the app?

Hubitat.uk/options.htm

Look at the options for the external switch

Andy

Got it.

So this log means the message will NOT play

pm[debug](http://192.168.7.201/installedapp/configure/2132)ENTRYWAY_FRONT_DOOR (App Version: 13.7.0) - Allow by switch is false

1 Like

Correct.
It needs to say "allow by switch is true' for the app to be allowed to run (if using this restriction)

Andy

Any chance that multiple selection of presence sensors can be allowed to trigger message?

Have a look at 'Presence Central'

No option to use SpeechSynth device with "presence central" :frowning:

No there isn't,
However, I use Presence Central to trigger a virtual presence/switch based on a group action (Using my virtual presence plus device driver - This makes a sensor also a switch)
Then I trigger the message in Message Central with the switch

Has anyone tested this with the new chromecast "speaker" support?

I'm trying... Not having luck though...

Ah - it works, but you have select the message type as "Pushover Message", not speech synthesis. (This is literally my first time using MC)

There is probably an issue with the speech synth side at the moment, someone else reported an issue today.
I’ll have a proper look in the next few days to track down the problem.
Off out to dinner right now :slight_smile:

BTW
If you try it with speech synth can you collect any error logs please?
That way I can trace the problem as this should work with speech synth

Andy

Correct, same one: line 3097 (switchTalkNow).

What's the difference then? Is PushoverMessage sending the text to Pushover servers, and then back to the Chromecast speakers? Whereas Speech Synthesis would actually be synthesized locally on the hub?