get status values of printer from raspberry used for prusalink
 
Notifications
Clear all

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)

 

-

 

Publié : 29/03/2023 7:45 am
Tojik
(@tojik)
Membre 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

Publié : 29/03/2023 9:11 am
Fred a aimé
Partager :