目前有个需求需要把PSU 传感器事件需要写下面00h 01h 02h 03h 05h 06h offset 事件。目前有个OnePower,但是不清楚里面的字段是否可以对应这些事件不,想请教下。
OnePower 如下:
~ ~ $ mdbctl lsprop OnePower_0_01010901
bmc.kepler.Chassis.PowerSubsystem.Capacitor
DepthOfDischargeVolts=0
HardwareVersion=“”
PowerState=“N/A”
VOUTDebounceMilliseconds=0
bmc.kepler.Chassis.PowerSubsystem.Capacitor.Metrics
CapacityMicrofarads=0
bmc.kepler.Chassis.PowerSubsystem.PowerSupply.Metrics
EnergyApparentkVAh=0
EnergyLifetimekWh=0
EnergyReactivekVARh=0
EnergySensorResetTime=“”
EnergykWh=0
InputCurrentAmpsCrestFactor=0
InputCurrentAmpsTHDPercent=0
InputPowerWattsApparentVA=0
InputPowerWattsPhaseAngleDegrees=0
InputPowerWattsPowerFactor=0
InputPowerWattsReactiveVAR=0
InputVoltageCrestFactor=0
OutputPowerWattsApparentVA=0
OutputPowerWattsPhaseAngleDegrees=0
OutputPowerWattsPowerFactor=0
OutputPowerWattsReactiveVAR=0
bmc.kepler.Chassis.PowerSubsystem.PowerSupply.OutputControl
OutputPowerLimitWatts=0
bmc.kepler.Object.Properties
ClassName=“OnePower”
ObjectIdentifier=[1,“1”,“”,“01010901”]
ObjectName=“OnePower_0_01010901”
TraceSamplingRate=0
bmc.kepler.Systems.PowerMgmt.OnePower
DMTFPowerSupplyType=4
DeepSleepStandbyPowerWatts=65535
DeviceLocator=“PSU1”
FirmwareVersion=“DC:109 PFC:109”
InputVoltageType=0
IsPartOfSysPower=true
LineInputVoltageType=“Unknown”
Manufacturer=“Huawei”
Model=“PAH3KS54-CB”
PartNumber=“02314LHK”
Position=“PEU”
PowerSupplyChannel=0
PowerSupplyType=1
Presence=1
ProductionDate=“2025-12-03”
Protocol=“pmbus”
RedundancyGroupId=0
RelaySwitchedCount=0
SerialNumber=“2102314LHKW0RB002487”
SlotNumber=1
SourceType=1
TotalRunningHours=0
WorkMode=“Enabled”
bmc.kepler.Systems.PowerMgmt.OnePower.EfficiencyCurve
EfficiencyCurve=
PowerLevel=“N/A”
bmc.kepler.Systems.PowerMgmt.OnePower.Metrics
InputCurrentAmps=4.54
InputFrequencyHz=0
InputPowerWatts=1032
InputVoltage=227
OutputCurrentAmps=17.75
OutputPowerWatts=958
OutputVoltage=54.1
Rate=3000
RatedCurrentAmps=0
bmc.kepler.Systems.PowerMgmt.OnePower.Status
BackupCircuitVINStatus=255
CMLStatus=0
CommunicationStatus=0
DeepSleepEnabled=0
DualInputVoltageStatus=0
EquipmentMode=255
Failure=0
Fan1Fault=0
Fan2Fault=0
FanFault=0
Health=0
InputVoltageFault=0
InputVoltageStatus=0
IsUpgrading=false
LossOfInput=0
MainCircuitVINStatus=255
MfrSpecificStatus=240
NormalAndRedundancySupported=false
OtherStatus=0
OutputCurrentFault=0
OutputState=1
OutputVoltageFault=0
OverTemperature=0
ScanStatus=15
SleepMode=“Normal”
TPSUStatusHigh=0
TPSUStatusLow=0
bmc.kepler.Systems.PowerMgmt.OnePower.Temperatures
EnvTemperatureCelsius=32
InletTemperatureCelsius=0
InnerTemperatureCelsius=0
PrimaryChipTemperatureCelsius=50
SecondaryChipTemperatureCelsius=44
Private
AlarmStatus=0
InputState=0
PhysicalInterface=“pmbus”
PreAlarmStatus=0
RefFrudata=“FruData_Ps_01010901”
RefSMCChip=
UnsupportedProperties=
UpgradeSupported=true
~ ~ $

