Comments (2)
Hi @oziee
I don't think this is a good idea, for multiple reasons.
hermes
in itself is MQTT agnostic, the implementation we use the most is indeed the MQTT one at the moment but we also have an inprocess version for which this doesn't make any sense- I don't want to end up maintaining a generic MQTT client API in this lib, there are already better ones in all the languages we support and adding this here will add some maintenance cost that would be better spent elsewhere
- creating a new connection to the broker is not that expensive: networkwise it is only 2 small packets every few seconds for the pings when nothing is posted on it, which is nothing compared to the rest of the platform (say for example the sound input)
from hermes-protocol.
pity
snippets can't use the hermes mqtt client that is already connected. Snippets receive intent notifications.. but can't send mqtt except specific snips hermes mqtt topics
I hardy see any problem in adding a few lines of code that allow for access to the ffi connected mqtt client to publish -topic-message
from hermes-protocol.
Related Issues (20)
- [Python] RST rendering is broken on pypi HOT 1
- [Python] Missing a wheel for Jetson nano architecture (manylinux1-Aarch64)
- Mac OS X Installation failed HOT 2
- LibException after building from Source (Win10) HOT 1
- Generate models in other languages like C#
- [Python][Packages] Please provide binary wheel for python 3.7 on arm for Raspbian Buster HOT 2
- Feature Request: Ability to stop/loop audio playback
- python injection callback
- allow subscription to hotword detection
- Allow Hermes MQTT client to set a client ID
- Can't install hermes-javascript HOT 1
- 'Continuing a session' from the 'Tutorial' does not work.
- subscribe_session_ended() call results in TypeError: session_ended_handler() takes 2 positional arguments but 3 were given HOT 1
- publish_continue_session() error
- hermes-python segmentation fault with .loop_start() and later .publish_continue_session() HOT 4
- feature request HOT 1
- Add TTS register sound to hermes python
- [Python][doc] Add the link to readthedoc documentation in Pypi
- [Python] Exception when txt="" in publish_continue_session()
- [Python] Registered callbacks are still invoked after disconnecting hermes client.
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 hermes-protocol.