2022-02-10 10:39:50 -06:00
|
|
|
{
|
|
|
|
"PSU":
|
|
|
|
{
|
|
|
|
"psu_present":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": { "1":true, "0":false }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"psu_power_good":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": { "1": true, "0":false }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"psu_fan_dir":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": { "F2B":"EXHAUST", "B2F":"INTAKE" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"PSU_FAN_MAX_SPEED":"18000"
|
|
|
|
},
|
|
|
|
|
|
|
|
"FAN":
|
|
|
|
{
|
|
|
|
"direction":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": {"1":"EXHAUST", "0":"INTAKE"}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"present":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": {"1":true, "0":false}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"duty_cycle_to_pwm": "lambda dc: ((dc*100.0)/625 - 1)",
|
|
|
|
|
2022-04-01 11:55:04 -05:00
|
|
|
"pwm_to_duty_cycle": "lambda pwm: (((pwm+1)*625.0)/100)"
|
2022-02-10 10:39:50 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|