Comments (6)
I got this working this morning for the wake/text/intent websocket messages. The base station will now check the satellite site ids for the respective wake/ASR/NLU system and forward those events to the base websocket clients.
This seems to be a problem only with MQTT base/satellite set ups. Using remote HTTP works because the base handles all the requests as if they were its own.
from rhasspy.
Pushing a new Docker image with a fix for the missing siteId. Added in the sessionId, customData, and wakewordId for good measure.
The master/satellite issue needs some more thought. The easy fix is to have the master web server automatically listen for siteIds from all satellites. Is there ever a case where a user would not want to do this?
from rhasspy.
I'm not sure about all possible cases (Rhasspy allows a lot ;-)), but the most common case seems to be that the master does intent recognition and the satellites are just audio receivers and players with wake word recognition. So at least for that case, I would expect that listening to the ws://rhasspy:12101/api/events/intent
WebSocket URL on the master will also get me the intents originating from sentences spoken on the satellites.
I can't find a case where this behaviour is not wanted. But maybe I'm thinking about this with my MQTT hat on, which I'm much more accustomed to than WebSockets. Maybe @ulno has more experience with this?
from rhasspy.
I'll plan to add it in for now. We just need to be extra careful about which messages the master web server responds to. Me forgetting small things tends to lead to some service duplicating a response :/
from rhasspy.
tried a new version today in venv and still had no siteId - i am now using change nodes in Node-Red and remember the siteid myself based on teh websocket I am listening to.
from rhasspy.
Should be in the main Docker image now.
from rhasspy.
Related Issues (20)
- Add a noise reduction system to Rhasspy and eliminate extraneous sounds HOT 6
- Picovoice/porcupine - react demo not working
- Extension request for oobabooga web UI
- Issue with my localhost:12101
- Aplay error after upgrade to home assistant 2023.6.1 HOT 1
- curl (22) the requested url returned error 404 HOT 3
- libgfortran4 no longer available via apt for Raspberry Pi OS HOT 1
- AsrException: 'str' object has no attribute 'get' HOT 1
- wyoming-piper cuda
- MacOS Build HOT 1
- No Audio Response from HA in 2.5.11 HOT 6
- When TTS is set to remote http the AudioPlayFinished come to early
- Chromebook offline
- ./configure fails on MacBook: error: ATLAS is required for Kaldi
- How to change the sound effect files? HOT 1
- Snowboy link broken in docs
- Intent using open transcription as slot state
- Different event messages based on intent recognized or not?
- aplay rhasspy problem HOT 1
- HTTP API /api/text-to-speech ignores voice parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhasspy.