diff --git a/octoprint_enclosure/templates/enclosure_settings.jinja2 b/octoprint_enclosure/templates/enclosure_settings.jinja2 index dc2a759..4f93698 100644 --- a/octoprint_enclosure/templates/enclosure_settings.jinja2 +++ b/octoprint_enclosure/templates/enclosure_settings.jinja2 @@ -1,397 +1,409 @@
-

{{ _('Temperature Sensor') }}

+

{{ _('Temperature Sensor') }}

+
- -
- - GPIO pin for temperature sensor, recommended to use 4 as DS18B20 only works on pin 4 -
+ +
+ + Attention You need to install and configure the necessary + libraries for the temeprature sensor, check the documentation on github page +
+
+ +
+ +
+ + GPIO pin for temperature sensor, recommended to use 4 as DS18B20 only works on pin 4 +
+
+ + +
+ +
+ + GPIO pin for temperature sensor, recommended to use 4 as DS18B20 only works on pin 4 +
+
+ +
+ + Choose if you want to work with Celsius or Fahrenheit +
+
+
+
+
+

{{ _('Temperature Control') }}

+
+
+
+ +
+
+
+
+ +
+ + GPIO pin used to control Heater. You can not use GPIO 4 here +
- -
- - Available options are: 11 for DHT11; 22 for DHT22; 2302 for AM2302; 1820 for DS18B20 1-wire temperature sensor -
-
-
- -
- - Location of script that reads temperature -
-
-
- -
- - Location of script that reads humidity -
-
-
+
- Choose if you want to work with Celsius or Fahrenheit -
-
- - -

{{ _('Heater') }}

-
-
-
- + Active low means that the heater will turn on when receive a low signal (ground) from Raspbery PI
-
-
-
- -
- - GPIO pin used to control Heater. You can not use GPIO 4 here -
-
+
+ +
+ +
+
+ +
+
+
+
- Active low means that the heater will turn on when receive a low signal (groud) from Raspbery PI + Choose if you want to automatically startup temperature control when the print starts +
+
+
+ +
+ + Default temperature that temperature control will be set +
+
- -

{{ _('IO 1') }}

+

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

+
+ +
+ +
+ + Name displayed on Enclosure Tab +
+
+
+ +
+ + 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 +
+
+
+
+ + Choose if GPIO should turn on automatomatically when print starts +
+
+
-
- -
-
-
-
- -
- - Name displayed on Enclosure Tab -
-
-
- -
- - 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 (groud) from Raspbery PI -
-
-
-
- - Choose if GPIO should turn on automatomatically when print starts -
-
-
- -
- - Time delay to turn on GPIO when print starts -
-
-
-
- - Choose if GPIO should turn off automatomatically when print finishes -
-
-
- -
- - Time delay to turn off GPIO when print finishes -
-
-
- - -

{{ _('IO 2') }}

-
-
-
- -
-
-
-
- -
- - Name displayed on Enclosure Tab -
-
-
- -
- - 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 (groud) from Raspbery PI -
-
-
-
- - Choose if GPIO should turn on automatomatically when print starts -
-
-
- -
- - Time delay to turn on GPIO when print starts -
-
-
-
- - Choose if GPIO should turn off automatomatically when print finishes -
-
-
- -
- - Time delay to turn off GPIO when print finishes -
-
-
-
- - -

{{ _('IO 3') }}

-
-
-
- -
-
-
-
- -
- - Name displayed on Enclosure Tab -
-
-
- -
- - 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 (groud) from Raspbery PI -
-
-
-
- - Choose if GPIO should turn on automatomatically when print starts -
-
-
- -
- - Time delay to turn on GPIO when print starts -
-
-
-
- - Choose if GPIO should turn off automatomatically when print finishes -
-
-
- -
- - Time delay to turn off GPIO when print finishes -
-
-
-
- -

{{ _('IO 4') }}

-
-
-
- -
-
-
-
- -
- - Name displayed on Enclosure Tab -
-
-
- -
- - 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 (groud) from Raspbery PI -
-
-
-
- - Choose if GPIO should turn on automatomatically when print starts -
-
-
- -
- - Time delay to turn on GPIO when print starts -
-
-
-
- - Choose if GPIO should turn off automatomatically when print finishes -
-
-
- -
- - Time delay to turn off GPIO when print finishes -
-
-
-
- -

{{ _('Filament Sensor') }}

-
-
-
- -
-
-
-
- -
- - GPIO number that will be used to sense end of filament. You can not use GPIO 4 here -
-
+
- - Active low means that end of the filament was detected when receive a low signal (groud) from filament sensor -
-
- -
- - 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 -
+ + Time delay to turn on GPIO when print starts
-
- - - - -
-
-
-
- - Log adcitional information on octoprint log to help trouble shoot the plugin -
-
-
-
- - Use BOARD pin numbers instead of BCM pin numbers -
-
- +
+
+
+ + Choose if GPIO should turn off automatomatically when print finishes +
+
+
+
+
- - Time that filament sensor will be inactive after sensing end of filament. This is to avoid sending multiple M600 - commands to the printer. + + Time delay to turn off GPIO when print finishes
- +
+
+
+ +
+
+
+
+
+
+
+ +
+ +

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

+
+ +
+ +
+ +
+ + Name of Input +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + 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. +
+
+
+ + +
+
+ +
+ + 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? +
+
+
+ + +
+
+ +
+ + Set temperature that will trigger the event +
+
+
+ +
+ + 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 +
+
+
+
+ + 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 +
+
+ +
+ + 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 +
+
+
+