get status values of printer from raspberry used for prusalink
 
Benachrichtigungen
Alles löschen

get status values of printer from raspberry used for prusalink  

  RSS
Georges44
(@georges44)
Active Member
get status values of printer from raspberry used for prusalink

Hello,

I have installed a raspberry pi zero 2W to be able to print directly to the printer from Prusaslicer. In some cases I need to know the status of the printer (in debug mode with firefox, it is possible to make requests). I.e. it could be interresant to :

- send a notification when the machine is in pause (ex.to insert an element in the printed object-

- send a notificaiton when the job is terminated

- put poweroff once job is finished

 

I have found a way to access raspberry, but no idea how to get the datas (probabely java requests but I am not expert)

 

-

 

Veröffentlicht : 29/03/2023 7:45 am
Tojik
(@tojik)
Mitglied Moderator
RE: get status values of printer from raspberry used for prusalink

Hi, there is an API you can access once you provide the digest auth credentials, docs are here: https://github.com/prusa3d/Prusa-Link-Web/tree/master/spec

You can use relatively simple http get requests. Let me know if you need more guideance

Veröffentlicht : 29/03/2023 9:11 am
Fred gefällt das
Teilen: