Well, there is still a little bit of cloud traffic required for each new TTS phrase...
The same thing I did and the only reason I bought the AEOTEC Doorbell 5 (one in detached garage, one in 2nd floor). Note that AEOTEC Doorbell 6 does not allow uploading sound files.
For main living area, I have my Android Tablet, aka Main controller for all smart devices, running Hubitat app and Speaki which will do TTS and speak out the Hubitat notification. Hubitat notification uses Internet Push Message, so it requires Internet. I did try Lannoucer before on another tablet but not on this one.
For those complaining about the quality of the TTS audio, try the Amy voice. I think is the most natural sounding voice. It's got a british accent. I used Ivona Voice with Amy on an Android tablet connected to the whole house audio system before Amazon bought Ivona. It does suck that it's no longer local and requires an internet connection now. I still have the old software and voice files though and got it working on a Raspberry Pi running a version of Android.
One thing interesting that I've noticed is that when you make it speak something really long, the pitch and speed can fluctuate significantly.
Are those TTS audio files on the hub -
a) accessible through the file system
b) readily identifiable / correlated with / named in way you'd know what TTS they represent
c) swap-able as named and correlated with some alternative audio of the same format?
To the best of my knowledge…
No
No
No
pondering Ogiewon's reply-
....so like all my goofin around getting the Sonos to say whatever in testing...is now stored for eternity in my Hubitat ...........Wooonderfulllll
I bet a reset will clean up that mess. Let us know how that works.
I believe it is a circular buffer of a limited size. So, eventually the oldest files will get purged from the system.
Another option is the Zooz S2 siren allows for locally stored wav files on the device itself, then you call that specific file. You must use a computer to transfer the wav files to the device via USB.
In your rule: Chime: Play sound on S2 Siren sound number "#"
You can adjust the volume of the announcement/sound as well.
I used this to create a digitized message
Then converted to proper WAV if necessary. Bit 8, Sample 8Khz, Mono
Once setup, has worked without any issue. I have added and changed a few of the wav files as I refined things.
The S2 doubles as a siren for HSM, if you have/want that need. It has temp & humidity sensors as well. Running off C Batteries, I have announcements regularly and the battery is reporting 95% after 9 months. YMMV.
I'm going to ask a stupid question, but where on hubitat to you select the voice used for TTS? I know I've seen it, but now I can't find it..
Settings -> Hub Details
thank you kind sir..
Can you please help me figure this out? I have LANnoucer on an old android phone, and I have this driver loaded in a virtual device in HE. To test it, it has a place at the top to make it send a beep or siren or text ect to the phone. I can get it to send the beep and siren when I click on them, but that is all. I have not been able to get a text or notification to go through. The logs show the beep and siren test, but when I type things in the text tests boxes nothing appears in the log. The phone appears to have TTS activated and working. Maybe I am inputting it wrong or something?? Any ideas are appreciated.
Hmmm...it should just work as long as it has a connection to the phone. Did you use the version I pasted in this thread? This version has fixes for "spaces" embedded in the text string where it the ones in other locations doesn't handle spaces. Ran a test myself this morning and this is how it looked for me:
I think what was wrong is that I put values in for volume and voice name. When I leave those out and only put a string in text box it works and the phone says the string. However still not able to send a notification. I reloaded the driver you had above and have the same results. The voice was what I really wanted though, so that is good and thanks to your answer it works. Thanks.
Voice and volume don't work you have to control that manually on the Android device. I use the alarm types and the voice to text only here never tried anything else since I wanted local TTS.
Does the android phone have to have access to the internet to work? Can I block it in my router and let it just be on the LAN? I'm not sure how it makes the speech, maybe it sends out some where for it and so it might not work if blocked??
I have mine fully blocked by my router and it does TTS just fine. The TTS engine is built into Android.
Thanks! I have two LANnoucers set up and running now, and they work great.