-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
[FR]: Docs: mosquitto proxy for p series #58
Comments
Thanks for this, I'm more curious as to why it's taking up 3 simultaneous connections. Wonder if it was something that happened during the major refactor by an outside party or the underlying pybambu module itself doing that. Do you happen to know if you were seeing this with version 0.0.23?
|
Installed that version and waited for it to get temperatures (still via Mosquitto). Took a reconnect, then it started updating. One connection. |
Just released version 0.1.8rc4 that hopefully reduces the connection count back to 1. Please let me know. |
Looks like that worked. It is only using one connection now. |
The OctoPrint printing status is tied back to the file being printed, because that is how OctoPrint works with SD card printing. The plugin has to know of the file name printing and if it was sent from slicer the file list has to update. Long discussion on possible similar issue is in #52, but that seemed to be more could connected printer issue. |
This could probably be a wiki page or a
contrib/
entry.Is your feature request related to a problem? Please describe.
The MQTT broker on the P series is .. limited. This plugin uses up 3 connections, according to
ss -tp
. Somewhere I saw it documented that it can only accept 5 connections in total, and certainly everyone in LAN mode has had issues with too many simultaneous connections.Describe the solution you'd like
Mosquitto can connect to other brokers and proxy messages back and forth, using only one connection. This plugin already works usefully well that way, with the exception of the SD features. That can be disabled under Prefs -> Features.
The mosquitto config is easy. Create a 'bblp' user with the PIN as the password and then:
Describe alternatives you've considered
Turning things on and off in the correct order, octoprint connections, the printer, the slicer, unrelated computers and routers, etc. It occasionally takes many hours of effort to get a single connection to function. This doesn't completely prevent that, but fewer sources of contention are better.
Additional context
The text was updated successfully, but these errors were encountered: