Supported Functions
Built-In Functions~
AoT VPD~
この関数は、葉温と湿度に基づいて飽差(VPD)を計算します。葉温が入力されていない場合は、代わりに気温にオフセットを適用します。
| Option | Type | Description |
|---|---|---|
| 期間 (秒) | 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平均(Last, Multiple)~
この関数は、選択された測定値の最新データを読み取り、算術平均を計算して、指定した測定値/単位で結果を保存します。集計する入力測定値は、下部の[アクション]リストで「AoT Average: Input Measurement」アクションを追加して登録してください。保存されるのは平均値のみで、元の値は個別には保存されません。
| Option | Type | Description |
|---|---|---|
| 期間 (秒) | Text - Default Value: 60 | 測定と計算の間隔(秒) |
| 開始オフセット (秒) | Integer - Default Value: 10 | 最初の測定前の待機時間(秒) |
| 最大経過時間 (秒) | Integer - Default Value: 360 | デフォルトの最大有効期間(秒)。個別の入力アクションで別途設定されている場合は、そちらの値が優先されます。 |
| デバッグロギングを有効化 | Boolean | 周期ごとに計算された平均値をログに記録します。運用環境ではオフのままにしてください。 |
Display: Generic LCD 16x2 (I2C)~
- Dependencies: smbus2
この機能は、I2C経由で16x2 LCDディスプレイに出力を提供します。このディスプレイは一度に2行表示できるため、ライン セット数(Number of Line Sets)を変更するたびに2チャンネルずつ追加されます。LCDは設定された周期(Period)ごとに更新され、次のラインセットが表示されます。したがって、最初に表示される2行はチャンネル0と1、続いて2と3、次に4と5という順に表示されます。すべてのチャンネルが表示された後は、最初に戻って繰り返します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x20 | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
| Commands | ||
| Backlight On | Button | |
| Backlight Off | Button | |
| Backlight Flashing On | Button | |
| Backlight Flashing Off | Button | |
Display: Generic LCD 20x4 (I2C)~
- Dependencies: smbus2
この機能は、I2C経由で20x4 LCDディスプレイに出力を提供します。このディスプレイは一度に4行表示できるため、ライン セット数(Number of Line Sets)を変更するたびに4チャンネルずつ追加されます。LCDは設定された周期(Period)ごとに更新され、次のラインセットが表示されます。したがって、最初に表示される4行はチャンネル0、1、2、3、続いて4、5、6、7、次に8、9、10、11という順に表示されます。すべてのチャンネルが表示された後は、最初に戻って繰り返します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x20 | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
| Commands | ||
| Backlight On | Button | |
| Backlight Off | Button | |
Display: Grove LCD 16x2 (I2C)~
- Dependencies: smbus2
この機能は、I2C経由でGrove 16x2 LCDディスプレイに出力を提供します。このディスプレイは一度に2行表示できるため、ライン セット数(Number of Line Sets)を変更するたびに2チャンネルずつ追加されます。LCDは設定された周期(Period)ごとに更新され、次のラインセットが表示されます。したがって、最初に表示される2行はチャンネル0と1、続いてチャンネル2と3、次にチャンネル4と5という順に表示されます。すべてのチャンネルが表示された後は、最初に戻って繰り返します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x3e | |
| I2Cバス | Integer - Default Value: 1 | |
| Backlight I2C Address | Text - Default Value: 0x62 | I2C address to control the backlight |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Backlight Red (0 - 255) | Integer - Default Value: 255 | Set the red color value of the backlight on startup. |
| Backlight Green (0 - 255) | Integer - Default Value: 255 | Set the green color value of the backlight on startup. |
| Backlight Blue (0 - 255) | Integer - Default Value: 255 | Set the blue color value of the backlight on startup. |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
| Commands | ||
| Backlight On | Button | |
| Backlight Off | Button | |
| Color (RGB) | Text - Default Value: 255,0,0 | Color as R,G,B values (e.g. "255,0,0" without quotes) |
| Set Backlight Color | Button | |
Display: SSD1306 OLED 128x32 [2 Lines] (I2C)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
この機能は、I2C経由で128x32 SSD1306 OLEDディスプレイに出力を提供します。このディスプレイ機能は一度に2行表示できるため、ライン セット数(Number of Line Sets)を変更するたびに2チャンネルずつ追加されます。LCDは設定された周期(Period)ごとに更新され、次のラインセットが表示されます。したがって、最初に表示されるラインセットはチャンネル0-1、続いて2-3、次に4-5という順に表示されます。すべてのチャンネルが表示された後は、最初に戻って繰り返します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x3c | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Reset Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to RST of the display |
| Characters Per Line | Integer - Default Value: 17 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 12 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x32 [2 Lines] (SPI)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-GPIO, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| SPI Device | Integer | The SPI device |
| SPI Bus | Integer | The SPI bus |
| DC Pin | Integer - Default Value: 16 | The pin (BCM numbering) connected to DC of the display |
| Reset Pin | Integer - Default Value: 19 | The pin (BCM numbering) connected to RST of the display |
| CS Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to CS of the display |
| Characters Per Line | Integer - Default Value: 17 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 12 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x32 [4 Lines] (I2C)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
この機能は、I2C経由で128x32 SSD1306 OLEDディスプレイに出力を提供します。このディスプレイ機能は一度に4行表示できるため、ライン セット数(Number of Line Sets)を変更するたびに4チャンネルずつ追加されます。LCDは設定された周期(Period)ごとに更新され、次のラインセットが表示されます。したがって、最初に表示されるラインセットはチャンネル0-3、続いて4-7、次に8-11という順に表示されます。すべてのチャンネルが表示された後は、最初に戻って繰り返します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x3c | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Reset Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to RST of the display |
| Characters Per Line | Integer - Default Value: 21 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 10 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x32 [4 Lines] (SPI)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-GPIO, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| SPI Device | Integer | The SPI device |
| SPI Bus | Integer | The SPI bus |
| DC Pin | Integer - Default Value: 16 | The pin (BCM numbering) connected to DC of the display |
| Reset Pin | Integer - Default Value: 19 | The pin (BCM numbering) connected to RST of the display |
| CS Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to CS of the display |
| Characters Per Line | Integer - Default Value: 21 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 10 | The size of the font, in points |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x64 [4 Lines] (I2C)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x3c | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Reset Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to RST of the display |
| Characters Per Line | Integer - Default Value: 17 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 12 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x64 [4 Lines] (SPI)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-GPIO, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| SPI Device | Integer | The SPI device |
| SPI Bus | Integer | The SPI bus |
| DC Pin | Integer - Default Value: 16 | The pin (BCM numbering) connected to DC of the display |
| Reset Pin | Integer - Default Value: 19 | The pin (BCM numbering) connected to RST of the display |
| CS Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to CS of the display |
| Characters Per Line | Integer - Default Value: 17 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 12 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x64 [8 Lines] (I2C)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x3c | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Reset Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to RST of the display |
| Characters Per Line | Integer - Default Value: 21 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 10 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1306 OLED 128x64 [8 Lines] (SPI)~
- Dependencies: libjpeg-dev, Pillow, pyusb, Adafruit-GPIO, Adafruit-extended-bus, adafruit-circuitpython-framebuf, adafruit-circuitpython-ssd1306
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| SPI Device | Integer | The SPI device |
| SPI Bus | Integer | The SPI bus |
| DC Pin | Integer - Default Value: 16 | The pin (BCM numbering) connected to DC of the display |
| Reset Pin | Integer - Default Value: 19 | The pin (BCM numbering) connected to RST of the display |
| CS Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to CS of the display |
| Characters Per Line | Integer - Default Value: 21 | The maximum number of characters to display per line |
| Use Non-Default Font | Boolean | Don't use the default font. Enable to specify the path to a font to use. |
| Non-Default Font Path | Text - Default Value: /usr/share/fonts/truetype/dejavu//DejaVuSans.ttf | The path to the non-default font to use |
| Font Size (pt) | Integer - Default Value: 10 | The size of the font, in points |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Display: SSD1309 OLED 128x64 [8 Lines] (I2C)~
- Dependencies: pyusb, luma.oled, Pillow, libjpeg-dev, zlib1g-dev, libfreetype6-dev, liblcms2-dev, libopenjp2-7, libtiff5
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.
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 10 | 測定またはアクションの間隔時間 |
| I2Cアドレス | Text - Default Value: 0x3c | |
| I2Cバス | Integer - Default Value: 1 | |
| Number of Line Sets | Integer - Default Value: 1 | How many sets of lines to cycle on the LCD |
| Reset Pin | Integer - Default Value: 17 | The pin (BCM numbering) connected to RST of the display |
| Channel Options | ||
| Line Display Type | Select | What to display on the line |
| Measurement | Select Measurement (Input, Function, Output, PID) | Measurement to display on the line |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement Label | Text | Set to overwrite the default measurement label |
| Measurement Decimal | Integer - Default Value: 1 | The number of digits after the decimal |
| テキスト | Text - Default Value: Text | Text to display |
| Display Unit | Boolean - Default Value: True | Display the measurement unit (if available) |
Equation (Multi-Measure)~
この機能は2つの測定値を取得し、ユーザー定義の数式に適用した後、その結果を選択した測定値と単位で保存します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 測定: A | Select Measurement (Input, Output, Function) | Measurement to replace a |
| 測定 A: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| 測定: B | Select Measurement (Input, Output, Function) | Measurement to replace b |
| 測定 B: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| 方程式 | Text - Default Value: a*(2+b) | Equation using measurements a and b |
Example: Generic~
- Dependencies: build-essential
この機能モジュールは、さまざまなUIオプションの種類を示すサンプルです。新しいカスタム機能モジュールの開発方法を学習する目的にのみ使用されるもので、それ以外の実用的な用途はありません。このメッセージは機能オプションの上に表示されます。この機能は最後に選択された測定値を取得し、選択した出力を15秒間オンにした後、無効化します。コードを分析して独自の機能モジュールを開発し、機能インポート(Function Import)ページからインポートできるように設定してください。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | 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 Input | Text - Default Value: Text_1 | Type in text |
| Integer Input | Integer - Default Value: 100 | Type in an Integer |
| Devimal Input | Decimal - Default Value: 50.2 | Type in a decimal value |
| A boolean value can be made using a checkbox. | ||
| Boolean Value | Boolean - Default Value: True | Set 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 Option | Select(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 Measurement | Select 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 Measurement | Select 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 Device | Select Device | Select 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 Device | Select Device | Select 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 Value | Integer - Default Value: 650 | Value for button one. |
| Button One | Button | |
| 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 Value | Integer - Default Value: 1500 | Value for button two. |
| Button Two | Button | |
LoRaWAN モード/周期マネージャー (RAK3172E)~
バッテリー・時間帯・バルブ動作・リンク品質に基づいてClass/ハートビート周期を決定します。ChirpStack gRPC(DeviceService.Enqueue)を通じて直接ダウンリンクをキューイングします。
| Option | Type | Description |
|---|---|---|
| デバイスの役割 | Select(Options: [コントローラー (バルブ/アクチュエーター) — Class C優先 | センサー — Class A、低消費電力 (ゲートウェイGPS不要) | ハイブリッド — 手動設定] (Default in bold) | コントローラー: 稼働時間中はClass C、夜間はClass B。センサー: 常時Class A(ゲートウェイGPS不要)、夜間はHBを延長。ハイブリッド: 以下の設定をそのまま適用します。 |
| 期間 (Seconds) | Text - Default Value: 60 | 判定および適用周期 (秒) |
| サーバー接続 | ||
| ChirpStack gRPC サーバー | Text - Default Value: 127.0.0.1:8080 | host:port形式 (例: 127.0.0.1:8080) またはhttp(s)://host:port |
| API Key | Text | JWTトークンの値を入力してください (「Bearer」は除く) |
| DevEUI | Text | 16桁の16進数DevEUI (区切り文字使用可) |
| 測定入力 | ||
| ChirpStack REST Port | Integer - Default Value: 8090 | ChirpStack REST APIポート (デフォルト8090) |
| 測定: 最大経過時間 (Seconds) | Text - Default Value: 4000 | ChirpStackのメトリクス履歴をさかのぼって参照する範囲(秒) |
| 再試行間隔 (分) | Decimal | ACKがない場合に同じモードを再適用する間隔(0で再試行を無効化) |
| LoRaクラスポリシー | Select(Options: [自動 | CLASS-A | CLASS-B | CLASS-C] (Default in bold) | 自動モードのときのみモードに応じてClassが切り替わります。特定のクラスを選択した場合は、そのクラスが維持されます。 |
| 入力値が有効な場合のみモードを切り替える | Boolean | 入力条件/測定値が有効な場合のみモードを適用します |
| 稼働時間帯 パフォーマンスモードで動作する時間を設定します。0〜24を入力するか、開始時刻と終了時刻を同じにすると24時間になります。 | ||
| 運用時間の基準 | Select(Options: [固定時刻 — 下の開始・終了時刻 | 日の出〜日の入り — この位置の季節に追従] (Default in bold) | 固定時刻は一年中同じ時刻を使います。日の出〜日の入り基準はこの装置がある場所の昼の長さに追従するため、毎月時刻を入力し直さなくても性能モードが季節に追従します。位置は地図から継承し、位置を解決できない場合は下の固定時刻を代わりに使用します。 |
| 日の出オフセット (分) | 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モードマネージャーを置き換えるものです。
| Option | Type | Description |
|---|---|---|
| 評価周期 (Seconds) | 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 | |
| 環境入力 (AUTOモードのフォールバック) | ||
| 日射量 (W/m2) | Select Measurement (Input, Function) | 光は光合成を左右します。日射量の測定値を選択してください(スキップする場合は空欄のままにしてください)。 |
| 土壌水分 (%) | Select Measurement (Input, Function) | 土壌が湿っている場合は灌水は不要です。 |
| 現在の降雨量 (mm/h) | Select Measurement (Input, Function) | 現在降雨中。 |
| 累積降雨量 (mm) | Select Measurement (Input, Function) | 最近の累積降雨 -> 土壌飽和。 |
| 判定 | ||
| スコア >= -> ACTIVE | Decimal - Default Value: 0.55 | |
| スコア < -> REST | Decimal - Default Value: 0.4 | |
| 最小滞留時間 (分) | Integer - Default Value: 15 | |
| クラス / HB 周期 | ||
| ACTIVE時のClass C HB (分) | Integer - Default Value: 10 | |
| REST時のClass A HB (分) | Integer - Default Value: 30 | |
| 冬季のClass A HB (分) | Integer - Default Value: 60 | |
| 冬季 (強制REST) | ||
| 冬季開始 (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の配線が必要)。低下時: 手動オーバーライドが有効でない限りRESTを強制します。危険時: 無条件でRESTを強制し、バルブ開放インターロックも引き続き適用されます。 |
| バッテリー低下時のHB (分) | Integer - Default Value: 60 | バッテリーが低下または危険な状態のときに適用されるハートビート周期(分)です。スリープ時間を最大化するには、REST HB以上に設定してください。 |
| Commands | ||
| 手動上書き | ||
| 強制アクティブ時間(分)(0 = 有効期限まで) | Integer | |
| 今すぐ強制アクティブ化 (Class C) | Button | |
| 上書きを解除 | Button | |
Neokey 4x1 Neopixel Keyboard (Execute Actions)~
- Dependencies: pyusb, Adafruit-extended-bus, adafruit-circuitpython-neokey
この機能は、キーが押されたときに特定のアクションを実行します。このモジュールの下部にアクションを追加した後、各キーに対して1つ以上の短いアクションIDをカンマ区切りで入力してください。アクションIDは各アクションの横に表示されます(例:「[Action 0559689e] Controller: Activate」の場合、アクションIDは0559689eです)。複数のアクションIDを入力する場合は、カンマで区切ってください(例:「asdf1234」または「asdf1234,qwer5678,zxcv0987」)。アクションは入力された文字列の順序で実行されます。キーが押されたときに実行するアクションIDを入力してください。トグルアクションを有効にすると、キーを押すたびに交互に、トグルされたアクションIDに記載されたアクションが実行されます。キーが押される前、押された後、そして最後のアクションが実行されている間のLEDの色を設定できます。色は0~255の範囲の値を持つRGB文字列です。例えば、赤は「255, 0, 0」、青は「0, 0, 255」と入力します。
| Option | Type | Description |
|---|---|---|
| I2Cアドレス | Text - Default Value: 0x30 | |
| I2Cバス | Integer - Default Value: 1 | |
| LED Brightness (0.0-1.0) | Decimal - Default Value: 0.2 | The brightness of the LEDs |
| LED Flash Period (Seconds) | Text - Default Value: 1.0 | Set the period if the LED begins flashing |
| Channel Options | ||
| 名前 | Text | 他と区別するための名前 |
| LED Delay (Seconds) | Text - Default Value: 1.5 | How long to leave the LED on after the last action executes. |
| Action ID(s) | Text | Set which action(s) execute when the key is pressed. Enter one or more Action IDs, separated by commas |
| Enable Toggling Actions | Boolean | Alternate between executing two sets of Actions |
| Toggled Action ID(s) | Text | Set 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, 0 | The RGB color while no actions are running (e.g 10, 0, 0) |
| Actions Running LED Color: (RGB) | Text - Default Value: 0, 255, 0 | The 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, 255 | The RGB color while the last action is running (e.g 10, 0, 0) |
| Shutdown LED Color (RGB) | Text - Default Value: 0, 0, 0 | The RGB color when the Function is disabled (e.g 10, 0, 0) |
PIDオートチューン~
この機能はPIDコントローラーの自動調整を試みます。つまり、出力を有効化し、センサーからの応答を複数回測定してP、I、Dのゲイン値を計算します。動作状況の更新はデーモンログに記録され、オートチューニングが正常に完了すると、要約情報もデーモンログに保存されます。現在の測定値を上げる動作のみがサポートされており、測定値を下げる場合はコントローラーコードの修正が必要になることがあります。出力が正常に測定値を設定値以上に上げているかを監視するには、ダッシュボードで測定値と出力をグラフ表示することを推奨します。オートチューニング機能は実験的なものであり、完全には開発されていません。適切なPIDゲインを生成できない可能性が高いため、正確なPIDコントローラー調整をこの機能に頼らないことを推奨します。
| Option | Type | Description |
|---|---|---|
| 測定 | 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: 30 | The period between powering the output |
| 設定値 | Decimal - Default Value: 50 | A value sufficiently far from the current measured value that the output is capable of pushing the measurement toward |
| ノイズバンド | Decimal - Default Value: 0.5 | The amount above the setpoint the measurement must reach |
| アウトステップ | Decimal - Default Value: 10 | How 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.
| Option | Type | Description |
|---|---|---|
| 色 | Text - Default Value: #000000 | The color of the name text |
pH、EC調整~
この機能はpH調整に2台のポンプ(酸性・塩基性溶液)を使用し、電気伝導度(EC)調整には最大4台のポンプ(A、B、C、D養液)を使用できます。使用する養液の出力のみを設定すれば十分です。設定されていない出力はEC調整時に作動せず、1台から4台のポンプを使用できます。出力は継続時間(秒)または量(ml)単位で動作でき、各出力タイプは選択した出力チャンネルに合わせる必要があります(継続時間制御にはオン/オフ出力チャンネル、量制御には量出力チャンネル)。養液の混合比率は、各EC出力の継続時間または量の設定によって決まります。メール通知フィールドにメールアドレス(またはカンマ区切りで複数のアドレス)を入力すると、次の場合に通知メールが送信されます。
1) pH値が設定された危険範囲を外れたとき、2) EC値が高すぎて貯水タンクに水を追加する必要があるとき、3) 指定したMax Age範囲内でデータベースに測定値が見つからないとき。
各メール通知タイプには専用のタイマーがあり、同じ通知が繰り返し送信されることはなく、設定されたメールタイマーの期間中は同じ通知が送信されません。
この期間が経過するとタイマーは自動的にリセットされ、新しい通知を送信できるようになります。以下のカスタムコマンド(Custom Commands)を使用して、メールタイマーを手動でリセットすることもできます。
この機能が有効な場合、画面下部にステータステキストが表示され、調整情報と各出力の合計継続時間/量が表示されます。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 300 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| Status Period (seconds) | Integer - Default Value: 60 | The duration (seconds) to update the Function status on the UI |
| Measurement Options | ||
| pH Measurement | Select Measurement (Input, Function) | Measurement from the pH input |
| pH: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| EC Measurement | Select Measurement (Input, Function) | Measurement from the EC input |
| 電気伝導率: 最大経過時間 (Seconds) | 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 Type | Select(Options: [Duration (seconds) | Volume (ml)] (Default in bold) | Select the output type for the selected Output Channel |
| pH Output Amount | Decimal - Default Value: 2.0 | The amount to send to the pH dosing pumps (duration or volume) |
| Output: EC Dose Nutrient A | Select Channel (Output_Channels) | Select an output to dose nutrient A |
| Nutrient A Output Type | Select(Options: [Duration (seconds) | Volume (ml)] (Default in bold) | Select the output type for the selected Output Channel |
| Nutrient A Output Amount | Decimal - Default Value: 2.0 | The amount to send to the Nutrient A dosing pump (duration or volume) |
| Output: EC Dose Nutrient B | Select Channel (Output_Channels) | Select an output to dose nutrient B |
| Nutrient B Output Type | Select(Options: [Duration (seconds) | Volume (ml)] (Default in bold) | Select the output type for the selected Output Channel |
| Nutrient B Output Amount | Decimal - Default Value: 2.0 | The amount to send to the Nutrient B dosing pump (duration or volume) |
| Output: EC Dose Nutrient C | Select Channel (Output_Channels) | Select an output to dose nutrient C |
| Nutrient C Output Type | Select(Options: [Duration (seconds) | Volume (ml)] (Default in bold) | Select the output type for the selected Output Channel |
| Nutrient C Output Amount | Decimal - Default Value: 2.0 | The amount to send to the Nutrient C dosing pump (duration or volume) |
| Output: EC Dose Nutrient D | Select Channel (Output_Channels) | Select an output to dose nutrient D |
| Nutrient D Output Type | Select(Options: [Duration (seconds) | Volume (ml)] (Default in bold) | Select the output type for the selected Output Channel |
| Nutrient D Output Amount | Decimal - Default Value: 2.0 | The amount to send to the Nutrient D dosing pump (duration or volume) |
| Setpoint Options | ||
| pH Setpoint | Decimal - Default Value: 5.85 | The desired pH setpoint |
| pH Hysteresis | Decimal - Default Value: 0.35 | The hysteresis to determine the pH range |
| EC Setpoint | Decimal - Default Value: 150.0 | The desired electrical conductivity setpoint |
| EC Hysteresis | Decimal - Default Value: 50.0 | The hysteresis to determine the EC range |
| pH Danger Range (High Value) | Decimal - Default Value: 7.0 | This high pH value for the danger range |
| pH Danger Range (Low Value) | Decimal - Default Value: 5.0 | This low pH value for the danger range |
| Alert Notification Options | ||
| Notification E-Mail | Text | E-mail to notify when there is an issue (blank to disable) |
| E-Mail Timer Duration (Hours) | Decimal - Default Value: 12.0 | How 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 Timer | Button | |
| Reset pH E-mail Timer | Button | |
| Reset Measurement Issue E-mail Timer | Button | |
| Reset All E-Mail Timers | Button | |
| Each total duration and volume can be manually reset. | ||
| Reset All Totals | Button | |
| Reset Total Raise pH Duration | Button | |
| Reset Total Lower pH Duration | Button | |
| Reset Total Raise pH Volume | Button | |
| Reset Total Lower pH Volume | Button | |
| Reset Total EC A Duration | Button | |
| Reset Total EC A Volume | Button | |
| Reset Total EC B Duration | Button | |
| Reset Total EC B Volume | Button | |
| Reset Total EC C Duration | Button | |
| Reset Total EC C Volume | Button | |
| Reset Total EC D Duration | Button | |
| Reset Total EC D Volume | Button | |
カメラ: libcamera: 画像/ビデオ~
- Dependencies: libcamera-apps, ffmpeg
注意:この機能は現在実験的なものであり、本通知が削除されるまでは自己責任でご使用ください。libcamera-stillおよびlibcamera-vidを使用してカメラから画像と動画をキャプチャします。静止画の撮影、タイムラプスの撮影、カメラウィジェットの使用にはこの機能を有効にする必要があります。
| Option | Type | Description |
|---|---|---|
| Status Period (seconds) | Integer - Default Value: 60 | The duration (seconds) to update the Function status on the UI |
| Image options. | ||
| Custom Image Path | Text | Set a non-default path for still images to be saved |
| Custom Timelapse Path | Text | Set a non-default path for timelapse images to be saved |
| Image Extension | Select(Options: [JPG | PNG | BMP | RGB | YUV420] (Default in bold) | The file type/format to save images |
| 画像: 解像度: 幅 | Integer - Default Value: 720 | The width of still images |
| 画像: 解像度: 高さ | Integer - Default Value: 480 | The height of still images |
| 明るさ | Decimal | The brightness of still images (-1 to 1) |
| 画像: コントラスト | Decimal - Default Value: 1.0 | The contrast of still images. Larger values produce images with more contrast. |
| 彩度 | Decimal - Default Value: 1.0 | The saturation of still images. Larger values produce more saturated colours; 0.0 produces a greyscale image. |
| シャープネス | Decimal | The sharpness of still images. Larger values produce more saturated colours; 0.0 produces a greyscale image. |
| シャッタースピード (マイクロ秒) | Integer | The shutter speed, in microseconds. 0 disables and returns to auto exposure. |
| ゲイン | Decimal - Default Value: 1.0 | The gain of still images. |
| ホワイトバランス: Auto | Select(Options: [Auto | Incandescent | Tungsten | Fluorescent | Indoor | Daylight | Cloudy | Custom] (Default in bold) | The white balance of images |
| ホワイトバランス: Red Gain | Decimal | The red gain of white balance for still images (disabled Auto White Balance if red and blue are not set to 0) |
| ホワイトバランス: Blue Gain | Decimal | The red gain of white balance for still images (disabled Auto White Balance if red and blue are not set to 0) |
| Flip Horizontally | Boolean | Flip the image horizontally. |
| Flip Vertically | Boolean | Flip the image vertically. |
| 回転 (度) | Integer | Rotate the image. |
| Custom libcamera-still Options | Text | Pass custom options to the libcamera-still command. |
| Video options. | ||
| Custom Video Path | Text | Set a non-default path for videos to be saved |
| Video Extension | Select(Options: [H264 -> MP4 (with ffmpeg) | H264 | MJPEG | YUV420] (Default in bold) | The file type/format to save videos |
| ビデオ: 解像度: 幅 | Integer - Default Value: 720 | The width of videos |
| ビデオ: 解像度: 高さ | Integer - Default Value: 480 | The height of videos |
| Custom libcamera-vid Options | Text | Pass custom options to the libcamera-vid command. |
| Commands | ||
| Capture Image | Button | |
| To capture a video, enter the duration and press Capture Video. | ||
| Video Duration (Seconds) | Integer - Default Value: 5 | How long to record the video |
| Capture Video | Button | |
| To start a timelapse, enter the duration and period and press Start Timelapse. | ||
| Timelapse Duration (Seconds) | Integer - Default Value: 2592000 | How long the timelapse will run |
| Timelapse Period (Seconds) | Integer - Default Value: 600 | How often to take a timelapse photo |
| Start Timelapse | Button | |
| To stop an active timelapse, press Stop Timelapse. | ||
| Stop Timelapse | Button | |
| To pause or resume an active timelapse, press Pause Timelapse or Resume Timelapse. | ||
| Pause Timelapse | Button | |
| Resume Timelapse | Button | |
データ検証~
この機能は2つの測定値を取得してその差を計算し、差が設定した閾値を超えていない場合に測定値Aを保存します。これにより、あるセンサーの測定値を別のセンサーの測定値と照合して検証できます。2つのセンサーの値が一致した場合にのみ測定値が保存されるため、保存された測定値を条件付き関数(Conditional Functions)などで利用し、測定値が存在しない場合にユーザーへ通知してセンサーの不具合の可能性を知らせることができます。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 測定 A | Select Measurement (Input, Function) | Measurement A |
| 測定 A: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| 測定 B | Select Measurement (Input, Function) | Measurement B |
| 測定 B: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Maximum Difference | Decimal - Default Value: 10.0 | The maximum allowed difference between the measurements |
| Average Measurements | Boolean | Store the average of the measurements in the database |
バンバン・ヒステリシス制御(On/Off)(Raise/Lower)~
シンプルなBang-Bang制御方式で、1つの入力値を使用して1つの出力を制御します。入力を選択し、出力、設定値(Setpoint)、ヒステリシス(Hysteresis)を入力してから、方向(Direction)を選択してください。 • Raiseモード(例:暖房):入力値が(設定値-ヒステリシス)以下になると出力がオンになり、(設定値+ヒステリシス)以上になるとオフになります。 • Lowerモード(例:冷房):上記の逆で、入力値を下げるために出力をオンにします。
| Option | Type | Description |
|---|---|---|
| 測定 | Select Measurement (Input, Function) | Select a measurement the selected output will affect |
| 測定: 最大経過時間 (Seconds) | Text - Default Value: 360 | 使用する測定値の最大経過時間 |
| 出力 | Select Device, Measurement, and Channel (Output) | Select an output to control that will affect the measurement |
| 設定値 | 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) |
| 期間 (Seconds) | Text - Default Value: 5 | 測定またはアクションの間隔時間 |
バンバン・ヒステリシス制御(On/Off)(Raise/Lower/Both)~
シンプルなBang-Bang制御方式で、1つの入力値を使用して1つまたは2つの出力を制御します。入力を選択し、Raise出力および/またはLower出力を設定した上で、設定値(Setpoint)とヒステリシス(Hysteresis:作動範囲)を入力し、方向(Direction)を選択してください。 • Raiseモード(例:暖房):入力値が(設定値-ヒステリシス)以下になると出力がオンになり、(設定値+ヒステリシス)以上になるとオフになります。 • Lowerモード(例:冷房):上記の逆で、入力値を下げるために出力をオンにします。 • Both:入力値を設定値に保つよう、RaiseとLowerを調整します。
| Option | Type | Description |
|---|---|---|
| 測定 | Select Measurement (Input, Function) | Select a measurement the selected output will affect |
| 測定: 最大経過時間 (Seconds) | 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) |
| 期間 (Seconds) | Text - Default Value: 5 | 測定またはアクションの間隔時間 |
バンバン・ヒステリシス制御(PWM)(Raise/Lower/Both)~
シンプルなBang-Bang制御方式で、1つの入力値を使用して1つのPWM出力を制御します。入力を選択し、PWM出力、設定値(Setpoint)、ヒステリシス(Hysteresis)を入力してから、方向(Direction)を選択してください。 • Raiseモード(例:暖房):入力値が(設定値-ヒステリシス)以下になると出力がオンになり、(設定値+ヒステリシス)以上になるとオフになります。 • Lowerモード(例:冷房):上記の逆で、入力値を下げるために出力をオンにします。 • Bothモード:入力値を設定値に保つよう、RaiseとLowerを調整します。注意:この出力はPWM(パルス幅変調)出力でのみ動作します。
| Option | Type | Description |
|---|---|---|
| 測定 | Select Measurement (Input, Function) | Select a measurement the selected output will affect |
| 測定: 最大経過時間 (Seconds) | Text - Default Value: 360 | 使用する測定値の最大経過時間 |
| 出力 | Select Device, Measurement, and Channel (Output) | Select an output to control that will affect the measurement |
| 設定値 | Decimal - Default Value: 50 | The desired setpoint |
| ヒステリシス | Decimal - Default Value: 1 | The 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) |
| 期間 (Seconds) | Text - Default Value: 5 | 測定またはアクションの間隔時間 |
| Duty Cycle (increase) | Decimal - Default Value: 90 | The duty cycle to increase the measurement |
| Duty Cycle (maintain) | Decimal - Default Value: 55 | The duty cycle to maintain the measurement |
| Duty Cycle (decrease) | Decimal - Default Value: 20 | The duty cycle to decrease the measurement |
| Duty Cycle (shutdown) | Decimal | The duty cycle to set when the function shuts down |
リモートバックアップ(rsync)~
- Dependencies: rsync
この関数は、rsyncを使用して現在のシステムデータをリモートシステムにバックアップします。リモートシステムではSSHサーバーが稼働しており、rsyncがインストールされている必要があります。また、このシステムにもrsyncがインストールされており、SSHキーファイルを使用してパスワードなしでリモートシステムにアクセスできる必要があります。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 1296000 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 300 | 初回動作までの待機時間 |
| Local User | Text - Default Value: pi | The user on this system that will run rsync |
| Remote User | Text - Default Value: pi | The user to log in to the remote host |
| Remote Host | Text - Default Value: 192.168.0.50 | The IP or host address to send the backup to |
| Remote Backup Path | Text - Default Value: /home/pi/backup_aot | The path to backup to on the remote host |
| Rsync Timeout (Seconds) | Integer - Default Value: 3600 | How long to allow rsync to complete |
| Local Backup Path | Text | A local path to backup (leave blank to disable) |
| Backup Settings Export File | Boolean - Default Value: True | Create and backup exported settings file |
| Remove Local Settings Backups | Boolean | Remove local settings backups after successful transfer to remote host |
| Backup Measurements | Boolean - Default Value: True | Backup all influxdb measurements |
| Remove Local Measurements Backups | Boolean | Remove local measurements backups after successful transfer to remote host |
| Backup Camera Directories | Boolean - Default Value: True | Backup all camera directories |
| Remove Local Camera Images | Boolean | Remove local camera images after successful transfer to remote host |
| SSH Port | Integer - Default Value: 22 | Specify 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 Now | Button | |
| Backup Measurements Now | Button | |
| Backup Camera Directories Now | Button | |
冗長センサーデータ~
この機能は最初に取得できた測定値を保存します。複数のセンサーをバックアップ用に設定したい場合に便利です。センサーを優先順位で並べておくと、この機能は最初の測定値の有無を確認し、存在しない場合は次の測定値を確認するという処理を繰り返します。測定値が見つかると、カスタム測定項目と単位でデータベースに保存されます。この機能の出力はAoT全体で入力として使用できます。3つ以上の測定値を確認する必要がある場合は、最初の機能の出力を2番目の機能の入力に設定することで、複数の冗長機能を連鎖させることができます。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| Measurement A | Select Measurement (Input, Function) | Measurement to replace a |
| 測定 A: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement B | Select Measurement (Input, Function) | Measurement to replace b |
| 測定 B: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement C | Select Measurement (Input, Function) | Measurement to replace C |
| 測定 C: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
合計 (Last, Multiple)~
この機能は選択した各測定値の最新値を取得して合計し、結果を選択した測定値と単位で保存します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement | Measurement to replace "x" in the equation |
合計 (Past, Single)~
この機能は選択した測定値の過去の測定値(Max Age以内)を取得して合計し、結果を選択した測定値と単位で保存します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| Measurement | Select Measurement (Input, Function, Output) | Measurement to replace "x" in the equation |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
合計 (累積 / 時点)~
単一の測定値ソースを時間経過に沿って合計します。間隔モードはサイクル間のすべての値を合計します(サイクルごとの使用量)。時点モードは、繰り返される時刻(デバイスのタイムゾーンでN時間ごと)に値を1つずつサンプリングし、直近N個のスナップショットを合計します。結果は選択した測定項目と単位で保存されます。
| Option | Type | Description |
|---|---|---|
| 合計モード | Select(Options: [間隔合計 (サイクル間) | 時点合計 (繰り返し時刻の値)] (Default in bold) | 間隔: [前回の実行, 現在]の区間内のすべての値を合計します。時点: 直近N個のスナップショット値を合計します。 |
| 測定 | Select Measurement (Input, Function, Output) | 合計対象となる単一の測定値ソース |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| 期間 (Seconds) | Text - Default Value: 3600 | [インターバルモード] 合計間の時間間隔 |
| スナップショット時刻 (HH:MM) | Text - Default Value: 00:00 | [ポイントモード] デバイスのタイムゾーンにおけるスナップショットの基準時刻(例: 00:00)。深夜0時は24:00を使用してください。 |
| スナップショット間隔 (時間) | Text - Default Value: 24 | [ポイントモード] 基準時刻からのスナップショット間隔(時間)(例: 24 = 1日1回、6 = 1日4回) |
| ポイント数 (N) | Integer - Default Value: 1 | [ポイントモード] 合計する直近スナップショット値の数 |
| 今すぐ測定 | Button |
外部環境コンテキスト収集器~
施設外部の気温・湿度・風速・降雨・日射量・露点・CO₂を収集します。統合環境制御Functionは、この収集器を唯一の信頼できる情報源として使用します。各項目に対応する外部センサーを選択してください。設定しない項目は空欄のままにすると、フォールバックのデフォルト値が適用されます。
| Option | Type | Description |
|---|---|---|
| 更新周期: (Seconds) | 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です。 |
| センサーの最大許容経過時間(秒) | Text - Default Value: 120 | この時間より古い測定値は、フォールバックのデフォルト値に置き換えられます。 |
| フォールバック外部温度 (°C) | Decimal - Default Value: 20.0 | センサーが存在しない場合、または有効期限が切れている場合に使用するデフォルト値。 |
| フォールバック外部湿度 (%) | Decimal - Default Value: 60.0 | |
| フォールバック風速 (m/s) | Decimal |
差分~
この関数は、2つの測定値を取得して差分を計算し、結果を選択した測定値と単位で保存します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 測定: A | Select Measurement (Input, Function) | |
| 測定 A: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| 測定: B | Select Measurement (Input, Function) | |
| 測定 B: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Reverse Order | Boolean | Reverse the order in the calculation |
| Absolute Difference | Boolean | Return the absolute value of the difference |
平均(Last, Multiple)~
この関数は、選択された各測定値の最新値を取得して平均を計算し、結果を選択した測定値と単位で保存します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement | Measurement to replace "x" in the equation |
平均(Past, Single)~
この関数は、選択された測定値の過去の測定値(最大有効期間内)を取得して平均を計算し、結果をその測定値と単位で保存します。注意: InfluxDB 1.8.10には、mean()関数が正しく動作しないバグがあります。そのため、InfluxDB v1.xを使用している場合は、代わりにmedian()関数が使用されます。この問題はInfluxDB 2.xでは発生せず、mean()関数を通常どおり使用できます。正確な平均値を得るには、InfluxDB 2.xへのアップグレードをお勧めします。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| 測定 | Select Measurement (Input, Function) | Measurement to replace "x" in the equation |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
方程式 (Single-Measure)~
この機能は測定値を取得し、ユーザー定義の数式に適用した後、その結果を選択した測定値と単位で保存します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| Measurement | Select Measurement (Input, Output, Function) | Measurement to replace "x" in the equation |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Equation | Text - Default Value: x*5+2 | Equation using the measurement |
湿度 (乾湿球)~
この機能は、湿球温度と乾球温度の測定値をもとに湿度を計算します。
| Option | Type | Description |
|---|---|---|
| 測定有効 | Multi-Select | 記録する測定項目 |
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| Dry Bulb Temperature | Select Measurement (Input, Function) | Dry Bulb temperature measurement |
| 乾球: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Wet Bulb Temperature | Select Measurement (Input, Function) | Wet Bulb temperature measurement |
| 湿球: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Pressure | Select Measurement (Input, Function) | Pressure measurement |
| 圧力: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
統計 (Last, Multiple)~
この機能は複数の測定値を取得して統計を計算し、選択した単位で結果を保存します。
| Option | Type | Description |
|---|---|---|
| 測定有効 | Multi-Select | 記録する測定項目 |
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement | Measurements to perform statistics on | |
| Halt on Missing Measurement | Boolean | Don't calculate statistics if >= 1 measurement is not found within Max Age |
統計 (Past, Single)~
この機能は単一の測定値から複数の値を取得して統計を計算し、選択した単位で結果を保存します。
| Option | Type | Description |
|---|---|---|
| 測定有効 | Multi-Select | 記録する測定項目 |
| 期間 (Seconds) | Text - Default Value: 60 | 測定またはアクションの間隔時間 |
| 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Measurement | Select Measurement (Input, Function) | Measurement to perform statistics on |
飽差 (AVPD)~
この機能は葉温と湿度を使用して飽差(AVPD)を計算します。
| Option | Type | Description |
|---|---|---|
| 期間 (Seconds) | Text - Default Value: 60 | The duration between measurements or actions |
| 開始オフセット (Seconds) | Integer - Default Value: 10 | 初回動作までの待機時間 |
| Temperature | Select Measurement (Input, Function) | Temperature measurement |
| 温度: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |
| Humidity | Select Measurement (Input, Function) | Humidity measurement |
| 湿度: 最大経過時間 (Seconds) | Integer - Default Value: 360 | 使用する測定値の最大経過時間 |