[BETA RELEASE] Keenect V2.7 and Keenzone 2.8, Proportional Vent Control with System Wide Zone Balancing

will try that later today.

1 Like

I have it running cool only using Code E_Sch sent me. no exceptions anymore. I am running cool only.

Unfortunately, it still closes the vent all the way (including ignoring the minimum vent opening selection as well.

Craig

Can you post some logs from Kenect and the zones

FYI, pretty sure the code for cool needs this change changed minus to plus

if (zoneTempLocal > zoneCSPLocal+1.4){
state.zoneneedofset = true
logger(10,ā€œinfoā€,ā€œCHILD zone needs offsetā€)
}
if (zoneTempLocal > zoneCSPLocal+1.7){
state.parentneedoffset = true
logger(10,ā€œinfoā€,ā€œParent needs offsetā€)
}
if (zoneTempLocal < zoneCSPLocal+1.4) {
state.zoneneedofset = false
logger(10,ā€œinfoā€,ā€œCHILD zone dose not need offsetā€)
}
if (zoneTempLocal < zoneCSPLocal+1.7) {
state.parentneedoffset = false
logger(10,ā€œinfoā€,ā€œParentdose not need offsetā€)
}

getting logs soon.

Zone 1
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: debug zoneEvaluate:exit-
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info CHILD Clearing System Reduced Ouput
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info CHILD zone temp is 79.41°F, cooling setpoint of 78°F is not met, setting vents to 0% output reduction false
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info CHILD zone needs offset
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: warn setVents- newVo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info CHILD evaluateVents Cooling
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: debug setVents:enter-
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info Parentdose not need offset
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: debug zoneEvaluate- zone temperature changed, zoneTemp: 79.41
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info no change in state
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: debug zoneEvaluate:enter-- parameters: [msg:temp, data:[tempChange]]
ec253cf2-3103-47f4-9bea-bced158ad629 4:58:00 PM: info Zone is enabled no zone climate selected always enabled
ec253cf2-3103-47f4-9bea-bced158ad629 4:57:59 PM: debug tempHandler- tempChange, value: 79.41
ec253cf2-3103-47f4-9bea-bced158ad629 4:57:59 PM: debug tempHandler- evt name: temperature, value: 79.41
ec253cf2-3103-47f4-9bea-bced158ad629 4:57:56 PM: info setVents- [Master bath Vent], changeRequired: false, new vo: 0, current vo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 4:57:56 PM: warn setVents- newVo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 4:57:56 PM: debug setVents:enter-
ec253cf2-3103-47f4-9bea-bced158ad629 4:56:56 PM: info setVents- [Master bath Vent], changeRequired: false, new vo: 0, current vo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 4:56:56 PM: warn setVents- newVo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 4:56:56 PM: debug setVents:enter-

Zone 2
Clear
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:22 PM: info setVents- [Becca Vent], changeRequired: false, new vo: 0, current vo: 0
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: warn setVents- newVo: 0
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: debug setVents:enter-
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:22 PM: info CHILD Requesting System Reduced Ouput
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: info Parent needs offset
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:22 PM: info CHILD zone temp is 82.04°F, cooling setpoint of 78°F is not met, setting vents to 0% output reduction false
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: debug zoneEvaluate- zone temperature changed, zoneTemp: 82.04
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: info vent at min VoLocal null
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: info CHILD zone needs offset
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: debug zoneEvaluate:enter-- parameters: [msg:temp, data:[tempChange]]
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: info no change in state
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: debug tempHandler- tempChange, value: 82.04
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: info Zone is enabled no zone climate selected always enabled
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:21 PM: debug tempHandler- evt name: temperature, value: 82.04
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:22 PM: debug levelHandler:exit-
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:22 PM: debug levelHandler- request vo: 0 t: 1490140761994
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:22 PM: debug levelHandler:enter-
25dc4269-a19d-4fe3-898e-72219a4b4563 4:59:11 PM: info Zone output redution disabled

Keenect
d55d5b6c-9770-45df-bc71-51bb3780e23e 4:59:11 PM: info PARENT Ouput Reduction Off
d55d5b6c-9770-45df-bc71-51bb3780e23e 4:57:06 PM: info PARENT state.reduceoutput = true
d55d5b6c-9770-45df-bc71-51bb3780e23e 4:57:06 PM: info PARENT Output Reduction On
d55d5b6c-9770-45df-bc71-51bb3780e23e 4:57:06 PM: info nor true
d55d5b6c-9770-45df-bc71-51bb3780e23e 4:57:06 PM: debug notifyZone:enter- map:[msg:stat, data:[initRequest:true, mainState:cool, mainMode:cool, mainCSP:79.0, mainHSP:72, mainOn:true]]
d55d5b6c-9770-45df-bc71-51bb3780e23e 4:57:06 PM: info Zone notification now

I also hardcoded lines 476 and 607 on the main app to make it start doing evaluations.

what is the vent max opening and vent min opening set to? the code for csp is to be +

one moment I think I found the problem.

in the setup ac needs to be enabled and for each of the zones min and max opening need to be set.

AC is enabled and they were set to 20 for minimum and full open for max

Set min to 20 and max to 90 AC is on

ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: info setVents- [Master bath Vent], changeRequired: false, new vo: 0, current vo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: warn setVents- newVo: 0
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: debug setVents:enter-
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: debug zoneEvaluate:exit-
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: info CHILD zone temp is 79.86°F, cooling setpoint of 78°F is not met, setting vents to 0% output reduction false
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: debug setVents:enter-
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: info CHILD zone needs offset
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: info CHILD evaluateVents Cooling
ec253cf2-3103-47f4-9bea-bced158ad629 5:37:55 PM: debug zoneEvaluate- zone temperature changed, zoneTemp: 79.86

more kibbitzing:

For cold:

                if (state.AggressiveTempVentCurveActive) {
                 VoLocal=Math.round(((zoneTempLocal - zoneCSPLocal)+ 0.2 )*300)

for hot:

                 if (state.AggressiveTempVentCurveActive){
                 
                 VoLocal=Math.round(((zoneHSPLocal - zoneTempLocal) + (1.0))*66)

I would think they would be more similar.

I have identified the problem its a setting on the min and max vent opening for cooling. I am fixing now.

please paste the following at 763 in keen zone

 def minVoCLocal = settings.minVoC.toInteger()
def maxVoCLocal = settings.maxVoC.toInteger()

it appears we were not setting the cool min and max vent opening

Just pushed out version 2.7 that should fix this problem. Please try the first fix first as 2.7 has additional capabilities and options that I have released early with limited testing.

Preliminary results look good! The vents in zones overtemp are open, the vent in undertemp is closed. I will keep logging through the night and check in the morning.

Thanks for the great work!
Craig

Overnight results look good. The vents are not being reset to zero all of the time.

Do you want me to move to 2.7 for testing?

Craig

I have release an beta update to the full system.

Keenect to 2.7
Keenzone to 2.8

Bug Fixes
In this update an effort was placed on bug fixing around problems with nest thermostats.

New Features
-This release adds the ability to set a vent position when a whole house humidifier is running from an ecobee thermostat without a call for heat. Each zone has a setting on the main page for a corresponding vent position.

Requirements
-If you update a previous version keenect you must go into each zone and then click done to update the humidifier vent position.
-In this release I am moving away from supporting the generic ecobee driver because of the many missing features and moving to support yracine device handler https://github.com/yracine/device-type.myecobee I understand his device type is not a free solution however for the features I am offering this is the device driver the system was built off.
-I will work in the coming months to update the needed features into a generic and free device driver.

I updated to this code today.
I have to open the vents manually or I can’t save the setup page. exception on line 1089 when I try to save.
The room is colder than setpoint, so it should go to minimum. It is ignoring the minimum cooling vent opening and closing the vents all of the way. When that happens I get this:

ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 1089
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: warn setVents- newVo: null
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: debug setVents:enter-
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: info Parentdose not need offset
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: info CHILD zone dose not need offset
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: info CHILD evaluateVents Cooling
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: debug zoneEvaluate:enter-- parameters: [msg:stat, data:[initRequest:true, mainState:cool, mainMode:auto, mainCSP:79.0, mainHSP:72.0, mainOn:true, mainES:idle]]
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: info no change in state
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: info Zone is enabled no zone climate selected always enabled
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:19 PM: debug Updated with settings: [coolOffset:0, logLevel:40, FanHum:50, maxVo:90, staticHSP:72, AggressiveTempVentCurve:false, maxVoC:90, minVo:20, heatOffset:0, tempSensors:Master Bath Motion Sensor, vents:[Master bath Vent], zoneControlType:fixed, FanAHC:90, minVoC:20, staticCSP:78, sendEventsToNotifications:false, ventCloseWait:-1]
ec253cf2-3103-47f4-9bea-bced158ad629 4:20:12 PM: debug programs: [null]
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:37 PM: debug setVents:enter-
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:37 PM: info no change in state
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:37 PM: info Zone is enabled no zone climate selected always enabled
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:37 PM: debug Updated with settings: [coolOffset:0, logLevel:40, FanHum:50, maxVo:90, staticHSP:72, AggressiveTempVentCurve:false, maxVoC:90, minVo:20, heatOffset:0, tempSensors:Master Bath Motion Sensor, vents:[Master bath Vent], zoneControlType:fixed, FanAHC:90, minVoC:20, staticCSP:78, sendEventsToNotifications:false, ventCloseWait:-1]
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:34 PM: debug programs: [null]
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:16 PM: debug levelHandler:exit-
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:16 PM: debug levelHandler- request vo: 61 t: 1490570355999
ec253cf2-3103-47f4-9bea-bced158ad629 4:19:16 PM: debug levelHandler:enter-

I will try to capture better logs if I can.

The problem your experiencing is because you do not have a vent associated with that zone. Try deleting the zone and making a new zone?

Thanks