Widget to show 3D printer details supported by Prusa Connect local API
- Copy widget to scriptable
- Add scriptable widget (medium size)
- Widget config:
- Script: choose script
- When interacting: Run Script
- Parameter: ip address to prusa printer, username, password ( everything is delimited by comma example: 192.168.0.1, that_guy, my_awesome_password )
- You need to have npm. To install dependencies call
npm install
in root folder. - Main entry point is in
main.ts
- To build you js bundle use defined
package.json
action or callrollup --config rollup.config.ts --environment file_path:./src/main.ts --configPlugin @rollup/plugin-typescript
in root folder.