How add calculations for modbus energy meter (dbus-modbus-client)

Hello all,

I would like to add a higher resolution to the Kostal KSEM energymeter. Unfortunately, not all of the necessary values ​​are made available via Modbus registers: dbus-modbus-client-kostal-smartmeter/Kostal_SmartEnergyMeter.py at main · pmcgn/dbus-modbus-client-kostal-smartmeter · GitHub

Is there a way to perform my own calculations in the device.EnergyMeter class and publish the results to the dbus? Unfortunately, I couldn’t find any examples in the code…

Bests
nemon21