Skip to content
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

Sensorethings via MQTT with existing MQTT Connection #389

Open
juergen-albert opened this issue Apr 23, 2024 · 3 comments
Open

Sensorethings via MQTT with existing MQTT Connection #389

juergen-albert opened this issue Apr 23, 2024 · 3 comments

Comments

@juergen-albert
Copy link
Contributor

Currently the MQTT addon for Sensorethings starts it own MQTT Server. This is convenient, but we should also provide a Version, that can use an existing MQTT Server.

@timothyjward
Copy link
Contributor

Currently the MQTT addon for Sensorethings starts it own MQTT Server. This is convenient, but we should also provide a Version, that can use an existing MQTT Server.

This is not possible. The entire specification is predicated on being able to see which topics a listener is registered to. This is not possible as part of the MQTT standards, and requires a provider-specific hook in implementations which do support it. In the case of Moquette this is a callback interface registered with the broker when it starts.

@juergen-albert
Copy link
Contributor Author

Ah, okay. I wasn't aware of that part. Instead of using MQTT we might want to think about live data updates via SSE or Websockets.

@timothyjward
Copy link
Contributor

Given that it isn't possible to achieve, can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants