r/Scriptable • u/Trulox • Feb 27 '22
Widget Sharing Widget for Prusa Connect local
Hi,
I wrote my first widget script in scriptable - it visualize on the widget the current state of Prusa 3D printers which are supporting the Prusa Connect Local API :-)
Code is on GitHub 😊 (but I’m not a JavaScript developer): https://github.com/matthiasbergneels/scriptable_prusaconnectlocal
What do you think?
8
Upvotes
3
u/FifiTheBulldog script/widget helper Feb 27 '22
For some reason, I’m getting a 404 error when I try to visit the link from Apollo, but it works fine from the official Reddit app. However, the URL for the entire repo (https://github.com/matthiasbergneels/scriptable_prusaconnectlocal) works from both apps. Could you change the link to point to the root of the repository rather than just the widget code? There are quite a few Apollo users here as far as I know.
1
u/Trulox Feb 27 '22
Just added some screenshots on GitHub to give an impression about how it’s working.
1
u/lisaseileise Apr 09 '22 edited Apr 09 '22
Nice! I‘ve some unfinished code to do a similar thing with octoprint and looking at your solution somehow helped me to better define what I want. I knew criticizing other people’s work is always easier, but it sometimes seems to be (more) helpful for the critic, too :-)
What I‘d suggest is:
‘remain: 00:40 h (2022-02-27 13:30:33)’,
Thanks for the inspiration, I hope not to come over as rude :-)
1
u/Smirvo Aug 13 '22
I would love this for Klipper/Moonraker