콘텐츠로 이동

Supported Functions

Built-In Functions~

AoT VPD~

이 함수는 잎 온도와 습도를 기반으로 증기압 부족분(VPD)을 계산합니다.잎의 온도가 입력되지 않은 경우, 잎의 온도 대신 잎 온도에 오프셋을 적용합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 동작 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 동작 전 대기 시간
대기 온도Select Measurement (Input, Function)대기 온도 측정
대기 온도: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
습도Select Measurement (Input, Function)습도 측정
습도: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
잎 온도Select Measurement (Input, Function)잎 온도 측정
잎 온도: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
잎 온도 오프셋(°C)Decimal - Default Value: -1.5잎 온도가 입력되지 않았을 경우 적용할 오프셋(°C)

AoT 평균 (최종, 다중)~

선택된 측정값들의 최신 데이터를 읽어 산술 평균을 계산하고, 결과를 지정한 측정값/단위로 저장합니다. 집계할 입력 측정값은 하단 [액션] 목록에서 "AoT 평균: 입력 측정값" 액션을 추가해 등록하세요. 평균값만 저장되며, 읽어온 원본 값은 별도로 저장되지 않습니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 및 계산 주기, 시간(초 단위)
시작 오프셋 (초)Integer - Default Value: 10첫 측정 전에 대기할 시간(초)
최대 유효 시간 (초)Integer - Default Value: 360기본 최대 유효 시간(초). 개별 입력 액션에서 별도 설정하면 그 값을 우선 사용합니다.
디버그 로깅 활성화Boolean주기마다 계산된 평균값을 로그에 기록합니다. 운영 환경에서는 꺼 두세요.

Display: Generic LCD 16x2 (I2C)~

이 함수는 I2C를 통해 16x2 LCD 디스플레이에 출력을 제공합니다. 이 디스플레이는 한 번에 2줄을 표시할 수 있으므로, 라인 세트 수(Number of Line Sets)가 변경되면 2개 채널씩 추가됩니다. 설정된 주기(Period)마다 LCD가 새로고침되며, 다음 세트의 라인이 표시됩니다. 따라서 처음 표시되는 2줄은 채널 0과 1이며, 이후 2와 3, 그다음 4와 5가 표시되는 방식으로 진행됩니다. 모든 채널이 표시된 후에는 다시 처음부터 순환됩니다.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x20
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)
Commands
Backlight OnButton
Backlight OffButton
Backlight Flashing OnButton
Backlight Flashing OffButton

Display: Generic LCD 20x4 (I2C)~

이 기능은 I2C를 통해 20x4 LCD 디스플레이에 출력을 제공합니다. 이 디스플레이는 한 번에 4줄을 표시할 수 있으므로, 라인 세트 수(Number of Line Sets)가 변경되면 4개 채널씩 추가됩니다. 설정된 주기(Period)마다 LCD가 새로고침되며, 다음 세트의 라인이 표시됩니다. 따라서 처음 표시되는 4줄은 채널 0, 1, 2, 3이며, 이후 4, 5, 6, 7, 그다음 8, 9, 10, 11이 표시되는 방식으로 진행됩니다. 모든 채널이 표시된 후에는 다시 처음부터 순환됩니다.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x20
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)
Commands
Backlight OnButton
Backlight OffButton

Display: Grove LCD 16x2 (I2C)~

이 기능은 I2C를 통해 Grove 16x2 LCD 디스플레이에 출력을 제공합니다. 이 디스플레이는 한 번에 2줄을 표시할 수 있으므로, 라인 세트 수(Number of Line Sets)가 변경되면 2개 채널씩 추가됩니다. 설정된 주기(Period)마다 LCD가 새로고침되며, 다음 세트의 라인이 표시됩니다. 따라서 처음 표시되는 2줄은 채널 0과 1, 이후 채널 2와 3, 그다음 채널 4와 5가 표시되는 방식으로 진행됩니다. 모든 채널이 표시된 후에는 다시 처음부터 순환됩니다.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x3e
I2C 버스Integer - Default Value: 1
Backlight I2C AddressText - Default Value: 0x62I2C address to control the backlight
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Backlight Red (0 - 255)Integer - Default Value: 255Set the red color value of the backlight on startup.
Backlight Green (0 - 255)Integer - Default Value: 255Set the green color value of the backlight on startup.
Backlight Blue (0 - 255)Integer - Default Value: 255Set the blue color value of the backlight on startup.
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)
Commands
Backlight OnButton
Backlight OffButton
Color (RGB)Text - Default Value: 255,0,0Color as R,G,B values (e.g. "255,0,0" without quotes)
Set Backlight ColorButton

Display: SSD1306 OLED 128x32 [2 Lines] (I2C)~

이 기능은 I2C를 통해 128x32 SSD1306 OLED 디스플레이에 출력을 제공합니다. 이 디스플레이 기능은 한 번에 2줄을 표시할 수 있으므로, 라인 세트 수(Number of Line Sets)가 변경되면 2개 채널씩 추가됩니다. 설정된 주기(Period)마다 LCD가 새로고침되며, 다음 세트의 라인이 표시됩니다. 따라서 처음 표시되는 라인 세트는 채널 0 - 1이며, 이후 2 - 3, 그다음 4 - 5가 표시되는 방식으로 진행됩니다. 모든 채널이 표시된 후에는 다시 처음부터 순환됩니다.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x3c
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Reset PinInteger - Default Value: 17The pin (BCM numbering) connected to RST of the display
Characters Per LineInteger - Default Value: 17The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 12The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x32 [2 Lines] (SPI)~

This Function outputs to a 128x32 SSD1306 OLED display via SPI. This display Function will show 2 lines at a time, so channels are added in sets of 2 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 1, then 2 - 3, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
SPI DeviceIntegerThe SPI device
SPI BusIntegerThe SPI bus
DC PinInteger - Default Value: 16The pin (BCM numbering) connected to DC of the display
Reset PinInteger - Default Value: 19The pin (BCM numbering) connected to RST of the display
CS PinInteger - Default Value: 17The pin (BCM numbering) connected to CS of the display
Characters Per LineInteger - Default Value: 17The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 12The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x32 [4 Lines] (I2C)~

이 기능은 I2C를 통해 128x32 SSD1306 OLED 디스플레이에 출력을 제공합니다. 이 디스플레이 기능은 한 번에 4줄을 표시할 수 있으므로, 라인 세트 수(Number of Line Sets)가 변경되면 4개 채널씩 추가됩니다. 설정된 주기(Period)마다 LCD가 새로고침되며, 다음 세트의 라인이 표시됩니다. 따라서 처음 표시되는 라인 세트는 채널 0 - 3이며, 이후 4 - 7, 그다음 8 - 11이 표시되는 방식으로 진행됩니다. 모든 채널이 표시된 후에는 다시 처음부터 순환됩니다.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x3c
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Reset PinInteger - Default Value: 17The pin (BCM numbering) connected to RST of the display
Characters Per LineInteger - Default Value: 21The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 10The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x32 [4 Lines] (SPI)~

This Function outputs to a 128x32 SSD1306 OLED display via SPI. This display Function will show 4 lines at a time, so channels are added in sets of 4 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 3, then 4 - 7, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
SPI DeviceIntegerThe SPI device
SPI BusIntegerThe SPI bus
DC PinInteger - Default Value: 16The pin (BCM numbering) connected to DC of the display
Reset PinInteger - Default Value: 19The pin (BCM numbering) connected to RST of the display
CS PinInteger - Default Value: 17The pin (BCM numbering) connected to CS of the display
Characters Per LineInteger - Default Value: 21The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 10The size of the font, in points
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x64 [4 Lines] (I2C)~

This Function outputs to a 128x64 SSD1306 OLED display via I2C. This display Function will show 4 lines at a time, so channels are added in sets of 4 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 3, then 4 - 7, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x3c
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Reset PinInteger - Default Value: 17The pin (BCM numbering) connected to RST of the display
Characters Per LineInteger - Default Value: 17The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 12The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x64 [4 Lines] (SPI)~

This Function outputs to a 128x64 SSD1306 OLED display via SPI. This display Function will show 4 lines at a time, so channels are added in sets of 4 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 3, then 4 - 7, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
SPI DeviceIntegerThe SPI device
SPI BusIntegerThe SPI bus
DC PinInteger - Default Value: 16The pin (BCM numbering) connected to DC of the display
Reset PinInteger - Default Value: 19The pin (BCM numbering) connected to RST of the display
CS PinInteger - Default Value: 17The pin (BCM numbering) connected to CS of the display
Characters Per LineInteger - Default Value: 17The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 12The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x64 [8 Lines] (I2C)~

This Function outputs to a 128x64 SSD1306 OLED display via I2C. This display Function will show 8 lines at a time, so channels are added in sets of 8 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 7, then 8 - 15, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x3c
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Reset PinInteger - Default Value: 17The pin (BCM numbering) connected to RST of the display
Characters Per LineInteger - Default Value: 21The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 10The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1306 OLED 128x64 [8 Lines] (SPI)~

This Function outputs to a 128x64 SSD1306 OLED display via SPI. This display Function will show 8 lines at a time, so channels are added in sets of 8 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 7, then 8 - 15, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
SPI DeviceIntegerThe SPI device
SPI BusIntegerThe SPI bus
DC PinInteger - Default Value: 16The pin (BCM numbering) connected to DC of the display
Reset PinInteger - Default Value: 19The pin (BCM numbering) connected to RST of the display
CS PinInteger - Default Value: 17The pin (BCM numbering) connected to CS of the display
Characters Per LineInteger - Default Value: 21The maximum number of characters to display per line
Use Non-Default FontBooleanDon't use the default font. Enable to specify the path to a font to use.
Non-Default Font PathText - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttfThe path to the non-default font to use
Font Size (pt)Integer - Default Value: 10The size of the font, in points
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Display: SSD1309 OLED 128x64 [8 Lines] (I2C)~

This Function outputs to a 128x64 SSD1309 OLED display via I2C. This display Function will show 8 lines at a time, so channels are added in sets of 8 when Number of Line Sets is modified. Every Period, the LCD will refresh and display the next set of lines. Therefore, the first set of lines that are displayed are channels 0 - 7, then 8 - 15, and so on. After all channels have been displayed, it will cycle back to the beginning.

OptionTypeDescription
주기 (초)Text - Default Value: 10측정 또는 작업 사이의 기간
I2C 주소Text - Default Value: 0x3c
I2C 버스Integer - Default Value: 1
Number of Line SetsInteger - Default Value: 1How many sets of lines to cycle on the LCD
Reset PinInteger - Default Value: 17The pin (BCM numbering) connected to RST of the display
Channel Options
Line Display TypeSelectWhat to display on the line
MeasurementSelect Measurement (Input, Function, Output, PID)Measurement to display on the line
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement LabelTextSet to overwrite the default measurement label
Measurement DecimalInteger - Default Value: 1The number of digits after the decimal
텍스트Text - Default Value: TextText to display
Display UnitBoolean - Default Value: TrueDisplay the measurement unit (if available)

Equation (Multi-Measure)~

이 기능은 두 개의 측정값을 가져와 사용자가 설정한 수식에 적용한 후, 결과값을 선택된 측정값과 단위로 저장합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
측정값: ASelect Measurement (Input, Output, Function)Measurement to replace a
측정값 A: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
측정값: BSelect Measurement (Input, Output, Function)Measurement to replace b
측정값 B: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
방정식Text - Default Value: a*(2+b)Equation using measurements a and b

Example: Generic~

이 기능 모듈은 다양한 UI 옵션 유형을 보여주는 예제입니다. 새로운 맞춤형 기능 모듈을 개발하는 방법을 학습하는 용도로만 사용되며, 그 외의 실용적인 용도는 없습니다.이 메시지는 기능 옵션 위에 표시됩니다.이 기능은 마지막으로 선택된 측정값을 가져온 후, 선택된 출력을 15초 동안 켠 후 비활성화됩니다.코드를 분석하여 자신만의 기능 모듈을 개발하고, 기능 가져오기(Function Import) 페이지에서 가져올 수 있도록 구성하세요.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
The following fields are for text, integers, and decimal inputs. This message will automatically create a new line for the options that come after it. Alternatively, a new line can be created instead without a message, which are what separates each of the following three inputs.
Text InputText - Default Value: Text_1Type in text
Integer InputInteger - Default Value: 100Type in an Integer
Devimal InputDecimal - Default Value: 50.2Type in a decimal value
A boolean value can be made using a checkbox.
Boolean ValueBoolean - Default Value: TrueSet to either True (checked) or False (Unchecked)
A dropdown selection can be made of any user-defined options, with any of the options selected by default when the Function is added by the user.
Select OptionSelect(Options: [First Option Selected | Second Option Selected | Third Option Selected] (Default in bold)Select an option from the dropdown
A specific measurement from an Input, Function, or PID Controller can be selected. The following dropdown will be populated if at least one Input, Function, or PID Controller has been created (as long as the Function has measurements, e.g. Statistics Function).
Controller MeasurementSelect Measurement (Input, Function, PID)Select a controller Measurement
An output channel measurement can be selected that will return the Output ID, Channel ID, and Measurement ID. This is useful if you need more than just the Output and Channel IDs and require the user to select the specific Measurement of a channel.
Output Channel MeasurementSelect Device, Measurement, and Channel (Output)Select an output channel and measurement
An output can be selected that will return the Output ID if only the output ID is needed.
Output DeviceSelect DeviceSelect an Output device
An Input, Output, Function, PID, or Trigger can be selected that will return the ID if only the controller ID is needed (e.g. for activating/deactivating a controller)
Controller DeviceSelect DeviceSelect an Input/Output/Function/PID/Trigger controller
Commands
Button One will pass the Button One Value to the button_one() function of this module. This allows functions to be executed with user-specified inputs. These can be text, integers, decimals, or boolean values.
Button One ValueInteger - Default Value: 650Value for button one.
Button OneButton
Here is another action with another user input that will be passed to the function. Note that Button One Value will also be passed to this second function, so be sure to use unique ids for each input.
Button Two ValueInteger - Default Value: 1500Value for button two.
Button TwoButton

LoRaWAN 모드/주기 관리자 (RAK3172E)~

배터리·시간대·밸브활동·링크품질을 기준으로 Class/하트비트 주기를 결정합니다. ChirpStack gRPC(DeviceService.Enqueue)를 통해 직접 다운링크를 큐잉합니다.

OptionTypeDescription
장치 역할Select(Options: [컨트롤러 (밸브/액추에이터) — Class C 우선 | 센서 — Class A, 저전력 (게이트웨이 GPS 불필요) | 하이브리드 — 수동 설정] (Default in bold)컨트롤러: 운영 시간에는 Class C, 야간에는 B. 센서: 항상 Class A(게이트웨이 GPS 불필요), 야간에는 HB 연장. 하이브리드: 아래 설정을 그대로 따릅니다.
주기 (초)Text - Default Value: 60판정 및 적용 주기(초)
서버 연결
ChirpStack gRPC 서버Text - Default Value: 127.0.0.1:8080호스트:포트 형식 (예: 127.0.0.1:8080) 또는 http(s)://호스트:포트
API KeyTextJWT 토큰 값을 입력하세요 (Bearer 제외)
DevEUIText16자리 16진수 DevEUI (구분자 허용)
측정 입력
ChirpStack REST PortInteger - Default Value: 8090ChirpStack REST API 포트 (기본 8090)
측정값: 최대 유효 시간 (초)Text - Default Value: 4000ChirpStack 메트릭 이력을 조회할 과거 범위(초)
재시도 간격(분)DecimalACK가 없을 때 동일 모드를 다시 적용할 간격(0이면 재시도 안 함)
LoRa 클래스 정책Select(Options: [자동 | CLASS-A | CLASS-B | CLASS-C] (Default in bold)자동일 때만 모드에 따라 Class를 전환하며, 특정 클래스를 선택하면 그 클래스를 유지합니다.
입력값 유효 시에만 모드 전환Boolean입력 조건/측정값이 유효할 때만 모드 적용
운영 시간대
성능 모드로 작동할 시간을 설정 합니다. 0~24 입력 또는 시작과 종료시간이 같으면 24시간
운영시간 기준Select(Options: [고정 시각 — 아래 시작·종료 시각 | 일출~일몰 — 이 위치의 계절을 따라감] (Default in bold)고정 시각은 1년 내내 같은 시각을 씁니다. 일출~일몰 기준은 이 장치가 있는 곳의 낮 길이를 따라가므로, 매달 시각을 다시 입력하지 않아도 성능 모드가 계절을 추종합니다. 위치는 지도에서 상속하며, 위치를 해석할 수 없으면 아래 고정 시각을 대신 사용합니다.
일출 오프셋 (분)Integer운영 구간의 시작을 일출 기준으로 옮깁니다. 음수면 더 일찍 시작합니다(-30이면 일출 30분 전부터). 기준이 일출~일몰일 때만 사용됩니다.
일몰 오프셋 (분)Integer운영 구간의 종료를 일몰 기준으로 옮깁니다. 양수면 더 늦게 끝납니다(30이면 일몰 후 30분까지 성능 모드 유지). 기준이 일출~일몰일 때만 사용됩니다.
성능 모드 시작(시)Integer - Default Value: 4성능 모드 시작 시각 (0–23)
성능 모드 종료(시)Integer - Default Value: 18성능 모드 종료 시각 (0–23)
성능 모드 선행(분)Integer - Default Value: 10주간 시작 전에 미리 성능(Class C) 모드로 전환할 시간을 분 단위로 지정합니다.
모드별 HB 주기
모드 별 하트비트 주기를 설정 합니다.
성능 모드 클래스Select(Options: [Class A | Class B | Class C] (Default in bold)성능(C) 정책일 때 펌웨어에 적용할 LoRa 클래스
절전 모드 클래스Select(Options: [Class A | Class B | Class C] (Default in bold)절전(B) 정책일 때 펌웨어에 적용할 LoRa 클래스
초절전 모드 클래스Select(Options: [Class A | Class B | Class C] (Default in bold)초절전(A) 정책일 때 펌웨어에 적용할 LoRa 클래스
성능 하트비트(분)Integer - Default Value: 30성능(C) 모드 하트비트 주기(분)
절전 하트비트(분)Integer - Default Value: 30절전(B) 모드 하트비트 주기(분)
초절전 하트비트(분)Integer - Default Value: 60초절전(A) 모드 하트비트 주기(분)
임계값 옵션
모드 전환 임계값을 설정합니다. 기본값은 4S 인산철(공칭 12.8V) 기준입니다. 12V 납산 팩이면 12.00 / 11.70 / 11.40 으로 바꿔 주세요 — 두 화학은 전압 곡선이 전혀 다릅니다.
배터리 관리Boolean배터리 전압에 따라 모드를 자동으로 전환합니다. (LoRa 클래스 정책이 자동일 때만 동작)
성능 모드 임계(V)Decimal - Default Value: 13.2안정적으로 운용 가능한 전압 임계값 (4S 인산철: 13.20V ≈ 70%, 납산 12V: 12.00V)
절전 임계(V)Decimal - Default Value: 13.0절전 모드로 전환하는 전압 임계값 (4S 인산철: 13.00V ≈ 25%, 납산 12V: 11.70V)
초절전 임계(V)Decimal - Default Value: 12.8초절전 모드로 전환하는 전압 임계값 (4S 인산철: 12.80V ≈ 10%, 무릎 아래, 납산 12V: 11.40V)
배터리 누락 시 모드 적용 중단Boolean - Default Value: True배터리 측정이 없거나 너무 오래되면 모드/주기 변경을 보류합니다.
링크 RSSI 최소(dBm)Integer - Default Value: -110이상일 때 링크 양호로 간주
링크 SNR 최소(dB)Integer - Default Value: -10이상일 때 링크 양호로 간주
밸브 작동 임계값 (mA)Decimal - Default Value: 50.0배터리 전류가 이 값을 초과하면 밸브가 작동 중인 것으로 간주되어 장치가 성능 모드를 유지합니다. 0이면 이 검사를 비활성화합니다.
디버그 로깅 활성화Boolean모드/주기가 변경되지 않았을 때 "적용 없음" 알림을 로그에 기록합니다. 운영 환경에서는 꺼 두세요.

LoRaWAN 클래스 스케줄러 (대지별)~

대지별 LoRaWAN 클래스 단일 관리 기능입니다. 환경 데이터를 기반으로 Class C(활성/무선 제어)와 Class A(휴식/저전력)를 결정하고, 공유 ChirpStack 장치 프로필을 전환하며, 각 장치에 펌웨어 HB 모드를 브로드캐스트합니다. 장치별 RSSI/SNR/배터리를 저장하고 수동 재정의를 제공합니다. 장치별 LoRaWAN 모드 관리자를 대체합니다.

OptionTypeDescription
평가 주기 (초)Text - Default Value: 600
입력 최대 유효 시간 (초)Text - Default Value: 4000
ChirpStack
REST 포트Integer - Default Value: 8090서버/토큰은 설정 -> ChirpStack에서 가져오며, 장치도 그곳에서 할당합니다("관리 주체").
제어 모드
제어 모드Select(Options: [자동 - 환경 점수 기반 | 수동 - 고정된 일일 C 시간대] (Default in bold)
수동 C 시작 (HH:MM)Text - Default Value: 05:00
수동 C 만료 (HH:MM)Text - Default Value: 17:00
환경 입력 (자동 모드 폴백)
일사량 (W/m2)Select Measurement (Input, Function)빛은 광합성을 좌우합니다. 일사량 측정값을 선택하세요(생략하려면 비워 두세요).
토양 수분 (%)Select Measurement (Input, Function)토양이 젖어 있으면 관수가 필요하지 않습니다.
현재 강우 (mm/h)Select Measurement (Input, Function)현재 비가 내리는 중.
누적 강우량 (mm)Select Measurement (Input, Function)최근 누적 강우 -> 토양 포화.
판정
점수 >= -> 활성Decimal - Default Value: 0.55
점수 < -> 휴식Decimal - Default Value: 0.4
최소 유지 시간 (분)Integer - Default Value: 15
클래스 / HB 주기
활성 Class C HB (분)Integer - Default Value: 10
휴식 Class A HB (분)Integer - Default Value: 30
겨울 Class A HB (분)Integer - Default Value: 60
겨울 (강제 휴식)
겨울 시작 (MM-DD)Text - Default Value: 12-01
겨울 종료 (MM-DD)Text - Default Value: 02-28
배터리 관리
배터리 종류Select(Options: [설정 안 함 (배터리 기준 없음) | 납축전지 (낮음 < 11.7 V / 위험 < 11.4 V) | LiFePO4 (낮음 < 12.8 V / 위험 < 12.0 V)] (Default in bold)ChirpStack 메트릭에서 battery_V를 읽습니다(INA219 배선 필요). 낮음: 수동 재정의가 없으면 휴식을 강제합니다. 위험: 무조건 휴식을 강제하며, 밸브 열림 인터록은 계속 적용됩니다.
배터리 부족 HB (분)Integer - Default Value: 60배터리가 낮음/위험 상태일 때 적용되는 하트비트 주기(분)입니다. 절전 시간을 최대화하려면 휴식 HB 이상이어야 합니다.
Commands
수동 재정의
강제 활성 시간(분) (0 = 만료 시각까지)Integer
지금 강제 활성 (Class C)Button
재정의 해제Button

Neokey 4x1 Neopixel Keyboard (Execute Actions)~

이 기능은 키가 눌릴 때 특정 동작을 실행합니다. 이 모듈 하단에 동작을 추가한 후, 각 키에 대해 하나 이상의 짧은 액션 ID를 입력하고 쉼표로 구분하십시오. 액션 ID는 동작 옆에서 찾을 수 있습니다(예: “[Action 0559689e] Controller: Activate”의 경우 액션 ID는 0559689e입니다). 액션 ID를 입력할 때 여러 개의 ID를 쉼표로 구분하여 입력합니다(예: “asdf1234” 또는 “asdf1234,qwer5678,zxcv0987”). 동작은 입력된 텍스트 문자열의 순서대로 실행됩니다. 키가 눌릴 때 실행할 액션 ID를 입력하십시오. 토글 동작을 활성화하면, 번갈아 가며 키를 누를 때마다 토글된 액션 ID에 나열된 동작이 실행됩니다. 키가 눌리기 전, 눌린 후, 마지막 동작이 실행되는 동안의 LED 색상을 설정할 수 있습니다. 색상은 RGB 문자열로 0~255 범위의 값을 가집니다. 예를 들어, 빨간색은 “255, 0, 0”, 파란색은 “0, 0, 255”로 입력합니다.

OptionTypeDescription
I2C 주소Text - Default Value: 0x30
I2C 버스Integer - Default Value: 1
LED Brightness (0.0-1.0)Decimal - Default Value: 0.2The brightness of the LEDs
LED Flash Period (Seconds)Text - Default Value: 1.0Set the period if the LED begins flashing
Channel Options
이름Text다른 것과 구별하기 위한 이름
LED Delay (Seconds)Text - Default Value: 1.5How long to leave the LED on after the last action executes.
Action ID(s)TextSet which action(s) execute when the key is pressed. Enter one or more Action IDs, separated by commas
Enable Toggling ActionsBooleanAlternate between executing two sets of Actions
Toggled Action ID(s)TextSet which action(s) execute when the key is pressed on even presses. Enter one or more Action IDs, separated by commas
Resting LED Color (RGB)Text - Default Value: 0, 0, 0The RGB color while no actions are running (e.g 10, 0, 0)
Actions Running LED Color: (RGB)Text - Default Value: 0, 255, 0The RGB color while all but the last action is running (e.g 10, 0, 0)
Last Action LED Color (RGB)Text - Default Value: 0, 0, 255The RGB color while the last action is running (e.g 10, 0, 0)
Shutdown LED Color (RGB)Text - Default Value: 0, 0, 0The RGB color when the Function is disabled (e.g 10, 0, 0)

PID 오토튠~

이 기능은 PID 컨트롤러 자동 튜닝을 시도합니다. 즉, 출력을 활성화하고 센서에서 응답을 여러 번 측정하여 P, I, D 게인 값을 계산합니다.작동 상태에 대한 업데이트는 데몬 로그에 기록되며, 자동 튜닝이 성공적으로 완료되면 요약 정보도 데몬 로그에 저장됩니다.현재 측정값을 증가시키는 동작만 지원하며, 측정값을 낮추는 기능은 컨트롤러 코드의 일부 수정이 필요할 수 있습니다.출력이 설정값을 초과하도록 정상적으로 측정값을 증가시키는지 모니터링하려면 대시보드에서 측정값과 출력을 그래프로 표시하는 것을 권장합니다.자동 튜닝 기능은 실험적인 기능이며, 완전히 개발된 상태가 아닙니다. PID 게인을 제대로 생성하지 못할 가능성이 높으므로, 정확한 PID 컨트롤러 튜닝을 위해 이 기능에 의존하지 않는 것이 좋습니다.

OptionTypeDescription
측정값Select Measurement (Input, Function)Select a measurement the selected output will affect
출력Select Device, Measurement, and Channel (Output)Select an output to modulate that will affect the measurement
주기Text - Default Value: 30The period between powering the output
목표값Decimal - Default Value: 50A value sufficiently far from the current measured value that the output is capable of pushing the measurement toward
잡음 대역Decimal - Default Value: 0.5The amount above the setpoint the measurement must reach
출력 상태Decimal - Default Value: 10How many seconds the output will turn on every Period
Currently, only autotuning to raise a condition (measurement) is supported.
방향Select(Options: [Raise | Lower (Cooling/Humidifying)] (Default in bold)The direction the Output will push the Measurement

Spacer~

A spacer to organize Functions.

OptionTypeDescription
색상Text - Default Value: #000000The color of the name text

pH, EC 제어~

이 기능은 pH를 조절하기 위해 두 개의 펌프(산 및 염기 용액)를 사용하며, 전기전도도(EC)를 조절하기 위해 최대 4개의 펌프(A, B, C, D 영양제 용액)를 사용할 수 있습니다. 사용하려는 영양제 용액 출력만 설정하면 됩니다. 설정되지 않은 출력은 EC 조정 시 활성화되지 않으며, 최소 1개에서 최대 4개의 펌프까지 사용할 수 있습니다. 출력은 지속 시간(초) 또는 부피(ml) 단위로 작동할 수 있으며, 각 출력 유형을 선택한 출력 채널에 맞게 설정해야 합니다(지속 시간 조절에는 온/오프 출력 채널, 부피 조절에는 부피 출력 채널 선택). 영양제 용액의 혼합 비율은 각 EC 출력의 지속 시간 또는 부피 설정에 의해 결정됩니다.이메일 알림 필드에 이메일 주소(또는 쉼표로 구분된 여러 개의 주소)를 입력하면, 다음 경우에 알림 이메일이 발송됩니다.
1) pH 값이 설정된 위험 범위를 벗어났을 때, 2) EC 값이 너무 높아 저장 탱크에 물을 추가해야 할 때, 3) 특정 Max Age 범위 내에서 데이터베이스에서 측정값을 찾을 수 없을 때.
각 이메일 알림 유형에는 자체 타이머가 설정되어 있어 동일한 알림이 반복적으로 전송되지 않으며, 설정된 이메일 타이머 지속 시간 동안 동일한 알림이 전송되지 않습니다.
이 지속 시간이 지나면 타이머가 자동으로 재설정되어 새로운 알림 전송이 허용됩니다. 또한, 아래의 사용자 지정 명령(Custom Commands)을 사용하여 이메일 타이머를 수동으로 재설정할 수도 있습니다.
기능이 활성화되면, 상태 텍스트가 화면 하단에 표시되며 조절 정보 및 각 출력의 총 지속 시간/부피가 나타납니다.

OptionTypeDescription
주기 (초)Text - Default Value: 300측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
Status Period (seconds)Integer - Default Value: 60The duration (seconds) to update the Function status on the UI
Measurement Options
pH MeasurementSelect Measurement (Input, Function)Measurement from the pH input
pH: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
EC MeasurementSelect Measurement (Input, Function)Measurement from the EC input
전기 전도도: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Output Options
Output: pH Dose Raise (Base)Select Channel (Output_Channels)Select an output to raise the pH
Output: pH Dose Lower (Acid)Select Channel (Output_Channels)Select an output to lower the pH
pH Output TypeSelect(Options: [Duration (seconds) | Volume (ml)] (Default in bold)Select the output type for the selected Output Channel
pH Output AmountDecimal - Default Value: 2.0The amount to send to the pH dosing pumps (duration or volume)
Output: EC Dose Nutrient ASelect Channel (Output_Channels)Select an output to dose nutrient A
Nutrient A Output TypeSelect(Options: [Duration (seconds) | Volume (ml)] (Default in bold)Select the output type for the selected Output Channel
Nutrient A Output AmountDecimal - Default Value: 2.0The amount to send to the Nutrient A dosing pump (duration or volume)
Output: EC Dose Nutrient BSelect Channel (Output_Channels)Select an output to dose nutrient B
Nutrient B Output TypeSelect(Options: [Duration (seconds) | Volume (ml)] (Default in bold)Select the output type for the selected Output Channel
Nutrient B Output AmountDecimal - Default Value: 2.0The amount to send to the Nutrient B dosing pump (duration or volume)
Output: EC Dose Nutrient CSelect Channel (Output_Channels)Select an output to dose nutrient C
Nutrient C Output TypeSelect(Options: [Duration (seconds) | Volume (ml)] (Default in bold)Select the output type for the selected Output Channel
Nutrient C Output AmountDecimal - Default Value: 2.0The amount to send to the Nutrient C dosing pump (duration or volume)
Output: EC Dose Nutrient DSelect Channel (Output_Channels)Select an output to dose nutrient D
Nutrient D Output TypeSelect(Options: [Duration (seconds) | Volume (ml)] (Default in bold)Select the output type for the selected Output Channel
Nutrient D Output AmountDecimal - Default Value: 2.0The amount to send to the Nutrient D dosing pump (duration or volume)
Setpoint Options
pH SetpointDecimal - Default Value: 5.85The desired pH setpoint
pH HysteresisDecimal - Default Value: 0.35The hysteresis to determine the pH range
EC SetpointDecimal - Default Value: 150.0The desired electrical conductivity setpoint
EC HysteresisDecimal - Default Value: 50.0The hysteresis to determine the EC range
pH Danger Range (High Value)Decimal - Default Value: 7.0This high pH value for the danger range
pH Danger Range (Low Value)Decimal - Default Value: 5.0This low pH value for the danger range
Alert Notification Options
Notification E-MailTextE-mail to notify when there is an issue (blank to disable)
E-Mail Timer Duration (Hours)Decimal - Default Value: 12.0How long to wait between sending e-mail notifications
Commands
Each e-mail notification timer can be manually reset before the expiration.
Reset EC E-mail TimerButton
Reset pH E-mail TimerButton
Reset Measurement Issue E-mail TimerButton
Reset All E-Mail TimersButton
Each total duration and volume can be manually reset.
Reset All TotalsButton
Reset Total Raise pH DurationButton
Reset Total Lower pH DurationButton
Reset Total Raise pH VolumeButton
Reset Total Lower pH VolumeButton
Reset Total EC A DurationButton
Reset Total EC A VolumeButton
Reset Total EC B DurationButton
Reset Total EC B VolumeButton
Reset Total EC C DurationButton
Reset Total EC C VolumeButton
Reset Total EC D DurationButton
Reset Total EC D VolumeButton

데이터 검증~

이 기능 두 개의 측정값을 획득한 후 그 차이를 계산하며, 차이가 설정된 임계값보다 크지 않을 경우 측정값 A를 저장합니다. 이를 통해 한 센서의 측정값을 다른 센서의 측정값과 비교하여 검증할 수 있습니다. 두 센서의 측정값이 일치할 때만 측정값이 저장되므로, 저장된 측정값을 조건부 함수(Conditional Functions) 등에서 활용하여 측정값이 없는 경우 사용자에게 알림을 보내 센서에 문제가 있을 가능성을 알릴 수 있습니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
측정값 ASelect Measurement (Input, Function)Measurement A
측정값 A: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
측정값 BSelect Measurement (Input, Function)Measurement B
측정값 B: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Maximum DifferenceDecimal - Default Value: 10.0The maximum allowed difference between the measurements
Average MeasurementsBooleanStore the average of the measurements in the database

방정식 (Single-Measure)~

이 기능은 측정값을 가져와 사용자가 설정한 수식에 적용한 후, 결과값을 선택된 측정값과 단위로 저장합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
MeasurementSelect Measurement (Input, Output, Function)Measurement to replace "x" in the equation
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
EquationText - Default Value: x*5+2Equation using the measurement

뱅-뱅 히스테릭 (On/Off) (Raise/Lower/Both)~

단순한 Bang-Bang 제어 방식으로, 하나의 입력값을 사용하여 하나 또는 두 개의 출력을 제어합니다.입력을 선택하고, 증가(Raise) 및/또는 감소(Lower) 출력을 설정한 후, **설정값(Setpoint)과 히스테리시스(Hysteresis: 작동 범위)를 입력하고 방향(Direction)을 선택하세요. • Raise 모드 (예: 난방): 입력값이 (설정값 - 히스테리시스) 이하일 때 출력이 켜짐, 입력값이 (설정값 + 히스테리시스) 이상일 때 출력이 꺼짐 • Lower 모드 (예: 냉각): 위 동작과 반대로, 입력값을 낮추기 위해 출력을 켜려 함 • Both: 입력값이 설정값을 유지하도록 Raise 및 Lower를 조정

OptionTypeDescription
측정값Select Measurement (Input, Function)선택된 출력이 영향을 미칠 측정값을 선택하세요.
측정값: 최대 유효 시간 (초)Text - Default Value: 360사용할 측정값의 최대 나이
Output (Raise)Select Device, Measurement, and Channel (Output)Select an output to control that will raise the measurement
Output (Lower)Select Device, Measurement, and Channel (Output)Select an output to control that will lower the measurement
목표값Decimal - Default Value: 50희망 목표값
역동성Decimal - Default Value: 1설정값을 정의하는 제어대역의 양쪽
방향Select(Options: [Raise | Lower | Both] (Default in bold)Raise means the measurement will increase when the control is on (heating). Lower means the measurement will decrease when the output is on (cooling)
주기 (초)Text - Default Value: 5측정 또는 작업 사이의 기간

뱅-뱅 히스테릭 (PWM) (Raise/Lower/Both)~

단순한 Bang-Bang 제어 방식으로, 하나의 입력값을 사용하여 하나의 PWM 출력을 제어합니다.입력을 선택하고, PWM 출력, 설정값(Setpoint) 및 히스테리시스(Hysteresis)를 입력한 후, 방향(Direction)을 선택하세요. • Raise 모드 (예: 난방): 입력값이 (설정값 - 히스테리시스) 이하일 때 출력이 켜짐, 입력값이 (설정값 + 히스테리시스) 이상일 때 출력이 꺼짐 • Lower 모드 (예: 냉각): 위 동작과 반대로, 입력값을 낮추기 위해 출력을 켜려 함 • Both 모드: 입력값이 설정값을 유지하도록 Raise 및 Lower를 조정주의: 이 출력은 PWM 출력(Pulse Width Modulation Output)에서만 작동합니다.

OptionTypeDescription
측정값Select Measurement (Input, Function)Select a measurement the selected output will affect
측정값: 최대 유효 시간 (초)Text - Default Value: 360사용할 측정값의 최대 나이
출력Select Device, Measurement, and Channel (Output)Select an output to control that will affect the measurement
목표값Decimal - Default Value: 50The desired setpoint
역동성Decimal - Default Value: 1The amount above and below the setpoint that defines the control band
방향Select(Options: [Raise | Lower | Both] (Default in bold)Raise means the measurement will increase when the control is on (heating). Lower means the measurement will decrease when the output is on (cooling)
주기 (초)Text - Default Value: 5측정 또는 작업 사이의 기간
Duty Cycle (increase)Decimal - Default Value: 90The duty cycle to increase the measurement
Duty Cycle (maintain)Decimal - Default Value: 55The duty cycle to maintain the measurement
Duty Cycle (decrease)Decimal - Default Value: 20The duty cycle to decrease the measurement
Duty Cycle (shutdown)DecimalThe duty cycle to set when the function shuts down

뱅-뱅 히스테릭(On/Off) (Raise/Lower)~

단순한 Bang-Bang 제어 방식으로, 하나의 입력값을 사용하여 하나의 출력을 제어합니다.입력을 선택하고, 출력, 설정값(Setpoint), 히스테리시스(Hysteresis)를 입력한 후, 방향(Direction)을 선택하세요. • Raise 모드 (예: 난방): 입력값이 (설정값 - 히스테리시스) 이하일 때 출력이 켜지고, 입력값이 (설정값 + 히스테리시스) 이상일 때 출력이 꺼집니다. • Lower 모드 (예: 냉각): 위 동작과 반대로, 입력값을 낮추기 위해 출력을 켜려 합니다.

OptionTypeDescription
측정값Select Measurement (Input, Function)선택된 출력이 영향을 미칠 측정값을 선택하세요.
측정값: 최대 유효 시간 (초)Text - Default Value: 360사용할 측정값의 최대 나이
출력Select Device, Measurement, and Channel (Output)선택된 출력이 영향을 미칠 측정값을 선택하세요.
목표값Decimal - Default Value: 50희망 목표값
역동성Decimal - Default Value: 1설정값을 정의하는 제어대역의 양쪽
방향Select(Options: [Raise | Lower] (Default in bold)Raise means the measurement will increase when the control is on (heating). Lower means the measurement will decrease when the output is on (cooling)
주기 (초)Text - Default Value: 5측정 또는 작업 사이의 기간

습도 (습/건조-불)~

이 기능은 습구 및 건구 온도 측정값을 기반으로 습도를 계산합니다.

OptionTypeDescription
측정값 사용Multi-Select기록할 측정값
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
Dry Bulb TemperatureSelect Measurement (Input, Function)Dry Bulb temperature measurement
건조-불: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Wet Bulb TemperatureSelect Measurement (Input, Function)Wet Bulb temperature measurement
습구계: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
PressureSelect Measurement (Input, Function)Pressure measurement
압력: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이

예비 센서 데이터~

이 기능은 가장 먼저 사용 가능한 측정값을 저장합니다. 여러 개의 센서를 백업 용도로 설정하고자 할 때 유용합니다. 센서를 중요도 순으로 설정하면, 이 기능은 첫 번째 측정값부터 확인하여 존재 여부를 검사하고, 없을 경우 다음 측정값을 확인하는 과정을 반복합니다. 측정값을 찾으면 사용자 지정 측정값과 단위로 데이터베이스에 저장됩니다. 이 기능의 출력은 AoT 전체에서 입력으로 사용할 수 있습니다. 3개 이상의 측정값을 확인해야 하는 경우, 첫 번째 기능의 출력을 두 번째 기능의 입력으로 설정하여 여러 개의 중복 기능을 연쇄적으로 구성할 수 있습니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
Measurement ASelect Measurement (Input, Function)Measurement to replace a
측정값 A: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement BSelect Measurement (Input, Function)Measurement to replace b
측정값 B: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Measurement CSelect Measurement (Input, Function)Measurement to replace C
측정값 C: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이

외부 환경 컨텍스트 수집기~

시설 외부의 온도·습도·풍속·강우·일사량·이슬점·CO₂를 수집합니다. 통합 환경 제어 Function 이 이 수집기를 단일 진실원으로 사용합니다. 각 항목에 해당하는 외부 센서를 선택하세요. 없는 항목은 비워두면 fallback 기본값이 적용됩니다.

OptionTypeDescription
갱신 주기: (초)Text - Default Value: 60수집 주기 (초). 통합 제어 Function 의 사이클과 같거나 짧게 설정하세요.
외부 온도 센서Select Measurement (Input, Function)외부 기온 측정값을 선택하세요.
외부 습도 센서Select Measurement (Input, Function)외부 상대습도 측정값을 선택하세요.
풍속 센서Select Measurement (Input, Function)풍속(m/s) 측정값을 선택하세요.
강우 센서Select Measurement (Input, Function)강우량 또는 강우 감지 측정값을 선택하세요.
일사량 센서Select Measurement (Input, Function)일사량(W/m²) 또는 조도 측정값을 선택하세요.
이슬점 센서Select Measurement (Input, Function)이슬점(°C) 측정값을 선택하세요. 없으면 온도·습도로 계산됩니다.
외부 CO₂ 센서Select Measurement (Input, Function)외부 CO₂(ppm) 측정값을 선택하세요. 없으면 400ppm 기본값.
센서 최대 허용 age (초)Text - Default Value: 120이 시간보다 오래된 측정값은 fallback 기본값으로 대체됩니다.
Fallback 외부 온도 (°C)Decimal - Default Value: 20.0센서가 없거나 만료됐을 때 사용할 기본값.
Fallback 외부 습도 (%)Decimal - Default Value: 60.0
Fallback 풍속 (m/s)Decimal

원격 백업 (rsync)~

이 함수는 rsync를 사용하여 현재 시스템의 데이터를 원격 시스템에 백업합니다. 원격 시스템에는 SSH 서버가 실행 중이어야 하며, rsync가 설치되어 있어야 합니다. 또한, 이 시스템에도 rsync가 설치되어 있어야 하며, SSH 키 파일을 통해 비밀번호 없이 원격 시스템에 접근할 수 있어야 합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 1296000측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 300첫 번째 작업을 시작하기 전에 기다릴 시간
Local UserText - Default Value: piThe user on this system that will run rsync
Remote UserText - Default Value: piThe user to log in to the remote host
Remote HostText - Default Value: 192.168.0.50The IP or host address to send the backup to
Remote Backup PathText - Default Value: /home/pi/backup_aotThe path to backup to on the remote host
Rsync Timeout (Seconds)Integer - Default Value: 3600How long to allow rsync to complete
Local Backup PathTextA local path to backup (leave blank to disable)
Backup Settings Export FileBoolean - Default Value: TrueCreate and backup exported settings file
Remove Local Settings BackupsBooleanRemove local settings backups after successful transfer to remote host
Backup MeasurementsBoolean - Default Value: TrueBackup all influxdb measurements
Remove Local Measurements BackupsBooleanRemove local measurements backups after successful transfer to remote host
Backup Camera DirectoriesBoolean - Default Value: TrueBackup all camera directories
Remove Local Camera ImagesBooleanRemove local camera images after successful transfer to remote host
SSH PortInteger - Default Value: 22Specify a nonstandard SSH port
Commands
Backup of settings are only created if the AoT version or database versions change. This is due to this Function running periodically- if it created a new backup every Period, there would soon be many identical backups. Therefore, if you want to induce the backup of settings, measurements, or camera directories and sync them to your remote system, use the buttons below.
Backup Settings NowButton
Backup Measurements NowButton
Backup Camera Directories NowButton

차이 측정~

이 함수는 두 개의 측정값을 가져와 차이를 계산한 후, 결과값을 선택된 측정값과 단위로 저장합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
측정값: ASelect Measurement (Input, Function)
측정값 A: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
측정값: BSelect Measurement (Input, Function)
측정값 B: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
Reverse OrderBooleanReverse the order in the calculation
Absolute DifferenceBooleanReturn the absolute value of the difference

카메라: libcamera: 이미지/비디오~

주의: 이 기능은 현재 실험 단계이며, 이 공지가 제거될 때까지 사용자의 책임하에 사용해야 합니다.libcamera-still 및 libcamera-vid를 사용하여 카메라에서 이미지와 영상을 캡처합니다.이 기능을 활성화해야 정지 이미지 촬영, 타임랩스 촬영, 카메라 위젯(Camera Widget) 사용이 가능합니다.

OptionTypeDescription
Status Period (seconds)Integer - Default Value: 60The duration (seconds) to update the Function status on the UI
Image options.
Custom Image PathTextSet a non-default path for still images to be saved
Custom Timelapse PathTextSet a non-default path for timelapse images to be saved
Image ExtensionSelect(Options: [JPG | PNG | BMP | RGB | YUV420] (Default in bold)The file type/format to save images
이미지: 해상도: 위젯Integer - Default Value: 720The width of still images
이미지: 해상도: 높이Integer - Default Value: 480The height of still images
밝기DecimalThe brightness of still images (-1 to 1)
이미지: 대비Decimal - Default Value: 1.0The contrast of still images. Larger values produce images with more contrast.
색상Decimal - Default Value: 1.0The saturation of still images. Larger values produce more saturated colours; 0.0 produces a greyscale image.
선명도DecimalThe sharpness of still images. Larger values produce more saturated colours; 0.0 produces a greyscale image.
셔터 속도 (마이크로초)IntegerThe shutter speed, in microseconds. 0 disables and returns to auto exposure.
게인Decimal - Default Value: 1.0The gain of still images.
화이트 밸런스: AutoSelect(Options: [Auto | Incandescent | Tungsten | Fluorescent | Indoor | Daylight | Cloudy | Custom] (Default in bold)The white balance of images
화이트 밸런스: Red GainDecimalThe red gain of white balance for still images (disabled Auto White Balance if red and blue are not set to 0)
화이트 밸런스: Blue GainDecimalThe red gain of white balance for still images (disabled Auto White Balance if red and blue are not set to 0)
Flip HorizontallyBooleanFlip the image horizontally.
Flip VerticallyBooleanFlip the image vertically.
회전 (각도)IntegerRotate the image.
Custom libcamera-still OptionsTextPass custom options to the libcamera-still command.
Video options.
Custom Video PathTextSet a non-default path for videos to be saved
Video ExtensionSelect(Options: [H264 -> MP4 (with ffmpeg) | H264 | MJPEG | YUV420] (Default in bold)The file type/format to save videos
비디오: 해상도: 위젯Integer - Default Value: 720The width of videos
비디오: 해상도: 높이Integer - Default Value: 480The height of videos
Custom libcamera-vid OptionsTextPass custom options to the libcamera-vid command.
Commands
Capture ImageButton
To capture a video, enter the duration and press Capture Video.
Video Duration (Seconds)Integer - Default Value: 5How long to record the video
Capture VideoButton
To start a timelapse, enter the duration and period and press Start Timelapse.
Timelapse Duration (Seconds)Integer - Default Value: 2592000How long the timelapse will run
Timelapse Period (Seconds)Integer - Default Value: 600How often to take a timelapse photo
Start TimelapseButton
To stop an active timelapse, press Stop Timelapse.
Stop TimelapseButton
To pause or resume an active timelapse, press Pause Timelapse or Resume Timelapse.
Pause TimelapseButton
Resume TimelapseButton

통계 (Last, Multiple)~

이 기능은 여러 개의 측정값을 가져와 통계를 계산한 후, 결과값을 선택된 단위로 저장합니다.

OptionTypeDescription
측정값 사용Multi-Select기록할 측정값
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
MeasurementMeasurements to perform statistics on
Halt on Missing MeasurementBooleanDon't calculate statistics if >= 1 measurement is not found within Max Age

통계 (Past, Single)~

이 기능은 하나의 측정값에서 여러 개의 값을 가져와 통계를 계산한 후, 결과값을 선택된 단위로 저장합니다.

OptionTypeDescription
측정값 사용Multi-Select기록할 측정값
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
MeasurementSelect Measurement (Input, Function)Measurement to perform statistics on

평균 (Last, Multiple)~

이 함수는 선택된 측정값 중 마지막 측정값을 가져와 평균을 낸 후,결과값을 선택된 측정값과 단위로 저장합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
MeasurementMeasurement to replace "x" in the equation

평균 (Past, Single)~

이 함수는 선택된 측정값의 과거 측정값(Max Age 내)을 가져와 평균을 계산한 후, 결과값을 해당 측정값과 단위로 저장합니다.참고: InfluxDB 1.8.10에는 mean() 함수가 올바르게 작동하지 않는 버그가 있습니다.따라서 InfluxDB v1.x를 사용하는 경우 median() 함수가 대신 사용됩니다.InfluxDB 2.x에서는 이 문제가 발생하지 않으며, mean() 함수를 정상적으로 사용할 수 있습니다.정확한 평균값을 얻으려면 InfluxDB 2.x로 업그레이드하세요.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
측정값Select Measurement (Input, Function)Measurement to replace "x" in the equation
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이

포화수증기압차(AVPD)~

이 기능은 잎의 온도 및 습도를 사용하여 포화수증기압차(AVPD)를 계산합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60The duration between measurements or actions
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
TemperatureSelect Measurement (Input, Function)Temperature measurement
온도: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
HumiditySelect Measurement (Input, Function)Humidity measurement
습도: 최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이

합계 (Last, Multiple)~

이 기능은 선택된 측정값 중 마지막 값을 가져와 합산한 후, 결과값을 선택된 측정값과 단위로 저장합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이
MeasurementMeasurement to replace "x" in the equation

합계 (Past, Single)~

이 기능은 선택된 측정값의 과거 측정값(Max Age 내)을 가져와 합산한 후, 결과값을 선택된 측정값과 단위로 저장합니다.

OptionTypeDescription
주기 (초)Text - Default Value: 60측정 또는 작업 사이의 기간
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
MeasurementSelect Measurement (Input, Function, Output)Measurement to replace "x" in the equation
최대 유효 시간 (초)Integer - Default Value: 360사용할 측정값의 최대 나이

합산 (누적 / 시점)~

단일 측정값 소스를 시간에 걸쳐 합산합니다. 간격 모드는 주기 사이의 모든 값을 합산합니다(주기별 사용량). 시점 모드는 반복되는 시각(장치 시간대 기준 N시간마다)에 값을 하나씩 샘플링해 최근 N개 스냅숏을 합산합니다. 결과는 선택한 측정값과 단위로 저장됩니다.

OptionTypeDescription
합산 모드Select(Options: [간격 합산 (주기 사이) | 시점 합산 (반복 시각의 값)] (Default in bold)간격: [이전 실행, 현재] 구간의 모든 값을 합산합니다. 시점: 최근 N개 스냅숏 값을 합산합니다.
측정값Select Measurement (Input, Function, Output)합산할 단일 측정값 소스
시작 오프셋 (초)Integer - Default Value: 10첫 번째 작업을 시작하기 전에 기다릴 시간
주기 (초)Text - Default Value: 3600[간격 모드] 합산 사이의 시간 간격
스냅숏 시각 (HH:MM)Text - Default Value: 00:00[시점 모드] 장치 시간대 기준 스냅숏 기준 시각 (예: 00:00). 자정은 24:00을 사용하세요.
스냅숏 간격 (시간)Text - Default Value: 24[시점 모드] 기준 시각부터의 스냅숏 간격(시간) (예: 24 = 하루 1회, 6 = 하루 4회)
시점 개수 (N)Integer - Default Value: 1[시점 모드] 합산할 최근 스냅숏 값의 개수
지금 측정Button