About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- Use this trigger to fire something when carbon intensity stays above (or below) your set threshold for a minimum length of time in 30-minute blocks.
- API endpoint slug
- agile_octopus.carbon_intensity_level_change
Trigger fields
Intensity threshold Text input > Regular expression
- Label
- At what carbon intensity should this activate?
- Helper text
- The carbon intensity is a measure of grams of CO2 emitted per kWh of electricity generated. Renewable energy such as wind, solar and hydro is obviously zero. Coal is over 900. So pick a value somewhere in between for this trigger.
- Slug
- intensity_threshold
- Required
- true
- Can have default value
- true
When to trigger Dropdown list
- Label
- When to trigger?
- Slug
- when_to_trigger
- Required
- true
- Can have default value
- true
Number of periods Text input
- Label
- Number of 30-minute periods matching threshold
- Helper text
- Must be between 1 and 48.
- Slug
- number_of_periods
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- AgileOctopus.carbonIntensityLevelChange.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Triggered atDate and time when trigger event occurred.
- Slug
- triggered_at
- Filter code
- AgileOctopus.carbonIntensityLevelChange.TriggeredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Carbon intensityCarbon intensity value in grams of CO2 per kWh
- Slug
- forecast
- Filter code
- AgileOctopus.carbonIntensityLevelChange.CarbonIntensity
- Type
- String
- Example
- 143
Carbon intensity indexCarbon intensity level
- Slug
- index
- Filter code
- AgileOctopus.carbonIntensityLevelChange.CarbonIntensityIndex
- Type
- String
- Example
- moderate
Trigger intensityCarbon intensity threshold in trigger settings.
- Slug
- trigger_intensity
- Filter code
- AgileOctopus.carbonIntensityLevelChange.TriggerIntensity
- Type
- String
- Example
- 150
Triggers whenTriggers when your regional carbon intensity threshold for a set number of 30-minute periods is passed
- Slug
- triggers_when
- Filter code
- AgileOctopus.carbonIntensityLevelChange.TriggersWhen
- Type
- String
- Example
- above_intensity_threshold
Trigger intervalsNumber of 30-minute intervals in trigger settings.
- Slug
- trigger_intervals
- Filter code
- AgileOctopus.carbonIntensityLevelChange.TriggerIntervals
- Type
- String
- Example
- 3