RE: PrusaLink and Home Assistant
I recently updated PrusaLink to 0.7.0rc2 and Home Assistant will no longer connect. When entering the hostname and API key I get the response "Only PrusaLink API v2 is supported". If I change either the hostname or the API key to some invalid value, I get a failed to connect. This suggests that it is in fact interpreting both values correctly, but otherwise doesn't seem to link my PrusaLink install.
Is anyone else using this on PrusaLink 0.7.0rc2?
RE: PrusaLink and Home Assistant
I haven’t updated my firmware but I have noticed my curl to the printables site so I can get my downloads and followers in my HomeAssistant instance stopped working at like 12 today. So not sure if they’ve made changes to prevent calls?
RE: PrusaLink and Home Assistant
MINI 4.4.1 definitely works with HA (I was checking it shortly before 4.4.1 went public).
Not sure about MK3/S/+ though
RE: PrusaLink and Home Assistant
I've logged an issue on the v2 API error here. Is anyone else running PrusaLink 0.7.0rc2 on HA without problems?
RE: PrusaLink and Home Assistant
OK that link broke for some reason, here's the issue: https://github.com/home-assistant/core/issues/86230
RE: PrusaLink and Home Assistant
Hi,
from PrusaLink for MK3 0.7.0, API Key will be deprecated and not configured by default, but you can set it on Settings tab. New way to using PrusaLink API is HTTP Digest.
RE: PrusaLink and Home Assistant
Hello,
I have upgraded PrusaLink from 0.7.0 rc1 to 0.7.0 rc3 (using the apt and pip commands)
But now, I would like to put in place the Home Assistant integration from https://www.home-assistant.io/integrations/prusalink/.
So I have followed the steps but I get an error saying that only PrusaLink v2 API is supported.
I've checked my prusalink and i see:
API 0.9.0-legacy Hostname PrusaLink Firmware 3.11.0-4955 Server0.7.0rc3 Text PrusaLink 0.7.0rc3 SDK 0.7.0rc3 Frontend 3.12.0
Is there a way to upgrade the API ?
Thanks!
RE: PrusaLink and Home Assistant
Your card looks great. Would you share the config?
RE: PrusaLink and Home Assistant
I don't use HA, but I did have the same problem with getting to the API from OBS (it also doesn't support Digest Auth), so I wrote this proxy. Were you guys able to solve this a different way?
The proxy could easily be extended to mirror all of the APIs (I only needed the one, the job API). For me it provides a graphic that shows the current state of the print for my twitch stream (the way I monitor my prints) but I assume HA could use it as well?
https://github.com/42degrees/PrusaPrinterApiForObs
Is there a way to upgrade the API ?
Thanks!
RE:
Home Assistant 2024.4 now supports MK3 with PrusaLink 0.7.2: https://www.home-assistant.io/integrations/prusalink/
RE: PrusaLink and Home Assistant
And finally the error and attention states are supported in Home Assistant, so you can create an automation to alert you when manual intervention is needed. For example when filament (color) change is required or the filament runs out.