Socket
Socket
Sign inDemoInstall

homebridge-octoprint-motion

Package Overview
Dependencies
20
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    homebridge-octoprint-motion

Exposes Current OctoPrint Status as a Motion Detector


Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Install size
1.81 MB
Created
Weekly downloads
 

Readme

Source

homebridge-octoprint-motion

npm npm verified-by-homebridge

OctoPrint Plugin for Homebridge

This plugin exposes the current status of a 3D printer connected to OctoPrint as a Motion Sensor or Occupancy Sensor.

Installation

  1. Install Homebridge using the official instructions.
  2. Install this plugin using sudo npm install -g homebridge-octoprint-motion.
  3. Update your configuration file. See configuration sample below.

Configuration

Edit your config.json accordingly. Configuration sample:

"platforms": [
   {
       "platform": "octoprint",
       "instances": [
       {
           "name": "Monoprice",
           "manufacturer": "Monoprice",
           "model": "Maker Ultimate",
           "url": "http://monoprice.local",
           "api_key": "o03vc2y4tpj76iy814u1vklz0gidiqut",
           "case_light": true
       },
       {
           "name": "Big Boy",
           "manufacturer": "Creality",
           "model": "CR-10S S4",
           "url": "http://bigboy.local",
           "api_key": "oxunsmzv6hi9nkrcxnlbtg9azgsm2uaa"
       }
       ]
   }
]
FieldsDescriptionRequired
platformMust always be octoprint.Yes
instancesArray of Octoprint instance configs (multiple supported).Yes
|- nameName of your device.Yes
|- manufacturerManufacturer of your device.No
|- modelModel of your device.No
|- serialSerial of your device.No
|- urlURL of your OctoPrint instance.Yes
|- api_keyAPI Key for your OctoPrint instance.Yes
|- case_lightEnables control of the printer's case light.No
|- occupancy_sensorExposes an occupancy sensor instead of a motion sensor.No

Keywords

FAQs

Last updated on 08 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc