-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker image not updated #3
Comments
@synesthesiam I am really excited about this, since I saw the live stream yesterday :) |
The 1.0.0 version seems to be broken. I pushed an image for 1.4.3: |
@AndreKR how were you able to build it? |
@amrutprabhu The way @synesthesiam structures most of his repositories is like this...
|
@AndreKR thank you for this. That's some excellent information. |
@AndreKR , by any chance were you able to connect the running docker image in Home Assistant via wyoming services? I used the port 10300 to connect and it says there is no service on this endpoint. I built the docker image myself by manually updated the environment variables in the DockerFile to 1.4.3.
When I did not provide the environment variables, it built the image with version 1.0.0 and I was able to connect it to Home Assistant via wyoming services. Any idea if yours worked with 1.4.3? |
@AndreKR I checked your image, and I guess yours is also built with 1.0.0 while for 1.0.0 it is |
Well, with the official image on Docker Hub I got a lot of errors about invalid paths and the training aborted. With the image I built everything works, but I don't have a Delete button either. I will check again. |
You were totally right, I pushed the wrong image. I have updated it. I now have the Delete button and also the new version doesn't crash anymore when there was no speech recognized, so that's progress. |
@AndreKR were you able to connect the service to HA? |
this is my docker compose file
|
Ok figured it out.. I had to add a sample sentence and train it . only then it was available. |
Ok.. I noticed that the docker image for rhasspy speech is completely different from that used in the home assistant addon. The addon docker image is build in HAOS and it has options to include home assistant intents, auto train based on existing sentences. With this one, you basically get a clean image and we have to train everything from scratch. |
This one can also fetch exposed entities and areas from HA. Are you saying the addon can fetch more than that? To connect it to HA you have to give it the token. To do that I mounted a modified run.sh over the original: And inside that file I added two parameters:
|
Yes... the addon does more. It can bring in the existing intents from Home Assistant. SO you don't need to train it from scratch. Also you don't need to modify the run.sh file you can override the entrypoint as I did like this using docker compose.
So I see that the addon has more options and it is built using a different source. The DockerFile for the addon is here: https://github.com/rhasspy/hassio-addons/blob/master/rhasspy-speech/Dockerfile Check the run arguments from the addon here https://github.com/rhasspy/hassio-addons/blob/master/rhasspy-speech/rootfs/etc/s6-overlay/s6-rc.d/rhasspy-speech/run I tried building the addon docker image but I am not able to start it yet.
I haven't pushed the addon image but if you want you can build it with this command
|
I figured out how to run the addon, but for that I had to hardcode the token and change some configs manually in the docker image. @synesthesiam , Is there a reason why the addon is made a bit different from other addons like faster whipser? Is there a reason why its not done the way the faster-whisper addon is done? Wherein docker image is pushed to the public repo and then pulled and run with input params. Is it possible you could tell us? |
I was able to run the addon as an independent docker container by building the image using this docker compose file.
I also had to modify the run file from here: https://github.com/rhasspy/hassio-addons/blob/master/rhasspy-speech/rootfs/etc/s6-overlay/s6-rc.d/rhasspy-speech/run
It would be nice to have the docker image already available publiclicly and then using docker we could pass in these parameters like faster whisper. |
Hey Folks,
The docker image on the docker repository has not been updated.
https://hub.docker.com/r/rhasspy/wyoming-rhasspy-speech/tags
It is currently at 1.0.0 and the latest release is 1.4.3
I am not sure how the build can be automated to update it with every release.
The text was updated successfully, but these errors were encountered: