Recued
Menu
← Back to recipes

When to run it — cleanest half hours near you

by recued-core v1 7 views

Use “When to run it — cleanest half hours near you” in Recued. Find the cleanest half hour in the next 24 hours to run a dishwasher, dryer or EV charge, for one postcode area rather than for the country. It reads information without changing data in the connected service.

How it works 21 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (21 steps)
outcode_text trim
Trim whitespace from setting outcode
outcode_required template
Generate text from a template
fail: step.outcode_text is_empty
from_stamp date_add
Add 0 minutes to
region_raw ?
region_recognised template
Generate text from a template
fail: step.region_raw.result.data.shortname is_null
defaults defaults
Apply defaults
have_periods template
Generate text from a template
fail: step.periods_all is_empty
defaults_2 defaults
Apply defaults
period_count count
Count items in periods all
upcoming slice
Take a subset of
cleanest min_by
Find the minimum by intensity.forecast
defaults_3 defaults
Apply defaults
ranked sort
Sort by intensity.forecast
best_slots slice
Take a subset of
relative_raw math
Calculate: {{step.cleanest_g}} / {{step.current_forecast}} * 100
skip: step.current_forecast equal 0
relative_raw_rounded round
Round relative raw to 0 decimal places
skip: step.current_forecast equal 0
relative default
Apply default
national_raw ?
national_g default
Apply default
card to_summary
Format results as a summary card
slot_table to_table
Format results as a data table
Settings 3 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

slots setting = 6
outcode setting =
carbon intensity setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Carbon_intensity connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

Data it touches

Warehousedata.shortnamedata.dnoregiondata.data

About

Tags

carbon-intensity carbon-intensityhomeenergyelectricityapplianceev-chargingclimateread-only

Details

21 steps 3 configurable settings recipe_id: plan-clean-run-carbon-intensity