Program: Sync.temp.out.average - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

This is my latest using NodeLink input from the Ecobee current weather reporting.

11.10.1.4Program: Sync.Temp.out.average

If
$sTag3.temp < 45
Or 'Dining Room / GathRm Stat / Current Weather' Temperature <= 45.0°
Or $sWC8.outTemp.raw < 450
Then
$TempAvg.sum = 0
$TempAvg.contrib.cnt = 0
// sum inputs within dev.max of past average and keep count
// start with sensor 1, if within deviation allowed
$TempAvg.deviation = $sWC8.outTemp.raw
$TempAvg.deviation /= 10
$TempAvg.deviation -= $sHouse.outTemp
Repeat While $TempAvg.deviation < 0
$TempAvg.deviation *= -1
Repeat While $TempAvg.deviation <= $cTEMPAVG.DEV.ALLOWED
$TempAvg.sum += $sWC8.outTemp.raw
$TempAvg.sum /= 10
$TempAvg.contrib.cnt += 1
$TempAvg.deviation = 999
Repeat 1 times
// add in sensor 2, if within deviation allowed
Page | 321

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-994i

Table of Contents