May I propose to make the polling time a configuration option?
I recognized a high CPU load (around 15-20%) by the shelly-1pm driver which is really an issue in my beaglebone base VenusOS, taking care of also 4 BMSs with the serial-driver.
It looks like the driver is polling 4 times per second and in my setup the shelly data is really low priority compared to the batteries, which I poll only every 5 seconds to keep the system up, so I'd appreciate if I could reduce the CPU load by increasing the poll interval for the shelly.
As a default value I would even propose to go for 1 second...
May I propose to make the polling time a configuration option?
I recognized a high CPU load (around 15-20%) by the shelly-1pm driver which is really an issue in my beaglebone base VenusOS, taking care of also 4 BMSs with the serial-driver.
It looks like the driver is polling 4 times per second and in my setup the shelly data is really low priority compared to the batteries, which I poll only every 5 seconds to keep the system up, so I'd appreciate if I could reduce the CPU load by increasing the poll interval for the shelly.
As a default value I would even propose to go for 1 second...