Or at least, I've found a fun way of sending HTML commands to an Android service that converts text to speech.
A great Android app developer has kindly built a background service app that secures a port and listens for simple http commands.
The app is called "Web TTS" and can be found here - https://play.google.com/store/apps/details?id=webtts.alexkenion.apps.webtexttospeech
The usage instructions can be found in the help section and are pretty clear.
Once the background service is running, all you need is the IP address or host name of the Android device to build a command in OpenRemote.
Something simple like this :-
http://My_Android:4000/?say=Hello World
Or if you want to play a tone :-
http://My_Android:4000/?play=tone.mp3&vol=0.75
(Assuming that there is a file called tone.mp3 in your selected folder)
The app can even read out in different languages by adding the relevant language code.
For example, if your default language is set to English US, the following command will force the speech to be UK English
http://My_Android:4000/?say=Hello World&l ang=en-uk
It doesn't translate, but if you want a different accent it can be fun.
English read with a Dutch accent sounds very good.
http://My_Android:4000/?say=Hello World&l ang=nl&vol=1
There is a PIN feature if you'd like a little security.
I have a couple of rules working in OpenRemote that do there following :-
One rule monitors my doorbell button and sends a command to each of our phones to play the same doorbell MP3 file that has been loaded into the doorbell.
So that as long as we are connected to the WiFi, we'll never miss an important delivery.
Another simply sends a command to say that a heating mode has changed.
I'm working on a rule that is based on the LAN presence tutorial so that when any of us return home, we can be greated with a personalised message that tells us the thermostat mode of the house, the current temperature, how many messages on the voicemail and anything else we dream up
I'm doing this as a precursor to 2 assisted living projects MDAR is involved with.
It would be nice for these two clients to be able to get spoken feedback about their properties, either on demand or when sensors get triggered.
For example I've noticed that my washing machine has a single LED that lights when the machine is active and goes out when its finished, so it shouldn't be too hard to pick that up and trigger a command to announce when the machine completes a cycle.
I'm sure there are hundreds of other uses
I haven't tried it yet, but I'm fairly sure that a clever use of the $param feature in a command could enable a rule to send out constructed messages.
Alex is very approachable, but I'm quite happy to help if needed.
Good luck,
Stuart