Skip to content

Commit

Permalink
TODO-1027: WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHD committed Nov 30, 2016
1 parent 44a9694 commit af85bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Arduino/V0p2_Main/Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,10 @@ static void wireComponentsTogether()
static void updateSensorsFromStats()
{
#if defined(ENABLE_AMBLIGHT_SENSOR) && defined(ENABLE_OCCUPANCY_DETECTION_FROM_AMBLIGHT)
// Update with rolling stats to adapt to sensors and local environment.
// ...and prevailing mode, so may take a while to adjust.
// Update with rolling stats to adapt to sensors and local environment...
// ...and prevailing bias, so may take a while to adjust.
AmbLight.setTypMinMax(
eeStats.getByHourStatRTC(OTV0P2BASE::NVByHourByteStatsBase::STATS_SET_AMBLIGHT_BY_HOUR_SMOOTHED),
eeStats.getMinByHourStat(OTV0P2BASE::NVByHourByteStatsBase::STATS_SET_AMBLIGHT_BY_HOUR),
eeStats.getMaxByHourStat(OTV0P2BASE::NVByHourByteStatsBase::STATS_SET_AMBLIGHT_BY_HOUR),
eeStats.getMinByHourStat(OTV0P2BASE::NVByHourByteStatsBase::STATS_SET_AMBLIGHT_BY_HOUR_SMOOTHED),
eeStats.getMaxByHourStat(OTV0P2BASE::NVByHourByteStatsBase::STATS_SET_AMBLIGHT_BY_HOUR_SMOOTHED),
!tempControl.hasEcoBias());
Expand Down
4 changes: 2 additions & 2 deletions Arduino/V0p2_Main/V0p2_Generic_Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ Author(s) / Copyright (s): Damon Hart-Davis 2013--2016
//#define CONFIG_Trial2013Winter_Round2_BOILERHUB // REV2 cut4 as plain boiler hub.
//#define CONFIG_Trial2013Winter_Round2_STATSHUB // REV2 cut4 as stats hub.
//#define CONFIG_Trial2013Winter_Round2_NOHUB // REV2 cut4 as TX-only leaf node.
//#define CONFIG_DORM1 // REV7 / DORM1 all-in-one valve unit, secure TX.
#define CONFIG_DORM1 // REV7 / DORM1 / TRV1.x all-in-one valve unit, secure TX.
//#define CONFIG_DORM1_BOILER // REV8 / DORM1 boiler-control unit.
//#define CONFIG_REV10_AS_GSM_RELAY_ONLY // REV10: stats relay only.
#define CONFIG_REV10_SECURE_BHR // REV10: secure stats relay and boiler hub.
//#define CONFIG_REV10_SECURE_BHR // REV10: secure stats relay and boiler hub.
//#define CONFIG_REV11_RAW_JSON // REV11 as raw JSON-only stats/sensor leaf.
//#define CONFIG_REV14_WORKSHOP // REV14 w/ light sensor, SHT21, for Launchpad workshop.

Expand Down

0 comments on commit af85bf8

Please sign in to comment.