homebridge-prusa-link
Version:
An homebridge plugin for Prusa Link
51 lines (38 loc) • 1.73 kB
Markdown
[](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)


This [Homebridge](https://github.com/homebridge/homebridge) plugin allows you to monitor your 3D printer connected via Prusa Link directly from HomeKit.
* Motion sensor: Triggered when printer finishes.
* Occupancy sensor: Active when printer is printing.
* Battery state: Shows current print progress in percent.

If you are new to homebridge, please read the [documentation](https://github.com/homebridge/homebridge) first to set up your own server.
Install homebridge-prusa-link:
```sh
sudo npm install -g homebridge-prusa-link
```
For each printer you want to monitor, add a `PrusaLinkDevice` accessory in your homebridge configuration file `config.json`.
Set the required configuration values as follows:
* accessory: "PrusaLinkDevice"
* name: How the printer should be named in your Home App
* ip: The IP address under which Prusa Link can be reached
* user: The username used to connect to Prusa Link
* password: The password used to connect to Prusa Link
* sensorMode: The kind of sensor you want to expose ("motion" OR "occupancy")
### Example
```sh
"accessories": [
{
"accessory": "PrusaLinkDevice",
"name": "Prusa Mini",
"ip": "192.168.1.25",
"user": "maker",
"password": "password123",
"sensorMode": "motion"
}
```