Wondering if anyone has some advice for me. I'm running Linux HS3 (3.0.0.500) on Ubuntu 18.04.2. I've been using VoiceRSS web service for speech (it's the last script referenced in this thread https://forums.homeseer.com/forum/ho...linux?t=175012). It's been working great. But now, I can't get anything.
The script replaces the contents of the "Speak_to_file.sh". The magic line of the script is this.
mpg123 -w $1 -q "http://api.voicerss.org/?key=myapikey&f=48khz_8bit_stereo&hl=en-gb&src=$NEXTURL"
and something like this always shows up in the HS3 log
Manually issuing the web service call correctly generates the wav file. So, I know VoiceRSS is still good. (ie http://api.voicerss.org/?key=Your_API_Key&f=48khz_8bit_stereo&hl=en-gb&src="Hello, I am dog. I am hungry. please feed me."
mpg123 seems to work fine at the command line (ie no errors), but still no output.
I put speak_to_file.sh back to the original. It uses flite. And that works fine. So, it would seem it's an issue with mpg123. I did the obvious "apt remove mpg123", and then "apt install mpg123". No luck
I'm not sure what to do next. Any ideas?
David Lover
HomeSeer 3.0.0.500
Linux Ubuntu 18.04.2
The script replaces the contents of the "Speak_to_file.sh". The magic line of the script is this.
mpg123 -w $1 -q "http://api.voicerss.org/?key=myapikey&f=48khz_8bit_stereo&hl=en-gb&src=$NEXTURL"
and something like this always shows up in the HS3 log
Feb-28 6:16:01 PM | Warning | Wave file not found when speaking, file: /usr/local/HomeSeer/wave_files/8speak_temphst.wav |
Feb-28 6:16:01 PM | Warning | Wave file not found when speaking, file: /usr/local/HomeSeer/wave_files/7speak_temphst.wav |
Feb-28 6:16:00 PM | Warning | Wave file not found when speaking, file: /usr/local/HomeSeer/wave_files/6speak_temphst.wav |
Feb-28 6:16:00 PM | TTS | Speak: ():Hello, I am dog. I am hungry. please feed me. |
Feb-28 6:16:00 PM | Device Control | Device: 1: Kitchen Virtual Feed Hershel Status to Feed Hershel! (100) |
Feb-28 6:16:00 PM | Event | Event Trigger "Recurring Feed Hershel PM" |
mpg123 seems to work fine at the command line (ie no errors), but still no output.
I put speak_to_file.sh back to the original. It uses flite. And that works fine. So, it would seem it's an issue with mpg123. I did the obvious "apt remove mpg123", and then "apt install mpg123". No luck
I'm not sure what to do next. Any ideas?
David Lover
HomeSeer 3.0.0.500
Linux Ubuntu 18.04.2
Comment