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
- This trigger fires when the amount of renewable generation in the grid goes above a user-defined percentage threshold.
- API endpoint slug
- nemy.renewables_percent_high
Trigger fields
State Dropdown list
- Label
- Which state do you live in?
- Helper text
- Choose the Australian state you live in. For ACT, choose NSW. Note that nemy works for the Australian NEM - the eastern states plus SA.
- Slug
- state
- Required
- true
- Can have default value
- true
Threshold Text input > Regular expression
- Label
- What renewables percent threshold would you like to use?
- Helper text
- Choose a renewable electricity threshold between 0-100% such that when the percent of renewable generation goes above this threshold, the trigger fires.
- Slug
- threshold
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- Nemy.renewablesPercentHigh.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Renewables percentThe percentage of renewable generation in the grid.
- Slug
- renewables_percent
- Filter code
- Nemy.renewablesPercentHigh.RenewablesPercent
- Type
- String
- Example
- 50
ColourA hex colour code relating to the percentage of renewable generation in the grid, to be used to set the colour of smart lights.
- Slug
- colour
- Filter code
- Nemy.renewablesPercentHigh.Colour
- Type
- String
- Example
- #55FF00
MessageA message describing the price and percentage renewables in the grid.
- Slug
- message
- Filter code
- Nemy.renewablesPercentHigh.Message
- Type
- String
- Example
- The electricity price in VIC is 18.89c/kWh, and 22% of the electricity supply is renewable.
StateThe state defined in this applet.
- Slug
- state
- Filter code
- Nemy.renewablesPercentHigh.State
- Type
- String
- Example
- VIC
ThresholdThe user-defined renewables threshold.
- Slug
- threshold
- Filter code
- Nemy.renewablesPercentHigh.Threshold
- Type
- String
- Example
- 50