Supported Actions
Built-In Actions (System)~
Actions: Pause~
- Manufacturer: AoT
- Works with: Functions
Set a delay between executing Actions when self.run_all_actions() is used.
Usage: Executing self.run_action("ACTION_ID") will create a pause for the set duration. When self.run_all_actions() is executed, this will add a pause in the sequential execution of all actions.
| Option | Type | Description |
|---|---|---|
| Duration (Seconds) | Decimal | The duration to pause |
Camera: Capture Photo~
- Manufacturer: AoT
- Works with: Functions
Capture a photo with the selected Camera.
Usage: Executing self.run_action("ACTION_ID") will capture a photo with the selected Camera. Executing self.run_action("ACTION_ID", value={"camera_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will capture a photo with the Camera with the specified ID. Don't forget to change the camera_id value to an actual Camera ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Camera | Select Device | Select the Camera to take a photo |
Camera: Time-lapse: Pause~
- Manufacturer: AoT
- Works with: Functions
Pause a camera time-lapse
Usage: Executing self.run_action("ACTION_ID") will pause the selected Camera time-lapse. Executing self.run_action("ACTION_ID", value={"camera_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will pause the Camera time-lapse with the specified ID. Don't forget to change the camera_id value to an actual Camera ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Camera | Select Device | Select the Camera to pause the time-lapse |
Camera: Time-lapse: Resume~
- Manufacturer: AoT
- Works with: Functions
Resume a camera time-lapse
Usage: Executing self.run_action("ACTION_ID") will resume the selected Camera time-lapse. Executing self.run_action("ACTION_ID", value={"camera_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will resume the Camera time-lapse with the specified ID. Don't forget to change the camera_id value to an actual Camera ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Camera | Select Device | Select the Camera to resume the time-lapse |
Controller: Activate~
- Manufacturer: AoT
- Works with: Functions
Activate a controller.
Usage: Executing self.run_action("ACTION_ID") will activate the selected Controller. Executing self.run_action("ACTION_ID", value={"controller_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will activate the controller with the specified ID. Don't forget to change the controller_id value to an actual Controller ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the controller to activate |
Controller: Deactivate~
- Manufacturer: AoT
- Works with: Functions
Deactivate a controller.
Usage: Executing self.run_action("ACTION_ID") will deactivate the selected Controller. Executing self.run_action("ACTION_ID", value={"controller_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will deactivate the controller with the specified ID. Don't forget to change the controller_id value to an actual Controller ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the controller to deactivate |
Create: Daemon Log Line~
- Manufacturer: AoT
- Works with: Functions
Create a log line in the daemon log.
Usage: Executing self.run_action("ACTION_ID") will add a line to the Daemon log. Executing self.run_action("ACTION_ID", value={"log_level": "info", "log_text": "this is a log line"}) will execute the action with the specified log level and log line text. If a log line text is not specified, then the action message will be used as the text.
| Option | Type | Description |
|---|---|---|
| Log Level | Select(Options: [Info | Warning | Error | Debug] (Default in bold) | The log level to insert the text into the log |
| Log Line Text | Text - Default Value: Log Line Text | The text to insert in the Daemon log |
Create: Note~
- Manufacturer: AoT
- Works with: Functions
Create a note with the selected Tag.
Usage: Executing self.run_action("ACTION_ID") will create a note with the selected tag and note. Executing self.run_action("ACTION_ID", value={"tags": ["tag1", "tag2"], "name": "My Note", "note": "this is a message"}) will execute the action with the specified list of tag(s) and note. If using only one tag, make it the only element of the list (e.g. ["tag1"]). If note is not specified, then the action message will be used as the note.
| Option | Type | Description |
|---|---|---|
| Tags | Select one or more tags | |
| Name | Text - Default Value: Name | The name of the note |
| Note | Text - Default Value: Note | The body of the note |
| Include Message in Note | Boolean | Include the message passed to the action in the note that's created |
Display: Backlight: Color~
- Manufacturer: AoT
- Works with: Functions
Set the display backlight color
Usage: Executing self.run_action("ACTION_ID") will change the backlight color on the selected display. Executing self.run_action("ACTION_ID", value={"display_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "color": "255,0,0"}) will change the backlight color on the controller with the specified ID and color. Don't forget to change the display_id value to an actual Function ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Display | Select Device | Select the display to set the backlight color |
| Color (RGB) | Text - Default Value: 255,0,0 | Color as R,G,B values (e.g. "255,0,0" without quotes) |
Display: Backlight: Off~
- Manufacturer: AoT
- Works with: Functions
Turn display backlight off
Usage: Executing self.run_action("ACTION_ID") will turn the backlight off for the selected display. Executing self.run_action("ACTION_ID", value={"display_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will turn the backlight off for the controller with the specified ID. Don't forget to change the display_id value to an actual Function ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Display | Select Device | Select the display to turn the backlight off |
Display: Backlight: On~
- Manufacturer: AoT
- Works with: Functions
Turn display backlight on
Usage: Executing self.run_action("ACTION_ID") will turn the backlight on for the selected display. Executing self.run_action("ACTION_ID", value={"display_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will turn the backlight on for the controller with the specified ID. Don't forget to change the display_id value to an actual Function ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Display | Select Device | Select the display to turn the backlight on |
Display: Flashing: Off~
- Manufacturer: AoT
- Works with: Functions
Turn display flashing off
Usage: Executing self.run_action("ACTION_ID") will stop the backlight flashing on the selected display. Executing self.run_action("ACTION_ID", value={"display_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will stop the backlight flashing on the controller with the specified ID. Don't forget to change the display_id value to an actual Function ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Display | Select Device | Select the display to stop flashing the backlight |
Display: Flashing: On~
- Manufacturer: AoT
- Works with: Functions
Turn display flashing on
Usage: Executing self.run_action("ACTION_ID") will start the backlight flashing on the selected display. Executing self.run_action("ACTION_ID", value={"display_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will start the backlight flashing on the controller with the specified ID. Don't forget to change the display_id value to an actual Function ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Display | Select Device | Select the display to start flashing the backlight |
Equation (Single-Measurement)~
- Manufacturer: AoT
- Works with: Inputs
Modify a channel value with an equation before storing it in the database.
| Option | Type | Description |
|---|---|---|
| Measurement | Select the measurement to send as the payload | |
| Equation | Text - Default Value: x-10 | The equation to apply to the value before storing. "x" is the measurement value. Example: x-10 |
Execute Python 3 Code~
- Manufacturer: AoT
- Works with: Inputs
Execute Python 3 code when measurements are acquired.
| Option | Type | Description |
|---|---|---|
| Python 3 Code | The code to execute |
Execute: Bash/Shell Command~
- Manufacturer: AoT
- Works with: Functions
Execute a Linux bash shell command.
Usage: Executing self.run_action("ACTION_ID") will execute the bash command.Executing self.run_action("ACTION_ID", value={"user": "aot", "command": "/home/pi/my_script.sh on"}) will execute the action with the specified command and user.
| Option | Type | Description |
|---|---|---|
| User | Text - Default Value: aot | The user to execute the command |
| Command | Text - Default Value: /home/pi/my_script.sh on | Command to execute |
Flow Meter: Clear Total (Kilowatt-hour)~
- Manufacturer: AoT
- Works with: Functions
Clear the total kWh saved for an energy meter Input. The Input must have the Clear Total kWh option. This will also clear all energy stats on the device, not just the total kWh.
Usage: Executing self.run_action("ACTION_ID") will clear the total kWh for the selected energy meter Input. Executing self.run_action("ACTION_ID", value={"input_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will clear the total kWh for the energy meter Input with the specified ID. Don't forget to change the input_id value to an actual Input ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the energy meter Input |
Flow Meter: Clear Total (Volume)~
- Manufacturer: AoT
- Works with: Functions
Clear the total volume saved for a flow meter Input. The Input must have the Clear Total Volume option.
Usage: Executing self.run_action("ACTION_ID") will clear the total volume for the selected flow meter Input. Executing self.run_action("ACTION_ID", value={"input_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will clear the total volume for the flow meter Input with the specified ID. Don't forget to change the input_id value to an actual Input ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the flow meter Input |
Input: Force Measurements:~
- Manufacturer: AoT
- Works with: Functions
Force measurements to be conducted for an input
Usage: Executing self.run_action("ACTION_ID") will force acquiring measurements for the selected Input. Executing self.run_action("ACTION_ID", value={"input_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}) will force acquiring measurements for the Input with the specified ID. Don't forget to change the input_id value to an actual Input ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Input | Select Device | Select an Input |
LED: Kasa RGB Bulb: Change Color~
- Manufacturer: AoT
- Works with: Functions
Change the color of the LED in a Kasa RGB Bulb. Select the Kasa RGB Bulb Output.
Usage: Executing self.run_action("ACTION_ID") will set the selected Kasa RGB Bulb to the selected Hue, Saturation, and Brightness. Executing self.run_action("ACTION_ID", value={"output_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "hue": 10, "saturation": 50, "brightness": 25}) will set the hue (0 - 360), saturation (0 - 100), and brightness (0 - 100) of the Kasa RGB Bulb Output with the specified ID. Don't forget to change the output_id value to an actual Output ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the energy meter Input |
| Hue (Degree) | Integer | The hue to set, in degrees (0 - 360) |
| Saturation (Percent) | Integer - Default Value: 50 | The saturation to set, in percent (0 - 100) |
| Brightness (Percent) | Integer - Default Value: 50 | The brightness to set, in percent (0 - 100) |
LED: Neopixel: Change Pixel Color~
- Manufacturer: AoT
- Works with: Functions
Change the color of an LED in a Neopixel LED strip. Select the Neopixel LED Strip Controller, pixel number, and color.
Usage: Executing self.run_action("ACTION_ID") will set the selected LED to the selected Color. Executing self.run_action("ACTION_ID", value={"controller_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "led": 0, "color": "10, 10, 0"}) will set the color of the specified LED for the Neopixel LED Strip Controller with the specified ID. Don't forget to change the controller_id value to an actual Controller ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the controller that modulates your neopixels |
| LED Position | Integer | The position of the LED on the strip |
| RGB Color | Text - Default Value: 10, 0, 0 | The color in RGB format, each from 0 to 255 (e.g "10, 0, 0") |
LED: Neopixel: Flashing Off~
- Manufacturer: AoT
- Works with: Functions
Stop flashing an LED in a Neopixel LED strip. Select the Neopixel LED Strip Controller and pixel number.
Usage: Executing self.run_action("ACTION_ID") will set the selected LED to the selected Color. Executing self.run_action("ACTION_ID", value={"controller_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "led": 0}) will stop flashing the specified LED for the Neopixel LED Strip Controller with the specified ID. Don't forget to change the controller_id value to an actual Controller ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the controller that modulates your neopixels |
| LED Position | Integer | The position of the LED on the strip |
LED: Neopixel: Flashing On~
- Manufacturer: AoT
- Works with: Functions
Start flashing an LED in a Neopixel LED strip. Select the Neopixel LED Strip Controller, pixel number, and color.
Usage: Executing self.run_action("ACTION_ID") will set the selected LED to the selected Color. Executing self.run_action("ACTION_ID", value={"controller_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "led": 0, "color": "10, 10, 0"}) will start flashing the color of the specified LED for the Neopixel LED Strip Controller with the specified ID. Don't forget to change the controller_id value to an actual Controller ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the controller that modulates your neopixels |
| LED Position | Integer | The position of the LED on the strip |
| RGB Color | Text - Default Value: 10, 0, 0 | The color in RGB format, each from 0 to 255 (e.g "10, 0, 0") |
MQTT: Publish~
- Manufacturer: AoT
- Works with: Functions
- Dependencies: paho-mqtt
Publish a value to an MQTT server.
Usage: Executing self.run_action("ACTION_ID") will publish the saved payload text options to the MQTT server. Executing self.run_action("ACTION_ID", value={"payload": 42}) will publish the specified payload (any type) to the MQTT server. You can also specify the topic (e.g. value={"topic": "my_topic", "payload": 42}). Warning: If using multiple MQTT Inputs or Functions, ensure the Client IDs are unique.
| Option | Type | Description |
|---|---|---|
| Hostname | Text - Default Value: localhost | The hostname of the MQTT server |
| Port | Integer - Default Value: 1883 | The port of the MQTT server |
| Topic | Text - Default Value: paho/test/single | The topic to publish with |
| Payload | Text | The payload to publish |
| Payload Type | Select(Options: [Text | Integer | Float/Decimal] (Default in bold) | The type to cast the payload |
| Keep Alive | Integer - Default Value: 60 | The keepalive timeout value for the client. Set to 0 to disable. |
| Client ID | Text - Default Value: client_gHAszYVa | Unique client ID for connecting to the MQTT server |
| Use Login | Boolean | Send login credentials |
| Username | Text - Default Value: user | Username for connecting to the server |
| Password | Text | Password for connecting to the server |
| Use Websockets | Boolean | Use websockets to connect to the server. |
MQTT: Publish: Measurement~
- Manufacturer: AoT
- Works with: Inputs
- Dependencies: paho-mqtt
Publish an Input measurement to an MQTT server.
| Option | Type | Description |
|---|---|---|
| Measurement | Select the measurement to send as the payload | |
| Hostname | Text - Default Value: localhost | The hostname of the MQTT server |
| Port | Integer - Default Value: 1883 | The port of the MQTT server |
| Topic | Text - Default Value: paho/test/single | The topic to publish with |
| Keep Alive | Integer - Default Value: 60 | The keepalive timeout value for the client. Set to 0 to disable. |
| Client ID | Text - Default Value: client_yohHlpuN | Unique client ID for connecting to the MQTT server |
| Use Login | Boolean | Send login credentials |
| Username | Text - Default Value: user | Username for connecting to the server |
| Password | Text | Password for connecting to the server. |
| Use Websockets | Boolean | Use websockets to connect to the server. |
Output: Duty Cycle~
- Manufacturer: AoT
- Works with: Functions
Set a PWM Output to set a duty cycle.
Usage: Executing self.run_action("ACTION_ID") will set the PWM output duty cycle. Executing self.run_action("ACTION_ID", value={"output_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "channel": 0, "duty_cycle": 42}) will set the duty cycle of the PWM output with the specified ID and channel. Don't forget to change the output_id value to an actual Output ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Output | Select Channel (Output_Channels) | Select an output to control |
| Duty Cycle | Decimal | Duty cycle for the PWM (percent, 0.0 - 100.0) |
Output: On/Off/Duration~
- Manufacturer: AoT
- Works with: Functions
Turn an On/Off Output On, Off, or On for a duration.
Usage: Executing self.run_action("ACTION_ID") will actuate an output. Executing self.run_action("ACTION_ID", value={"output_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "channel": 0, "state": "on", "duration": 300}) will set the state of the output with the specified ID and channel. Don't forget to change the output_id value to an actual Output ID that exists in your system. If state is on and a duration is set, the output will turn off after the duration.
| Option | Type | Description |
|---|---|---|
| Output | Select Channel (Output_Channels) | Select an output to control |
| State | Select | Turn the output on or off |
| Duration (Seconds) | Decimal | If On, you can set a duration to turn the output on. 0 stays on. |
Output: Ramp Duty Cycle~
- Manufacturer: AoT
- Works with: Functions
Ramp a PWM Output from one duty cycle to another duty cycle over a period of time.
Usage: Executing self.run_action("ACTION_ID") will ramp the PWM output duty cycle according to the settings. Executing self.run_action("ACTION_ID", value={"output_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "channel": 0, "start": 42, "end": 62, "increment": 1.0, "duration": 600}) will ramp the duty cycle of the PWM output with the specified ID and channel. Don't forget to change the output_id value to an actual Output ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Output | Select Channel (Output_Channels) | Select an output to control |
| Duty Cycle: Start | Decimal | Duty cycle for the PWM (percent, 0.0 - 100.0) |
| Duty Cycle: End | Decimal - Default Value: 50.0 | Duty cycle for the PWM (percent, 0.0 - 100.0) |
| Increment (Duty Cycle) | Decimal - Default Value: 1.0 | How much to change the duty cycle every Duration |
| Duration (Seconds) | Decimal | How long to ramp from start to finish. |
Output: Value~
- Manufacturer: AoT
- Works with: Functions
Send a value to the Output.
Usage: Executing self.run_action("ACTION_ID") will actuate a value output. Executing self.run_action("ACTION_ID", value={"output_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "channel": 0, "value": 42}) will send a value to the output with the specified ID and channel. Don't forget to change the output_id value to an actual Output ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Output | Select Channel (Output_Channels) | Select an output to control |
| Value | Decimal | The value to send to the output |
Output: Volume~
- Manufacturer: AoT
- Works with: Functions
Instruct the Output to dispense a volume.
Usage: Executing self.run_action("ACTION_ID") will actuate a volume output. Executing self.run_action("ACTION_ID", value={"output_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "channel": 0, "volume": 42}) will send a volume to the output with the specified ID and channel. Don't forget to change the output_id value to an actual Output ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Output | Select Channel (Output_Channels) | Select an output to control |
| Volume | Decimal | The volume to send to the output |
PID: Lower: Setpoint~
- Manufacturer: AoT
- Works with: Functions
Lower the Setpoint of a PID.
Usage: Executing self.run_action("ACTION_ID") will lower the setpoint of the selected PID Controller. Executing self.run_action("ACTION_ID", value={"pid_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "amount": 2}) will lower the setpoint of the PID with the specified ID. Don't forget to change the pid_id value to an actual PID ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the PID Controller to lower the setpoint of |
| Lower Setpoint | Decimal | The amount to lower the PID setpoint by |
PID: Pause~
- Manufacturer: AoT
- Works with: Functions
Pause a PID.
Usage: Executing self.run_action("ACTION_ID") will pause the selected PID Controller. Executing self.run_action("ACTION_ID", value="959019d1-c1fa-41fe-a554-7be3366a9c5b") will pause the PID Controller with the specified ID.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the PID Controller to pause |
PID: Raise: Setpoint~
- Manufacturer: AoT
- Works with: Functions
Raise the Setpoint of a PID.
Usage: Executing self.run_action("ACTION_ID") will raise the setpoint of the selected PID Controller. Executing self.run_action("ACTION_ID", value={"pid_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "amount": 2}) will raise the setpoint of the PID with the specified ID. Don't forget to change the pid_id value to an actual PID ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the PID Controller to raise the setpoint of |
| Raise Setpoint | Decimal | The amount to raise the PID setpoint by |
PID: Resume~
- Manufacturer: AoT
- Works with: Functions
Resume a PID.
Usage: Executing self.run_action("ACTION_ID") will resume the selected PID Controller. Executing self.run_action("ACTION_ID", value="959019d1-c1fa-41fe-a554-7be3366a9c5b") will resume the PID Controller with the specified ID.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the PID Controller to resume |
PID: Set Method~
- Manufacturer: AoT
- Works with: Functions
Select a method to set the PID to use.
Usage: Executing self.run_action("ACTION_ID") will pause the selected PID Controller. Executing self.run_action("ACTION_ID", value={"pid_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "method_id": "fe8b8f41-131b-448d-ba7b-00a044d24075"}) will set a method for the PID Controller with the specified IDs. Don't forget to change the pid_id value to an actual PID ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the PID Controller to apply the method |
| Method | Select Device | Select the Method to apply to the PID |
PID: Set: Setpoint~
- Manufacturer: AoT
- Works with: Functions
Set the Setpoint of a PID.
Usage: Executing self.run_action("ACTION_ID") will set the setpoint of the selected PID Controller. Executing self.run_action("ACTION_ID", value={"setpoint": 42}) will set the setpoint of the PID Controller (e.g. 42). You can also specify the PID ID (e.g. value={"setpoint": 42, "pid_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b"}). Don't forget to change the pid_id value to an actual PID ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Controller | Select Device | Select the PID Controller to pause |
| Setpoint | Decimal | The setpoint to set the PID Controller |
Send Email~
- Manufacturer: AoT
- Works with: Functions
Send an email.
Usage: Executing self.run_action("ACTION_ID") will email the specified recipient(s) using the SMTP credentials in the system configuration. Separate multiple recipients with commas. The body of the email will be the self-generated message. Executing self.run_action("ACTION_ID", value={"email_address": ["email1@email.com", "email2@email.com"], "message": "My message"}) will send an email to the specified recipient(s) with the specified message.
| Option | Type | Description |
|---|---|---|
| E-Mail Address | Text - Default Value: email@domain.com | E-mail recipient(s) (separate multiple addresses with commas) |
Send Email with Photo~
- Manufacturer: AoT
- Works with: Functions
Take a photo and send an email with it attached.
Usage: Executing self.run_action("ACTION_ID") will take a photo and email it to the specified recipient(s) using the SMTP credentials in the system configuration. Separate multiple recipients with commas. The body of the email will be the self-generated message. Executing self.run_action("ACTION_ID", value={"camera_id": "959019d1-c1fa-41fe-a554-7be3366a9c5b", "email_address": ["email1@email.com", "email2@email.com"], "message": "My message"}) will capture a photo using the camera with the specified ID and send an email to the specified email(s) with message and attached photo. Don't forget to change the camera_id value to an actual Camera ID that exists in your system.
| Option | Type | Description |
|---|---|---|
| Camera | Select Device | Select the Camera to take a photo with |
| E-Mail Address | Text - Default Value: email@domain.com | E-mail recipient(s). Separate multiple with commas. |
System: Restart~
- Manufacturer: AoT
- Works with: Functions
Restart the System
Usage: Executing self.run_action("ACTION_ID") will restart the system in 10 seconds.
System: Shutdown~
- Manufacturer: AoT
- Works with: Functions
Shutdown the System
Usage: Executing self.run_action("ACTION_ID") will shut down the system in 10 seconds.
Webhook~
- Manufacturer: AoT
- Works with: Functions
Emits a HTTP request when triggered. The first line contains a HTTP verb (GET, POST, PUT, ...) followed by a space and the URL to call. Subsequent lines are optional "name: value"-header parameters. After a blank line, the body payload to be sent follows. {{{message}}} is a placeholder that gets replaced by the message, {{{quoted_message}}} is the message in an URL safe encoding.
Usage: Executing self.run_action("ACTION_ID") will run the Action.
| Option | Type | Description |
|---|---|---|
| Webhook Request | HTTP request to execute |