Notifications
Clear all

PrusaLink and Home Assistant  

Page 2 / 2
  RSS
luma
 luma
(@luma)
Member
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?

Posted : 18/01/2023 6:41 pm
RandumbPrints
(@randumbprints)
Active Member
Topic starter answered:
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? 

Posted : 18/01/2023 6:58 pm
D.R.racer
(@d-r-racer)
Active Member
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

Posted : 19/01/2023 9:56 am
luma
 luma
(@luma)
Member
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?

Posted : 19/01/2023 1:42 pm
luma
 luma
(@luma)
Member
RE: PrusaLink and Home Assistant

OK that link broke for some reason, here's the issue: https://github.com/home-assistant/core/issues/86230

Posted : 19/01/2023 1:52 pm
Mathieu liked
McBig
(@mcbig)
Member
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.

Posted : 20/01/2023 6:47 am
Mathieu liked
Mathieu
(@mathieu-3)
Eminent Member
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!

Posted : 18/03/2023 8:53 pm
One
 One
(@one)
New Member
RE: PrusaLink and Home Assistant

Your card looks great. Would you share the config?

Posted : 01/04/2023 2:53 pm
Scott Gartner
(@scott-gartner)
Eminent Member
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

Posted by: @mathieu-3

Is there a way to upgrade the API ?

Thanks!

 

Posted : 02/02/2024 3:42 am
the_ress
(@the_ress)
Member
RE:

Home Assistant 2024.4 now supports MK3 with PrusaLink 0.7.2: https://www.home-assistant.io/integrations/prusalink/

Posted : 03/04/2024 8:06 pm
Johegy
(@johegy)
Active Member
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.

Posted : 24/04/2024 2:53 pm
Page 2 / 2
Share: