From 7afd12553979bdad06a5dcc03f3856c9d2dfce21 Mon Sep 17 00:00:00 2001 From: moises <> Date: Sun, 23 Jul 2023 07:53:14 +0000 Subject: [PATCH] 32_withings: added spo2_average to sleep readings git-svn-id: https://svn.fhem.de/fhem/trunk@27792 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/32_withings.pm | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index f7325bed4..e154d0608 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 32_withings: added spo2_average to sleep readings - change: 74_AutomowerConnect: Common.pm minor changes - feature: 32_withings: added and aligned some more readings - new: 98_AirUnit: controlling Danfoss AirUnits (a1,a2,w1,w2) diff --git a/fhem/FHEM/32_withings.pm b/fhem/FHEM/32_withings.pm index f27008305..e36252e1f 100644 --- a/fhem/FHEM/32_withings.pm +++ b/fhem/FHEM/32_withings.pm @@ -10,7 +10,7 @@ # # ############################################################################## -# Release 17 / 2023-07-20 +# Release 18 / 2023-07-23 package main; @@ -375,12 +375,13 @@ my %sleep_readings = ( 'asleepduration' => { name => "Manual Sleep", reading => 'apnea_hypopnea_index' => { name => "Apnea/Hypopnea Index", reading => "apneaIndex", unit => 0, }, 'breathing_disturbances_intensity' => { name => "Breathing Disturbances Intensity", reading => "breathingDisturbancesIntensity", unit => 0, }, 'pause_duration' => { name => "Pause Duration", reading => "pauseDuration", unit => "s", }, - #'manual_distance' => { name => "Manual Distance", reading => "manual_distance", unit => 0, }, - #'steps' => { name => "Steps", reading => "steps", unit => 0, }, - #'calories' => { name => "Calories", reading => "calories", unit => 0, }, - #'metcumul' => { name => "metcumul", reading => "metcumul", unit => 0, }, - #'manual_calories' => { name => "Manual Calories", reading => "manual_calories", unit => 0, }, - #'effduration' => { name => "Effective Duration", reading => "effduration", unit => 0, }, + 'manual_distance' => { name => "Manual Distance", reading => "manual_distance", unit => "m", }, + 'steps' => { name => "Steps", reading => "steps", unit => 0, }, + 'calories' => { name => "Calories", reading => "calories", unit => 0, }, + 'metcumul' => { name => "metcumul", reading => "metcumul", unit => 0, }, + 'manual_calories' => { name => "Manual Calories", reading => "manual_calories", unit => 0, }, + 'effduration' => { name => "Effective Duration", reading => "effduration", unit => "s", }, + 'spo2_average' => { name => "SpO2 Average", reading => "spo2_average", unit => "%", }, 'intensity' => { name => "Intensity", reading => "intensity", unit => 0, }, 'distance' => { name => "Distance", reading => "workoutDistance", unit => "m", }, 'elevation' => { name => "Elevation", reading => "workoutElevation", unit => "m", },