This commit is contained in:
de Miranda Henrique
2018-03-01 09:47:04 -06:00

View File

@@ -4,8 +4,9 @@
Here is a list of possibilities:
* Add temperature sensors on your enclosure or near your printer
* Heater on your enclosure and keep the temperature nice and high for large ABS
* Add Active heaters on your enclosure and keep the temperature nice and high for large ABS
* Active cooling for good PLA printing
* Schedule GPIO's to turn on and off with a fixed period of time during printing.
* Mechanical buttons to pause and resume printer jobs
* Mechanical buttons to send GCODE to the printer
* Mechanical buttons to control raspberry pi GPIO
@@ -163,23 +164,23 @@ You can also add mechanical buttons to pause, resume and change filaments near o
If you want to enable notifications check the following issue:
https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/36
You can enable GCODE commands to control configured OUTPUTS.
You can enable GCODE commands to control configured **outputs**.
The list of supported gcodes:
Regular outputs
* Regular outputs
<pre><code>ENC O[id] S[value]</code></pre>
Id is generated on the setting plugin, value can be 0 to turn OFF the output or 1 to turn ON output. Ex: sending ENC O2 S1 would turn ON output 2.
PWM outputs
* PWM outputs
<pre><code>ENC O[id] S[pwm value]</code></pre>
Id is generated on the setting plugin, value is the duty cycle from 0 to 100. Ex: sending ENC O5 S75 would turn set duty cycle of 75% on output 5.
Neopixel
* Neopixel
<pre><code>ENC O[id] R[red value] G[green value] B[blue value]</code></pre>
Id is generated on the setting plugin, value should be between 0 to 255. R, G, and B are the colors for that value. Ex: sending ENC O1 R255 G0 B0 would set neopixel with id 1 color to full red.
Temperature / Humidity Control
* Temperature / Humidity Control
<pre><code>ENC O[id] W[wait value] S[set value]</code></pre>
Id is generated on the setting plugin, W specify if the plugin should wait or not for the enclosure to reach the temperature (1 is to wait), S will set the set temperature. Ex: ENC O1 W1 S45 will set temperature control with id 1 to 45 and wait until the temperature is reached to continue printing.