2022-05-23 20:45:37 -05:00
|
|
|
{
|
|
|
|
"XCVR":
|
|
|
|
{
|
|
|
|
"xcvr_present":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
2023-01-18 12:00:07 -06:00
|
|
|
"valmap-SFP+": {"1":false, "0":true }
|
2022-05-23 20:45:37 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"PSU":
|
|
|
|
{
|
|
|
|
"psu_present":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": { "1":true, "0":false }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"psu_power_good":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": { "0": true, "1":false }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"psu_fan_dir":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
2023-01-18 12:00:07 -06:00
|
|
|
"valmap": { "0":"INTAKE", "1":"EXHAUST" }
|
2022-05-23 20:45:37 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"PSU_FAN_MAX_SPEED":"18000"
|
|
|
|
},
|
|
|
|
"FAN":
|
|
|
|
{
|
|
|
|
"direction":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": {"1":"EXHAUST", "0":"INTAKE"}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"present":
|
|
|
|
{
|
|
|
|
"i2c":
|
|
|
|
{
|
|
|
|
"valmap": {"1":false, "0":true}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"duty_cycle_to_pwm": "lambda dc: dc*255/100",
|
|
|
|
|
|
|
|
"pwm_to_duty_cycle": "lambda pwm: pwm/255*100"
|
|
|
|
}
|
|
|
|
}
|