Closed Hellowlol closed 4 years ago
Yes, I did notice that. Initially I wanted to use the async serial, but I could not get it to work. Looking forward for your PR.
The same thing happens to me, the load on the CPU increases to 30% when the plugin is active. usually I am at 1-2%
could you please try the cpu_ branch to see if that changes anything? Also can you supply what systems you are using? I'm using a rpi3+ and a intel i7700 server, and I do not have this issue.
I noticed the same issue on my rpi3 and nuc i5
Does the cpu_ branch change the behaviour? I got 5-10% less Cpu usage on my server, and 1-4% less on the rpi3+
Dunno, im using the stuff branch. Hass uses 2-6% on my nuc. Ill try the cpu_ later.
With the cpu_ branch load is around 2-3% so it did make a huge difference :) The load was around 30% before.
My system: Lenovo M92P Intel Core I3-2120T @ 2.6 GHz 6 GB Ram 256GB SSD
Ubuntu, docker with hassio
Perfect! thanks for the feedback. I'll push the change to master branch.
The cpu usage is very high (I have a solution for this pr is coming)
I have added a async method and threaded method, I don't know what is best yet.