temp-fan-control/config.json

127 lines
2.2 KiB
JSON

{
"sensors": {
"0":{
"name": "inside",
"BCM": 20,
"GPIO": 20,
"header-pin": 38,
"pre-resistance": 9770.0
},
"1":{
"name": "outside",
"BCM": 26,
"GPIO": 26,
"header-pin": 37,
"pre-resistance": 10000.0
},
"2":{
"BCM": 19,
"GPIO": 19,
"header-pin": 35,
"pre-resistance": 10000.0
},
"3":{
"BCM": 16,
"GPIO": 16,
"header-pin": 36,
"pre-resistance": 10000.0
},
"4":{
"BCM": 13,
"GPIO": 13,
"header-pin": 33,
"pre-resistance": 10000.0
},
"5":{
"BCM": 12,
"GPIO": 12,
"header-pin": 32,
"pre-resistance": 10000.0
},
"6":{
"BCM": 6,
"GPIO": 6,
"header-pin": 31,
"pre-resistance": 10000.0
},
"7": {
"BCM": 5,
"GPIO": 5,
"header-pin": 29,
"pre-resistance": 10000.0
}
},
"sensor-defaults": {
"temperature_nominal": 25,
"resistance_nominal": 10000,
"correction_resistance": 4800
},
"pwm": {
"upper-fan": {
"on-off": {
"BCM": 22,
"GPIO": 22,
"header-pin": 15
},
"pwm": {
"BCM": 23,
"GPIO": 23,
"header-pin": 16
}
},
"lower-fans": {
"on-off": {
"BCM": 17,
"GPIO": 17,
"header-pin": 11
},
"pwm": {
"BCM": 18,
"GPIO": 18,
"header-pin": 12
}
}
},
"pwm-defaults":{
"frequency": 25000
},
"activated-channels": [ 0, 1],
"interval": 1,
"use_difference": true,
"thresholds-for": "inside",
"thresholds": {
"off":{
"temp": 25,
"diff": 5,
"fan-up": false,
"fan-low": false,
"pwm-up": 0.0,
"pwm-low": 0.0
},
"33%": {
"temp": 35,
"diff": 15,
"fan-up": false,
"fan-low": true,
"pwm-up": 33.0,
"pwm-low": 33.0
},
"66%": {
"temp": 45,
"diff": 25,
"fan-up": true,
"fan-low": true,
"pwm-up": 100.0,
"pwm-low": 66.0
},
"100%": {
"temp": 100,
"diff": 50,
"fan-up": true,
"fan-low": true,
"pwm-up": 100.0,
"pwm-low": 100.0
}
}
}