fabian-lauer / dbus-shelly-3em-smartmeter

Integrate Shelly 3EM smart meter into Victron Energies Venus OS
124 stars 55 forks source link

performance tweaks #54

Open msekoranja opened 1 year ago

msekoranja commented 1 year ago

Hi,

I have a CCGX (slow CPU) and using dbus-shelly-3em-smartmeter is noticable. Even more powerful Cerbo-s will benefit from the following optimizations:

Great project!!!

msekoranja commented 1 year ago

Update: I have been testing connection reuse against 3EM. 3EM drops the connection after request, so reuse is not possible.

I see 2Hz rate is a but too high (I get the same value most of the time). 1Hz looks good, i.e. ~900ms sleep accounting some delay for the request.

Kotty666 commented 3 months ago

@fabian-lauer the _getConfig() issue is fixed in PR #71