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

[AutoDiscovery] Develop auto-discovery for OctoPrint printers #1686

Closed
5 tasks
davidzwa opened this issue Apr 28, 2023 · 4 comments
Closed
5 tasks

[AutoDiscovery] Develop auto-discovery for OctoPrint printers #1686

davidzwa opened this issue Apr 28, 2023 · 4 comments
Labels
epic Collection issue or big subproject.
Milestone

Comments

@davidzwa
Copy link
Collaborator

davidzwa commented Apr 28, 2023

Implement a method to auto-discover printers.

Possible solutions

  • MQTT
  • SSDP
  • ZeroConf

Possible installations

  • OctoPrint
  • Moonraker (Fluidd / Mainsail)
@davidzwa davidzwa added enhancement New feature request that is part of a larger epic high prio epic Collection issue or big subproject. labels Apr 28, 2023
@davidzwa davidzwa added this to the V1 revival milestone Apr 28, 2023
@davidzwa davidzwa self-assigned this Apr 28, 2023
@davidzwa
Copy link
Collaborator Author

davidzwa commented Apr 28, 2023

Currently leaning towards installing https://plugins.octoprint.org/plugins/mqtt/ for autodiscovery

Also looking at:
Requires HA and Mosquitto https://plugins.octoprint.org/plugins/homeassistant/

Alternative codebases (as example):
Requires Mosquitto but is easy to break https://plugins.octoprint.org/plugins/mqttpublish/
Bridges the API to MQTT https://github.com/jneilliii/OctoPrint-MQTTSubscribe

@davidzwa
Copy link
Collaborator Author

davidzwa commented Apr 28, 2023

@davidzwa davidzwa modified the milestones: v1.3 revival, v1.3.x May 2, 2023
@davidzwa davidzwa modified the milestones: v1.3.x, v1.4.x Jun 2, 2023
@davidzwa davidzwa modified the milestones: v1.4.x, v1.5.x Jul 3, 2023
@davidzwa davidzwa removed this from the 1.5.x milestone Feb 17, 2024
@davidzwa davidzwa removed the high prio label Apr 4, 2024
@mkevenaar mkevenaar changed the title [AutoDiscovery] Develop MQTT auto-discovery for OctoPrint printers [AutoDiscovery] Develop auto-discovery for OctoPrint printers Apr 8, 2024
@mkevenaar
Copy link
Contributor

Help wanted
I have implemented SSDP before, but I experienced issues where it was slow or inconsistent (mostly docker). Another doubt I had with it, when I was working on this for OctoFarm, was that I did not know how to complete the authentication triangle (asymmetric crypto / key sharing).

Why SSDP
It's a protocol that is supported by most networks/routers and which does not require separate brokers or applications (compared to MQTT). Furthermore, OctoPrint itself already has it built in, where as MQTT would require two plugins or a newly written plugin with the downside of having to depend on a plugin (instead of a built-in/pre-packaged feature). This does not mean I do not see the benefits of MQTT and a dedicated broker, it's just that I realize SSDP is a nice method to discover OctoPrints out of the box.

@mkevenaar mkevenaar removed enhancement New feature request that is part of a larger epic backend labels Apr 8, 2024
@mkevenaar mkevenaar added this to the 2.1 milestone Apr 10, 2024
@davidzwa davidzwa removed their assignment Apr 10, 2024
@davidzwa
Copy link
Collaborator Author

davidzwa commented Nov 4, 2024

At this moment FDM Monster will not implement auto-discovery using MQTT, SSDP and similar host-installed services. If this changes in the future a new issue should be created as a feature request.

@davidzwa davidzwa closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Collection issue or big subproject.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants