The āvoiceā option uses musicPlayer not speechSynthesis which it why the device would not be available to select.
Iām sorry Mark but for me to make speechSynth work for voice would be a major rewrite which I donāt have time for at the moment.
I would have to rewrite the output from every trigger.
Iām not sure if the variables work with the pushover section... (canāt remember without checking the code) probably, but if it doesnāt that shouldnāt be too difficult to implement.
I just have to call my ācompileā routine before sending
I couldnāt remember, I wrote the original on ST a long time ago
I just had a quick look at the code and yes Iām using speechSynthesis for the PushOver option.
@ogiewon Dan, is there something on top of this that needs to be added for your Assistant Relay driver?
What other options have you implemented other than priority?
The Pushover Driver implements many features of the Pushover API thanks to @stephackās contributions.
The Google Assistant Relay Driver implements the Custom Command and Custom Command with Converse as special features using the [CC] and [CCC] as prefixes to the string being sent to the Assistant-Relay NodeJS server.
Yes, but these are not used for typical TTS output. They are used to issue a unique command to Google, the same as if you asked the Google Home to do something. Is that really how your App is intended to be used? I see CC and CCC more as special tools to be used via Rule Machine.
Is message priority used with the google home assistant driver?
The reason I ask is I think it would be easy enough to duplicate the pushover commands in my app and create a āpush to google home assistant... ā output section.
No, message priority is a feature of the Pushover official API. The assistant-relay Driver is really just used to broadcast TTS on all Google Home devices in your house.
OK
I have completed a major recode to allow options for Speech Synthesis
I have not had a chance to try all the options but try this and please let me know if you find any bugs etc.
Updated child app: Version 11.0.0
One thing to note:
For anyone who has been using this with the 'musicPlayer' capability
You will need to open each child and select "Voice Message (MusicPlayer)" as the old "Voice Message" is no longer valid.
Once selected the previous settings should reappear so you can then just save the child again.
I have also added a number of 'weather' variables.
The following variables have been added:
%wsum% - Replaced with a weather summary
%high% - Replaced with a 'Forecast High'
%low% - Replaced with a 'Forecast Low
%hum% - Replaced with a 'Humidity'
%wnow% - Replaced with 'Weather Now'
%rain% - Replaced with 'Chance of Rain'
%vis% - Replaced with 'Visibility'
%wgust% - Replaced with 'Wind Gust'
%wspeed% - Replaced with 'Wind Speed'
%wdir% - Replaced with 'Wind Direction'
%feel% - Replaced with 'FeelsLike'
%temp% - Replaced with 'Temperature'
You will need the appropriate 'weather device' for these to work.
As an example, here is the message I use for a daily weather (using the weewx driver)
%greeting% , Here is your weather for today,,, %wnow%,, With a high of %high% degrees ,, and a low of %low% degrees. , Temperature is currently, %temp% degrees. and it feels like %feel% . Humidity is currently, %hum% % . Wind, is from the %wdir% at %wspeed% mph, with gusts up to %wgust%. Visibility is around %vis% miles. , and,, There is a %rain% % chance of rain today
You might notice I use a comma (,) as a slight pause at various times
@Matthew
You are correct.
Obviously when I was copy/pasting I must have missed the āifā
Iāll get it corrected in the morning and check the rest of the code for other missing bits