New services
Explore Plans
Mobile menu Close menu
Agile OctopusAgile Octopus

History of energy export

This query returns a list of when you have exported a set amount of electricity (measured in kWh) in a period.

About this query

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 query returns a list of when you have exported a set amount of electricity (measured in kWh) in a period.
API endpoint slug
agile_octopus.history_of_energy_export
Runtime method
performQuery("agile_octopus.history_of_energy_export")

Query fields

When to trigger Dropdown list

Label
When to trigger?
Slug
when_to_trigger
Required
true
Can have default value
true

Export threshold Text input > Regular expression

Label
Amount of energy exported
Slug
export_threshold
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
AgileOctopus.historyOfEnergyExport.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Triggered atDate when trigger event occurred.

Slug
triggered_at
Filter code
AgileOctopus.historyOfEnergyExport.TriggeredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Exported amountExport value when trigger event occurred.

Slug
exported_amount
Filter code
AgileOctopus.historyOfEnergyExport.ExportedAmount
Type
String
Example
5.3

Trigger export amountExport threshold in trigger settings.

Slug
trigger_export_amount
Filter code
AgileOctopus.historyOfEnergyExport.TriggerExportAmount
Type
String
Example
5

Trigger intervalValue Day/Week/Month in trigger settings.

Slug
trigger_interval
Filter code
AgileOctopus.historyOfEnergyExport.TriggerInterval
Type
String
Example
Week