home-assistant.io icon indicating copy to clipboard operation
home-assistant.io copied to clipboard

Host for wyoming protocol?

Open drurywoodson opened this issue 2 years ago • 12 comments

Feedback

The documentation page is completely useless for a noob. I am trying to add Piper and Whisper and it keeps trying to add the Wyoming protocol. It asks for a host and port and I have no idea what to put in there. I tried using the IP for my home assistant server and a port of 10200 that I saw in some other github comment and it just says it can't connect. The documentation just says "Follow the instructions on the screen to complete setup." This is useless. There are no meaningful instructions on the screen. I am running HA as an app on TrueNAS scale. I was able to get an integration going for my LG TV, so I guess I am not completely hopeless.

URL

https://www.home-assistant.io/integrations/wyoming/

Version

2023.8.4

Additional information

No response

drurywoodson avatar Sep 03 '23 04:09 drurywoodson

Hey there @balloob, @synesthesiam, mind taking a look at this feedback as it has been labeled with an integration (wyoming) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of wyoming can trigger bot actions by commenting:

  • @home-assistant close Closes the feedback.
  • @home-assistant rename Awesome new title Renames the feedback.
  • @home-assistant reopen Reopen the feedback.
  • @home-assistant unassign wyoming Removes the current integration label and assignees on the feedback, add the integration domain after the command.

home-assistant[bot] avatar Sep 03 '23 04:09 home-assistant[bot]

The documentation is intended for Home Assistant OS with Piper/Whisper as add-ons. For more advanced use cases, you will need to run the Docker images: https://github.com/rhasspy/wyoming-addons

synesthesiam avatar Sep 05 '23 14:09 synesthesiam

@synesthesiam I have deployed the container images for both Piper and Whisper, but Home Assistant does not allow me to set up those integrations before setting up the Wyoming Protocol integration, and I still don't understand what value I need to insert in the Wyoming protocol screen shown below:

Screenshot 2023-09-13 at 3 06 57 PM

gsaslis avatar Sep 13 '23 12:09 gsaslis

Following up on this:

The instructions in https://github.com/home-assistant/home-assistant.io/issues/27252#issuecomment-1534641592 solved this issue for me.

gsaslis avatar Sep 13 '23 15:09 gsaslis

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 12 '23 16:11 github-actions[bot]

Have the same issue, but nothing helped me, not even the suggested points.

MichT368 avatar Nov 12 '23 17:11 MichT368

I found out, that, if you install piper as a single and you want to activate the add-on as that, you run into showing up the Wyoming Protocol pop-up. If you have both, piper and whisper integration installed AND started, then both integrations show up under /config/integrations/dashboard and if you configure them both after another, they show up under a single integration called "wyoming" without any pop-up asking for IP and port. That's the whole magic.

MichT368 avatar Nov 12 '23 18:11 MichT368

I found out, that, if you install piper as a single and you want to activate the add-on as that, you run into showing up the Wyoming Protocol pop-up. If you have both, piper and whisper integration installed AND started, then both integrations show up under /config/integrations/dashboard and if you configure them both after another, they show up under a single integration called "wyoming" without any pop-up asking for IP and port. That's the whole magic.

Unfortunately, that doesn't work for me. Even if I want to install Piper or Whisper on my own, I am asked for host and port.

wpfog avatar Nov 14 '23 12:11 wpfog

I ran into this issue and found out I was trying to add the integration without installing the add-on of the same names first. The documentation clearly says add-on but since the piper and whisper were showing up under integration I guess I subconsciously thought that meant the add-on was installed. When I installed the add-ons first everything just worked with no prompt for a host and port to use when configuring the integration.

In hindsight it makes sense that the piper and whisper are services that must be run somewhere so if you want to run it on the same systems as HA that an add-on would be required. It would be nice if the integration pop-up had a helpful hint to install the add-ons first or even better an option to install the add-ons for you.

I now know better but I still think this is confusing.

qfire avatar Nov 22 '23 17:11 qfire

Wyoming integration installed, whisper add-on installed, piper add-on installed.. The piper add-on is showing under wyoming integrations, but cannot get the whisper add-on to show up in integrations. Shows piper and whisper running and registered in the addon log. Running the vmware image.

WeStartThen avatar Nov 27 '23 15:11 WeStartThen

While trying to connect with deployed containers of Piper and Whisper, I tried the following in home assistant Wyoming protocol after clicking on integration and blank host and port appeared:

  1. Host : machine's IP address (the one shown in my Ubuntu settings IPV4 network - not the gateway)
  2. Host: Address provided by docker 172.19.... after deployment in portainer. (Note: Portainer log says it's ready, no error is shown)
  3. Host: IP Address of network shown inside the container (not gateway)
  4. Host: Added bridge network in container inside Portainer and even tried that new bridge IP address as a host.
  5. Host: Added Network_While trying to connect with deployed containers of Piper and Whisper, I tried the following in home assistant Wyoming protocol after clicking on integration and blank host and port appeared:
  6. Host : machine's IP address (the one shown in my Ubuntu settings IPV4 network - not the gateway)
  7. Host: Address provided by docker 172.19.... after deployment in portainer. (Note: Portainer log says it's ready, no error is shown)
  8. Host: IP Address of network shown inside the container (not gateway)
  9. Host: Added bridge network in container inside Portainer and even tried that new bridge IP address as a host.
  10. Host: Added Network_mode: host to my Stack file, deployed successfully in portainer and tried with the machine's IP address again.

Port I tried was 10200 for maximum attempts. Also, 10300 for few attempts as these are my specified ports for Piper and Whisper in my docker compose (i.e. stack).

Nothing worked 😕.. Can anyone help?mode: host to my Stack file, deployed successfully in portainer and tried with the machine's IP address again.

Port I tried was 10200 for maximum attempts. Also, 10300 for few attempts as these are my specified ports for Piper and Whisper in my docker compose (i.e. stack).

Nothing worked 😕.. Can anyone help?

smartlifedecors avatar Apr 09 '24 12:04 smartlifedecors

I ran into the same issue:

  • Whisper, Piper and openWakeWord add-ons all installed and running.
  • No automatic detection of the Wyoming integration; adding it manually leads to the pop-up with the undocumented Host and Port fields.
  • The only thing that worked for me was, after making sure that all three addons had Restart on boot ticket, rebooting my Home Assistant system (Settings --> System --> Restart Home Assistant). When it came back up, the integrations were being automatically detected and there was no popup asking for host and port details.

I've opened a PR recommending an update to the documentation to add a note saying to restart Home Assistant if the integration isn't automatically being detected.

hedsnz avatar Apr 17 '24 07:04 hedsnz