Thanks for the reply. Ill try that on my fire tablet and see if i can get further.
As far as stability with the Lenovo TSV devices. Any tips or tricks? Mine seem to lose satellites and then nothing works. Unsure whats going on. Also the termux:boot apk doesnt seem to restart the service on the devices after rebooting. Unsure whats going on there. Would really love an enterprising android dev to hammer out a solid/stable wyoming apk or something similar to hassmic (GitHub - jeffc/hassmic: An application for Home Assistant that allows you to use an android device as a voice assist satellite) which i was hopeful for but also has instability issues. Could very well be the TSVs themselves but i have no idea how to tell.
Also, i get wakeword to trigger but then it just freezes at DEBUG:root:Unmuted microphone
Does anyone see a lot of âServer disconnectedâ logs? Are they talking about HA or are they talking about wyoming-satellite trying to connect to openwakeword? âConnected to server, waiting for wake word, loading alexa_v0.1, ping enabled, server disconnectedâ Seems like its openwakeword that is the problem?? This is on a fire hd 10. It works when it first starts up, but then stops after a while. Same goes with my TSVs but i havent looked at the logs for them to see if theyâre similar.
Hello after some time. I tried both versions of wake word service. The udocker one and the installation from your script. I preferer your version because itâs native. It works well on my old phone with custom rom and Android 13. But my target device is NS Panel pro, which is powered by Android 8.
My issue is that, the sound recording doesnât work well. The ouptut sounds like its 10x faster than original. I tried multiple commands like rec or parec. All od them ends the same. The only command, which works is the termux-microphone-record. But itâs not useful for the satellite. I also tried the version of pulse audio mentioned in this thread. Nothing changes. Went anyone of you to the same situation and were able to handle it?
For the record. I even tried the hass mic intgration. It works. But only from small distance and it doesnât have the mic gain option. So it has potentional, but itâs not useful yet.
If the output is played faster or slower than itâs supposed to then the player is probably assuming a different sample rate than the recorder used. E. g. a raw audio file recorded at 22050 Hz and played at 44100 Hz will play at 2x speed. So make sure to use the appropriate flags to explicity set the recording and playback sample rate.
No root should be required to run Wyoming Satellite or OpenWakeword.
If it canât find python in that directory then something went wrong during the installation where the venv is generated. Maybe try reinstalling.
My screen is stuck at "(It might ask you for mic access now. Select âAlways Allowâ.) but nothing else happens. Has anyone else experienced this and been able to get around it???
So couple of things I learned as I finally got it working, these must be done before installation:
You need to give termux microphone access, its disabled by default
You should run âtermux-setup-storageâ and give all file access
Reboot
Install Wyoming then reboot the tablet.
After reboot launch termux and tail the log file (itâs in the directory your dropped into be default) - it will give provide you with valuable information. This is how I was able to figure it out.
I just thought Iâd come here to add, Iâve made a fork of this fantastic work that @randomuser123 has done, Iâm currently testing it out primarily for the view assist project (but really it should work on any Android device). It features:
Next plans will be to add an implementation of microwakeword for very low power devices (although Iâve had openwakeword working great so far).
None of this would have been possible without the work that @randomuser123 has done to get Wyoming even running in Termux in the first place. So big shout out!
I just tried an install using your script and installer. However I encounter an issue of; fail: wyoming-eventsL unable to change to service directory: file does not exist.
Iâd have created an issue on the repository, but it doesnât have Issues enabled.
Yes, you are correct, I dropped the merged branch a little while ago. Have updated the comment.
There are some errors that are shown if youâve never installed before. Providing it completes successfully at the end they can be ignored for the most part. It raises some errors around microphones at some point if they canât be found, but I think they are pretty quiet.
I was confused why the wake word selection of âAlexaâ did not work. However I found in wyoming.conf that it has repeated variables in there, so it was listening for âOk Nabuâ.
I believe this is from subsequent calls to --configure which I guess have just appended to the config file.