diff --git a/octoprint_enclosure/templates/enclosure_settings.jinja2 b/octoprint_enclosure/templates/enclosure_settings.jinja2 index b5092c5..a158f62 100644 --- a/octoprint_enclosure/templates/enclosure_settings.jinja2 +++ b/octoprint_enclosure/templates/enclosure_settings.jinja2 @@ -17,6 +17,8 @@ + + Attention You need to install and configure the necessary libraries for the temeprature sensor, check the documentation on github page @@ -31,7 +33,23 @@ - + +
+ +
+ + GPIO pin for temperature sensor need to connect the sensor to I2C. SCL Clock to GPIO 3 (SCL) and SDA Data to GPIO 2 (SDA) +
+
+
+ +
+ + Sensor address in HEX value, you can find it by runing i2cdetect -y 1 on your Raspberry Pi +
+
+ +
@@ -64,7 +82,7 @@
- GPIO pin used to control Heater. You can not use GPIO 4 here + GPIO pin used to control Heater.
@@ -118,18 +136,16 @@
- +
- GPIO number that will be controlled. You can not use GPIO 4 here -
-
-
-
- - Active low means that the GPIO will turn on when receive a low signal (ground) from Raspbery PI + + GPIO number that will be controlled. + + + Attention Neopixel requires a microcontroler (ex: arduino) connected to I2C bus. + This is the pin on the microcontroler that is connected to the Neopixel. +
@@ -170,6 +186,82 @@
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ + Active low means that the GPIO will turn on when receive a low signal (ground) from Raspbery PI +
+
+ + +
+ +
+ + Value is in Hz +
+
+
+ +
+ + Value is in percentage, between 0 and 100 +
+
+ + +
+ +
+ + Microcontroller address in HEX value, you can find it by runing i2cdetect -y 1 on your Raspberry Pi +
+
+
+ +
+ + Number of led's on strip +
+
+
+ +
+ + Value between 0 and 255 +
+
+
+ +
+ + Value needs to follow the format rgb(value_red,value_green,value_blue) where values should be between + 0 and 255 +
+
+
@@ -185,125 +277,87 @@

{{ _('Raspberry Pi Inputs') }}

- -
- -
- -
- - Name of Input -
-
- -
- -
- +
+
+ +
+ + Name of Input +
-
- + +
+ +
+ {{ _('Temperature') }}
+
{{ _('GPIO Control') }} - Events will control GPIO outputs when a condition is met, for example detect a press of a button. - You can use this to control any previous configured OUTPUTS, basically beeing able to control your lights / fan / pritner - using mechanical buttons buttons instead of the octoprint interface. -
- -
-
- -
- - Input GPIO that will detect the event that should trigger the action. For example if you have a filament - sensor you put the GPIO pin that the sensor is connected. This can also be a press of a button or any other signal that you want to detect. - You can not use GPIO 4 here if you are using temeprature sensor DS18B20 -
-
-
- -
- - Choose what type of pull resistors that you want on the output. If you signal is active low, - that means it should run the action when receive a low signal (ground), you should choose PULL UP resistors. -
-
-
+
+
+ + Info: Events will run actions when a certain temperature of the sensor is hit. + You can control a OUTPUT pin and set that to a LOW or HIGH value when that happens. + You can use this as a safety measure and trigger alarm lights for example. Warning + You should always have proper smoke detector on your house. DO NOT use this as your only safety device. + + + Info: Events will run PRINTER actions when a condition is met, that can be a filament sensor, button, etc. + Actions can be Pause \ Resume \ Cancel a printer job, change the filament or disable Temperature Control. You can use the "change filament" action and set up the input + GPIO acording to your sensor, for example, if your filament sensor conects to ground when detects the end of the filament, + you should choose PULL UP resistors and detect the event on the falling edge. -
-
- -
- - Do you want thrigger the event on the rise or falling edge? If you signal is active low, - that means it should run the action when receive a low signal (ground), you should choose FALLING EDGE. -
-
-
- -
- - When the event happen, you want control which IO? -
-
-
- -
- - When the event happen, you want to turn the controlled IO HIGH or LOW? -
+ Info: Events will control GPIO outputs when a condition is met, for example detect a press of a button. + You can use this to control any previous configured OUTPUTS, basically beeing able to control your lights / fan / pritner + using mechanical buttons buttons instead of the octoprint interface. You can only control REGULAR outputs. + + + +
+
+ +
+
+ +
+ + Input GPIO that will detect the event that should trigger the action. For example if you have a filament + sensor you put the GPIO pin that the sensor is connected. This can also be a press of a button or any other signal that you want to detect. + You can not use GPIO 4 here if you are using temeprature sensor DS18B20 +
+
+
+ +
+ + Choose what type of pull resistors that you want on the output. If you signal is active low, + that means it should run the action when receive a low signal (ground), you should choose PULL UP resistors.
- - -
-
- -
- - Set temperature that will trigger the event +
+ + +
+
+ +
+ + Do you want thrigger the event on the rise or falling edge? If you signal is active low, + that means it should run the action when receive a low signal (ground), you should choose FALLING EDGE.
@@ -327,88 +381,177 @@
- -
+ +
- +
- - Do you want thrigger the event on the rise or falling edge? If you signal is active low, - that means it should run the action when receive a low signal (ground), you should choose FALLING EDGE. -
+ + Set temperature that will trigger the event
- +
- - You can use filament change on your filament detectors and add buttons to resume and pause the print job. -
+ + When the event happen, you want control which IO?
- - -
- +
+
+ +
+ + When the event happen, you want to turn the controlled IO HIGH or LOW?
-
-
-
+
+
+ + +
+
+ +
+ + Do you want thrigger the event on the rise or falling edge? If you signal is active low, + that means it should run the action when receive a low signal (ground), you should choose FALLING EDGE.
- + +
+ + You can use filament change on your filament detectors and add buttons to resume and pause the print job. +
- - - - Advanced options - -
-
-
-
- - Log adcitional information on octoprint log to help trouble shoot the plugin + + +
+ +
+
+
+
+
+
+
+
+ +
+ + + + Advanced options + +
+
+
+
+ + Log adcitional information on octoprint log to help trouble shoot the plugin +
+
+
+
+ + Use BOARD pin numbers instead of BCM pin numbers +
+
+
+
+ + This will clear any GPIO configuration that might exist on your system, use with caution, + it might break other plugins that use GPIO
-
-
- - Use BOARD pin numbers instead of BCM pin numbers + +
+ + Time that filament sensor will be inactive after sensing end of filament. This is to avoid sending multiple M600 + commands to the printer.
-
-
-
- - This will clear any GPIO configuration that might exist on your system, use with caution, - it might break other plugins that use GPIO -
-
- -
- - Time that filament sensor will be inactive after sensing end of filament. This is to avoid sending multiple M600 - commands to the printer. +
+ +
+ + GCODE that will be sent to the printer to pause and allow filament to be changed. + You should add ; on the end of every line sent to the printer +
- +
- - GCODE that will be sent to the printer to pause and allow filament to be changed. - You should add ; on the end of every line sent to the printer -
+
- -
+
+ +
+ +
+ + Event name that was configured on the maker chanel of IFTTT, don't use space between the words +
+
+
+ +
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + +