Recued
Menu
← Back to recipes

Summarize body signals

by recued-core v2 42 views

Use “Summarize body signals” in Recued. Reads a Body's daily readings in Records, picks one source for each measurement, compares it only with that source's own usual, and writes the Body's latest readings and its states: a short night, HRV or resting heart rate off your usual, and recovery low.

Complete workflow

Body signals 5 pinned recipes

Use Body signals to keep how you slept and recovered in Yours. A Body holds the latest readings from the sources you add, and every day's readings stay in Records on your server. Each one is compared only with your own usual, and a short night or a low recovery shows on Today while it holds.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Use “Summarize body signals” in Recued. Reads a Body's daily readings in Records, picks one source for each measurement, compares it only with that source's own usual, and writes the Body's latest readings and its states: a short night, HRV or resting heart rate off your usual, and recovery low.

pack:body-signalsassetobservationshealth
by recued-core pinned v2

Use “Record a weight or height” in Recued. Saves a weight in kg or a height in cm you measured into Body signals, as typed by you, for today or the day you name. The Body shows it until a reading from a newer day comes from any source, such as your scale through Apple Health.

pack:body-signalshealthbodyrecords
by recued-core pinned v1

Use “Check a wearable is syncing” in Recued. Marks a ring or a watch as not syncing when its newest reading in Records is older than the days you allow, so its task asks you to check it is charged and synced, and clears it when readings come again. It sets itself up, with a daily run, once the Wearable belongs to a Body.

pack:body-signalsassetobservationshealth
by recued-core pinned v1

Use “How someone has slept and recovered, day by day” in Recued. Reads a Body's daily readings, every measurement and source, for the last days asked (1 to 31, a week if none). These are the numbers AI sees only when you allow it, so every run asks you first.

pack:body-signalsassethealth
by recued-core pinned v1
View pack details, dependencies, and permissions →
How it works 119 steps

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

Process (119 steps)
◆ body core.work-entity.get
Get work entity
■ is_body compare
Check if body entity class id equals body
fail: step.is_body equal false
■ now_iso date_add
Add 0 minutes to
■ now date_parse
Parse now iso as a date
■ baseline_days_set default
Apply default
■ baseline_days_whole round
Round baseline days set to 0 decimal places
■ baseline_days_number default
Apply default
■ baseline_days clamp
Clamp baseline days number between 7 and 30
■ min_days_set default
Apply default
■ min_days_whole round
Round min days set to 0 decimal places
■ min_days_number default
Apply default
■ min_days clamp
Clamp min days number between 1 and {{step.baseline_days}}
■ hrv_drop_percent default
Apply default
■ resting_hr_rise_bpm default
Apply default
■ short_sleep_minutes default
Apply default
■ today_day date_format
Format as a date
■ back_days math
Calculate: 0 - {{step.baseline_days}}
■ oldest_utc date_add
Add back days days to
■ oldest_day date_format
Format as a date
■ since_ms date_parse
Parse oldest day as a date
■ since date_add
Add 0 minutes to
■ window_ms math
Calculate: {{step.now}} - {{step.since_ms}}
■ recent_after math
Calculate: {{step.now}} - 172800000
◆ rows_page recued-core.body-signals.daily_metric.search
Search daily metric on body signals
■ rows default
Apply default
■ lasting_series default
Apply default
◆ older_pages recued-core.body-signals.daily_metric.search
Search daily metric on body signals
■ older_lists map
Extract from each item
■ older_flat flatten
Flatten nested lists in
■ older_rows filter
Filter by condition
■ usual baseline
Apply baseline
■ older_timed map
Extract day_start from each item
■ older_series map
Extract from each item
■ usual_all flatten
Flatten nested lists in
■ series map
Extract from each item
■ grouped enrich_by
Apply enrich_by
■ grouped_keys map
Extract from each item
■ ranked enrich_by
Apply enrich_by
■ override_list to_list
Apply to_list
■ overrides map
Extract from each item
■ with_override enrich_by
Apply enrich_by
■ with_choice enrich_by
Apply enrich_by
■ allowed filter
Filter by condition
■ recent filter
Filter by condition
■ ordered sort
Sort by
■ fresh_chosen unique
Remove duplicates from
■ known_series filter
Filter by condition
■ newest_first sort
Sort by
■ newest_chosen unique
Remove duplicates from
■ fresh_metrics map
Extract from each item
■ fallback_chosen filter
Filter by condition
■ chosen flatten
Flatten nested lists in
■ rows_all flatten
Flatten nested lists in
■ rows_keyed map
Extract from each item
■ rows_newest sort
Sort by
■ latest_rows unique
Remove duplicates from
■ chosen_rows enrich_by
Apply enrich_by
■ chosen_timed map
Extract reported_at from each item
■ current_list to_list
Apply to_list
■ current map
Extract from each item
■ with_current enrich_by
Apply enrich_by
■ candidates map
Extract from each item
■ marked enrich_by
Apply enrich_by
■ changed filter
Filter by condition
■ changed_delta map
Extract from each item
■ split partition
Apply partition
■ reported_readings map
Extract from each item
■ late_readings map
Extract from each item
■ readings_all flatten
Flatten nested lists in
■ body_fields map
Extract from each item
■ readings_list filter
Filter by condition
■ readings_count count
Count items in readings list
■ readings_json map
Extract reading from each item
■ readings_pairs map
Extract from each item
■ readings_text join
Join items with ","
■ readings_doc template
Generate text from a template
■ readings_object json_parse
Apply json_parse
◆ readings_write core.work-entity.asset.observe
Observe work entity asset
skip: step.readings_count equal 0
■ hrv_rmssd find
Find first match in
■ hrv_sdnn find
Find first match in
■ hrv coalesce
Use the first available value from: hrv rmssd, hrv sdnn
■ rhr find
Find first match in
■ sleep find
Find first match in
■ hrv_next date_add
Add 1 days to
■ hrv_next_day date_format
Format as a date
■ hrv_until date_parse
Parse hrv next day as a date
■ rhr_next date_add
Add 1 days to
■ rhr_next_day date_format
Format as a date
■ rhr_until date_parse
Parse rhr next day as a date
■ sleep_next date_add
Add 1 days to
■ sleep_next_day date_format
Format as a date
■ sleep_until date_parse
Parse sleep next day as a date
■ hrv_live compare
Check if hrv until is greater than now
■ rhr_live compare
Check if rhr until is greater than now
■ sleep_live compare
Check if sleep until is greater than now
■ hrv_drop_floor math
Calculate: 0 - {{step.hrv_drop_percent}}
■ hrv_known all
Check if all conditions are true
■ hrv_low all
Check if all conditions are true
■ rhr_known all
Check if all conditions are true
■ rhr_high all
Check if all conditions are true
■ sleep_known all
Check if all conditions are true
■ sleep_short all
Check if all conditions are true
■ hrv_evidence map
Extract from each item
■ rhr_evidence map
Extract from each item
◆ hrv_write core.work-entity.asset.observe
Observe work entity asset
skip: step.hrv_known not_equal true
◆ rhr_write core.work-entity.asset.observe
Observe work entity asset
skip: step.rhr_known not_equal true
■ recovery_both all
Check if all conditions are true
■ recovery_either any
Check if any of the conditions are true
■ recovery_measured all
Check if all conditions are true
■ recovery_known any
Check if any of the conditions are true
■ recovery_one ternary
Apply ternary
■ recovery_certainty ternary
Apply ternary
■ recovery_until ternary
Apply ternary
■ recovery_evidence flatten
Flatten nested lists in
◆ recovery_write core.work-entity.asset.observe
Observe work entity asset
skip: step.recovery_known not_equal true
◆ sleep_write core.work-entity.asset.observe
Observe work entity asset
skip: step.sleep_known not_equal true
■ readings_table to_table
Format results as a data table
■ states default
Apply default
■ states_table to_table
Format results as a data table
▼
Output
table readings_table
table states_table
Settings 2 configurable

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

asset id setting = set at install
binding id setting = set at install

Uses (3 operations)

Tasks & notes Get work entity core.work-entity.get
Pack operation Search daily metric on body signals recued-core.body-signals.daily_metric.search
Tasks & notes Observe work entity asset core.work-entity.asset.observe

Trust & control

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

What it's allowed to do

Read Tasks & notes core.work-entity.get read-only
Read Pack Body signals read-only
Read: daily_metric.search · No approval
Read Tasks & notes core.work-entity.asset.observe read-only

Data it touches

SurfacesTasks & notes

About

Tags

pack:body-signalsassetobservationshealth

Details

119 steps 2 configurable settings recipe_id: summarize-body-signals