[UPDATED] - Message Central - Make your home speak

I have used it’s a few times and that works ok

I would try it’ and ’it’ to see if that works

I haven’t tried either though so don’t know if they would work

Andy

it's works.

it; it' and 'it' all say EYE TEE

ette is the closest I have found to sounds like "it".

1 Like

@bjcowles
I've just realised who you are
Thank you very much for your donation :slight_smile:
Andy

1 Like

Update: 05/09/2018

I have added a new 'feature' of the number of selectable random messages you can have in each group
I have also increased the groups to 4

A big 'Thank You!' to @matthew for his creative work on the code for number of random phrases.
Without him, you would not have this feature!

Child Version: 12.0.0

Andy

3 Likes

@Cobra

Can you add HSM change notifications? Such as:

Home is armed in stay mode.
Home is armed in away mode.
Home is now disarmed.

How do you add a weather notification. I was seeing some examples of wind gusts but I do not see that as a trigger in the app.

@aaron
I’m working on various additions at the moment and will look at adding this to the ‘feature’ list

As for weather, you can use any trigger.
I use a timed trigger at 10:15 am every day to read my weather.

If you need a weather trigger then look at Weather Switch to turn on a switch then you could use MC to announce it if you wanted.

Andy

Can you add these mp3 preset? These came from the old ST notify smartapp. I like the dog barking mp3 sound to play when motion is detected at my front door.

	case "Bell 1":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/bell1.mp3", duration: "10"]
		break;
	case "Bell 2":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/bell2.mp3", duration: "10"]
		break;
	case "Dogs Barking":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/dogs.mp3", duration: "10"]
		break;
	case "Fire Alarm":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/alarm.mp3", duration: "17"]
		break;
	case "The mail has arrived":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/the+mail+has+arrived.mp3", duration: "1"]
		break;
	case "A door opened":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/a+door+opened.mp3", duration: "1"]
		break;
	case "There is motion":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/there+is+motion.mp3", duration: "1"]
		break;
	case "Smartthings detected a flood":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/smartthings+detected+a+flood.mp3", duration: "2"]
		break;
	case "Smartthings detected smoke":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/smartthings+detected+smoke.mp3", duration: "1"]
		break;
	case "Someone is arriving":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/someone+is+arriving.mp3", duration: "1"]
		break;
	case "Piano":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/piano2.mp3", duration: "10"]
		break;
	case "Lightsaber":
		state.sound = [uri: "http://s3.amazonaws.com/smartapp-media/sonos/lightsaber.mp3", duration: "10"]

When I’ve fixed it, you will be able to play an mp3 from any uri, so would be able to configure the dog bark to react to motion at the front door.
To make these a hard coded preset would take a lot of code for very little return.

Andy

Hey @Cobra

I installed both parent/child app, saved it and created a child app

When configuring it, I can't seem to figure out how to select my Echo to play a message as noted in Msg 59 above. What am I missing?

Rick

If you are using the google assistant relay then it is classed as a speechsynth device so you would need to select that. (Voice - speechsynth)
The amazon echo device is not natively supported for TTS

Andy

Thanks Cobra

If the Relay Server (RPI...) is required then that is over my head

Rick

I am getting this error. Any ideas?

app:19142018-09-18 07:45:01.769:errorgroovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#multiply.

app:19142018-09-18 07:45:01.729:debugIT'S_TIME_TO_GO_TO_SCHOOL (Childapp Version: 12.0.0) - msgDelay = null

Also getting this with sonos.

dev:11062018-09-18 08:44:43.013:errorgroovy.lang.MissingMethodException: No signature of method: sonosDriver.playTrack() is applicable for argument types: (java.lang.String, java.lang.String, null) values: [http://s3.amazonaws.com/smartapp-media/sonos/dogs.mp3, 10, null] Possible solutions: playTrack(java.lang.String), playTrack(java.lang.String, java.lang.Object), playTrack(java.util.Map), nextTrack() (playTrack)

Same error as @cuboy29 using a similar rule, only started happening after 1.14 update.

I’m sorry guys,
I believe this may be a platform issue

@mike.maxwell
Mike did something happen to the methods?

Andy

no

1 Like

Ok Thanks Mike.

Guys I’ll have a little dig around and see of I can find something.

@cuboy29 as you have a sonos can you try setting the message to music player please and trying again?

@halfrican.ak, Mark, is yours set to speechsynth or music player?

Andy

Speech synthesis

And is yours a time trigger as well?

Yes it was, the rule is virtually identical.