LembkeM / ioBroker.echarge_cpu2

ioBroker Adapter to control to your Hardy Barth eCharge WallBox
MIT License
0 stars 0 forks source link

timeouts and intervals must be cancelled #17

Open LembkeM opened 1 year ago

LembkeM commented 1 year ago

At https://github.com/LembkeM/ioBroker.echarge_cpu2/blob/c47f299ffd83bbaf42d346d7984c2cf6d2d15823/src/saliahttpservice.ts#L59 you start an intervall time of 10s to refresh data. This intervall timer MUST be cancelled during onUnload. I did not dtect such a clear cancel - as you do not save the time id I think its not possible anyway.