MicroOcpp icon indicating copy to clipboard operation
MicroOcpp copied to clipboard

addMeterValueInput Doesn't Work

Open swordliongit opened this issue 1 year ago • 0 comments

@matth-x

I want to send Voltage and Current with the meter value request but adding them with addMeterValueInput doesn't add anything to the JSON data that is being sent. I need urgent help, what should I do? Only setEnergyMeterInput and setPowerMeterInput work.

addMeterValueInput( { return 32.0f; }, "Current.Offered", "A");

addMeterValueInput( { return current_1; }, "Current.Import", "A", "", "L1"); addMeterValueInput( { return current_2; }, "Current.Import", "A", "", "L2"); addMeterValueInput( { return current_3; }, "Current.Import", "A", "", "L3");

addMeterValueInput( { return voltage_1; }, "Voltage", "V", "", "L1"); addMeterValueInput( { return voltage_2; }, "Voltage", "V", "", "L2"); addMeterValueInput( { return voltage_3; }, "Voltage", "V", "", "L3");

swordliongit avatar Apr 08 '24 13:04 swordliongit