GithubHelp home page GithubHelp logo

Comments (6)

synesthesiam avatar synesthesiam commented on July 30, 2024 1

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.

synesthesiam avatar synesthesiam commented on July 30, 2024

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.

koenvervloesem avatar koenvervloesem commented on July 30, 2024

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.

synesthesiam avatar synesthesiam commented on July 30, 2024

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.

ulno avatar ulno commented on July 30, 2024

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.

synesthesiam avatar synesthesiam commented on July 30, 2024

Should be in the main Docker image now.

from rhasspy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.