Oregon Scientific GR101

From MiOS
Revision as of 13:47, 2 October 2012 by Ap15e (Talk | contribs)

Jump to: navigation, search

Before jumping on the bandwagon, PLEASE read the section 'Limitations'.

Disclaimer: DO NOT BASE YOUR DECISIONS ON DATA FROM THIS PLUGIN! IF IN DOUBT ABOUT YOUR HEALTH STATE, CONSULT YOUR PHYSICIAN.

Contents

Product information

http://au.oregonscientific.com/cat-Sports-and-Health-sub-Body-Weight-Scales-prod-Digital-Scale-with-Body-Mass-Index-and-Remote-Display-unit.html

Manual

http://au.oregonscientific.com/ulimages/manuals2/GR101.pdf

Research

 Hacking the GR101 revisited (see [0]) or: 
 How to convert the raw impedance reading from a GR101 to percentage body fat and percentage body water - by Ap15e
 
 
 Definitions:
 
 raw_impedance: data from GR101
 BD           : Body Density [kg/m^3]
 FFM          : Fat Free Mass [kg]
 Wt           : Weight [kg]
 Ht           : Height [cm]
 Z            : Impedance [ohm]
 %fat         : percentage body fat [%]
 %water       : percentage body water [%]
 
 
 Constants (best fit to formulas for data from a spreadsheet publicly available, see [1])
 
 impedance_factor = 39.198
 hydration        = 0.728895
 
 
 Formulas for males and females
 
 Z = raw_impedance / impedance_factor
 %water = ( Wt - %fat / 100 x Wt ) x hydration / Wt x 100
 
 
 Formulas for males
 
 BD = 1.100696 - 0.107903 x Wt x Z/Ht^2 + 0.00017 x Z [Tanita Corporation, see [2]]
 %fat = ( 4.57 / BD - 4.142 ) x 100                   [Brozek, see [3]]
 
 Additional formulas for percent body fat:
 
 %fat = ( 4.95  / BD - 4.5   ) x 100                  [Siri, see [3]]
 %fat = ( 4.374 / BD - 3.928 ) x 100                  [Schutte; for African-Americans, see [3]]
 %fat = ( 4.86  / BD – 4.39  ) x 100                  [Wagner]
 
 
 Formulas for females
 
 FFM = 13.96674 + 0.348613 x Ht^2/Z + 0.168998 x Wt   [Tanita Corporation, see [2]]
 %fat = ( Wt - FFM ) / Wt x 100
 
 
 Notes
 
 The formulas for males (Brozek) match the values on the remote display to a high degree 
 (error is < 0.5% for %fat and < 0.3% for %water for the data from the spreadsheet).
 
 The formulas for females yield higher errors. There is insufficient data in the spreadsheet 
 for further analysis.
 
 
 References
 
 [0] http://www.fabienletort.com/blog/2008/domotic-help-us-hack-the-gr101.html
 
 [1] http://spreadsheets.google.com/ccc?key=pQy-b-0ho4QdU4ecNy0TLLg&hl=fr
 
 [2] Jebb SA, Cole TJ, Doman D, Murgatroyd PR, Prentice AM.
     Evaluation of the novel Tanita body-fat analyser to measure body composition by comparison with a four-compartment model.
     Br J Nutr. 2000 Feb;83(2):115-22.
     PMID:10743490
     Abstract: http://www.ncbi.nlm.nih.gov/pubmed/10743490
     Full text: http://journals.cambridge.org/abstract_S0007114500000155
     NOTE: The unit of measure for the height in the formula for body density is cm, not m.
 
 [3] The Process of Physical Fitness Standards Development 
     Full text: http://www.dtic.mil/cgi-bin/GetTRDoc?AD=ADA495349


Limitations

RFXCOM claims that the RFXtrx does support the GR101 (weight only), but at least for my GR101 my RFXtrx (firmware v50) doesn't get the weight right. Workaround: None - please request a bugfix from FRXtrx if affected.

RFXCOM's RFXtrx currently (firmware v50) does not support the decoding of the impedance. Workaround: None - please request it as a feature from RFXCOM if interested.

Tanita's formulas might be patented. Therefore, the plugin for the GR101 is only available as DIY-ware: You have to insert the formulas of your choice into the plugin yourself ...

Requirements

Hardware

Vera (UI5)

RFXtrx433

Oregon Scientific GR101

Software

RFXtrx Gateway plugin (rev. >= 39): http://code.mios.com/trac/mios_rfxtrx

GR101 DIY plugin


Downloads

GR101 DIY plugin (in I_GR101.xml, modify the two lines containing ****** ):

https://docs.google.com/open?id=0Bz4omZm4gYcsTGpIZ2c3ekNBd1U


Installation

Variables to configure:
 
ScaleSensorID            device id of RFX Weight WT device to watch
TriggerOnWeightChange    1: watch for weight changes instead of impedance changes
WeightMin	         only watch for weights in [ WeightMin .. WeightMax ]
WeightMax		 only watch for weights in [ WeightMin .. WeightMax ]
Height		         your height
Sex		         your sex (0: female, 1: male)
Asian		         1: Asian (affects BMI_HUF only)
AfricanAmerican		 1: AfricanAmerican (if set to 1, results may differ from the values on the remote display)
BirthYear		 your year of birth (YYYY)
BirthMonth		 your month of birth (1-12)
BirthDay		 your day of birth (1-31)
 
Output variables:
 
LastUpdate		 last update of variables (Unix timestamp)
Weight		         measurement
BMI		         Body Mass Index
BMI_HUF		         Body Mass Index Human Understandable Format (HUF) (adults only)
Fat		         percentage body fat
Fat_HUF		         percentage body fat HUF (adults only)
Water		         percentage body water
Water_HUF                percentage body water HUF


GUI1.jpg

GUI2.jpg

GUI3.jpg

GUI4.jpg

Further reading

tbc

Personal tools