diff --git a/README.md b/README.md index 1064a7e..a983444 100644 --- a/README.md +++ b/README.md @@ -165,32 +165,11 @@ You can also add mechanical buttons to pause, resume and change filaments near o **Advanced Area** -If you want to enable notifications check the following issue: -https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/36 +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**. - -The list of supported gcodes: - -* Regular outputs -
ENC O[id] S[value]
-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 -
ENC O[id] S[pwm value]
-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 -
ENC O[id] R[red value] G[green value] B[blue value]
-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 -
ENC O[id] W[wait value] S[set value]
-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. - -It is possible to send and request GPIO status with web requests, check this issue for more information: -https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/85 +You can control outputs using a simple [API](https://github.com/vitormhenrique/OctoPrint-Enclosure/wiki/API-Control) +Or use [g-code](https://github.com/vitormhenrique/OctoPrint-Enclosure/wiki/G-CODE-Control) commands **Tab Order**