Giter VIP home page Giter VIP logo

octoprint-sioreaction's Introduction

OctoPrint-SIOReaction

Sub PlugIn to OctoPrint-SIOControl. Create reactions to changes in IO, GCode, and more.

The Companion plugIn for the SIO Control

A simple but powerful addition to the SIO Control PlugIn. With this Sub PlugIn you can make full use of inputs and outputs available though SIO Control PlugIn + hardware.

Reactions are what happen when an IO point changes. What should happen is up to you.

Do things like:

  • Use a physical button to tell your machine to home or start to heat up for the print you will be sending soon.
  • Push a physical button and have a connected relay turn on, off or toggle state.
  • Push a physical button and send GCode to the OctoPrint GCode queue.
  • Have a relay turn on when specific GCode is seen.
  • If a limit switch is hit, send some GCode to the GCode queue.

Install

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/jcassel/OctoPrint-SIOReaction/archive/main.zip

You must have the SIO Control PlugIn installed for this to work.

Configuration / Setup

Setting up a Reaction is simple. Follow these steps.

  • Add a new Reaction row to the settings dialog. Push the Blue [+] button.
  • Name your Reaction.
  • Select the configured SIO point to react to (ignored for GCode Command Reaction types).
  • Select the type of Reaction React To
    • NONE Effectivly disables the Reaction
    • In Change React when this IO Input point changes state
    • In Active React when this IO Input point changes from Not Active to Active
    • In Not Active React when this IO Input point Changes from Active to Not Active
    • Out Change React when this IO Output point changes state
    • Out Active React when this IO Output point changes from Not Active to Active
    • Out Not Active React when this IO Output point changes from Active to Not Active
    • GCode Command React when a specific GCode command is detected.

Note that when creating a reaction the format must follow a few rules.

  • All key words are case sensitive.
    • on, off, toggle, IO, GC, WT are all key words used when creating a reaction.
    • When identifying an IO Point, it must be 2 characters in length. Example: IO point 1 is "01"

UI Samples

Settings

Help

octoprint-sioreaction's People

Contributors

jcassel avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.