[UPDATED] - Message Central - Make your home speak

community_app

#244

To quote myself...

That’s what I was thinking


#245

Would be nice to add pauses too.


#246

There is a typo in the child app. Should be 31 instead.


#247

You are right!
Thank’s for spotting this.

I’ll correct it in the next release.
(At least I’ve got until 31st to fix it :slight_smile:)

Andy


#248

I have to ask... did you read all 3248 lines to find it :slight_smile:


#249

Just browsing around :slight_smile:


#250

The only ‘pause’ that works with ‘Polly’ TTS is a comma (,)
You can use multiple commas but I’m not sure that really extends the pause too much.

I suppose I might be able to configure a ‘wait’ but that would stop the app running for the configured number of seconds and I’m always reluctant to do that for fear of something going wrong.
I’ll have a look to see what I can do if I implement this.

Andy


#251

Interestingly (or not)

It's line 3620 on my version :slight_smile:
400 lines of extra code.. (or lot of white space :slight_smile:)

Fixed, ready for the next release.. Thanks for finding that

Andy


#252

Already done!
(And tested with Pushover - can't make the house speak at this time of night)

Ready for the next release..

No 'pause' yet though.. I'll have to think about that one (not sure if I will do it to be honest)

Andy


#253

New version uploaded
Parent: 2.2.0
Child: 12.7.1

Parent Updates:
Added to 'Cobra Apps' Container
https://community.hubitat.com/t/release-cobra-apps-container/4962?u=cobra

Child Updates:

  • V12.7.1 - Edited variables help page to show new variables available
  • V12.7.0 - Added app pause switch
  • V12.6.0 - Added a bunch of new variables so you can report on light & switch state
  • V12.5.1 - Change the way %rain% is spoken - If 0% then: 'Rain is not expected today" - If n% then 'There is a n% chance of rain today
  • V12.5.0 - Added an optional, configurable 'prefix' input for weather alerts - "Message to play before weather alert (optional)"

Andy


#255

I just noticed something this morning during the weather forecast. The wind direction announcement is ENE instead of East North East. I remember seeing the code to replace ENE with East North East in your app so maybe it's not working?


#256

Thanks for the report, I'll have a look.

Andy


#257

@DeveloperDavidB @aaron

A teaser of something I'm working on...

image

a second picture...

image

Andy


#258

Oh WOW!! Thank you!! I was keeping my fingers crossed! I had a feeling that once mentioned, you would start working it through in your head and wan't to give it a try! Thanks again!


#259

Hahah
Don’t thank me until I make it work..
The big problem is duplicating everything for the ‘quiet time’ volume settings

Andy


#260

Would it be possible to add to the power option? With switches there is an option to speak a message when a switch is on and off. Could you set something up where a message could be spoken if the power drops and rises above a threshold?


#261

@homeauto2112
Where would you use this?

Andy


#262

@cuboy29
I looked at this issue this morning.
You need to make sure a space is before the %windDir% variable.
This is because if I remove the configured spaces in the 'match' then it will pick up on other words and try to replace part of them
e.g and word ending in 'ene' would have the 'ene' replaced with east northeast
so I needed to separate it with spaces
If there is a space before then it will speak correctly (at least it did when I tried it :slight_smile:)

Andy


#263

This is the string I am playing with.

Good Morning, today is %day% %date%. The current time is %time%. Here is the weather for today. %wsum%. Have a wonderful day.


#264

OK..
which weather device driver are you using?