Benachrichtigungen
Alles löschen
Home Assistant integration: "Only PrusaLink API v2 is supported"
Hello,
Home Assistant integration is failing because it only works with API v2 (Mini printers).
Is it possible to align PrusaLink API to v2 so that /api/version can report 2.x.x and then be usable on Home Assistant ?
Last prusalink returns:
{ "api": "0.9.0-legacy", "server": "0.7.0rc3", "original": "PrusaLink I3MK3S", "text": "PrusaLink 0.7.0rc3", "firmware": "3.11.0-4955", "sdk": "0.7.0rc3", "capabilities": { "upload-by-put": true }, "hostname": "PrusaLink" }
Currently, HA integration is limited to Mini printers because of that, but even if the version were to be updated, it could fail because API Key is deprecated (which is a ongoing PR on HA side)
Refs:
- Integration: https://www.home-assistant.io/integrations/prusalink/
- Feature Request on HA to support more than v 2.x.x API: https://community.home-assistant.io/t/prusa-3d-printers-support/550070
- Issue explaining the problem: https://github.com/home-assistant/core/issues/86230
- Related discussion in Prusa forum about the problem: https://forum.prusa3d.com/forum/user-mods-octoprint-enclosures-nozzles/prusalink-and-home-assistant/paged/2/
- A PR to change HA prusalink lib to use digest auth besides other changes: https://github.com/home-assistant-libs/pyprusalink/pull/25
IMO it would be far easier if Prusalink could provide a similar API for HA consumption for all printers, even if HA library opens the door for more API/version support,
-
Thanks!
Veröffentlicht : 20/03/2023 12:57 pm