Hi, sorry for the late response
I've ran the pstruc.sh script and as can be seen, Domoticz is using 20%. I did notice that the script gets a snapshot of the usage since power on so I enabled dzVents, rebooted and let it run for a bit. I've also added the dummy script that I uses.
top - 23:56:37 ...
Search found 6 matches
- Saturday 20 August 2022 0:07
- Forum: dzVents
- Topic: High CPU after enabling DZVents on build 14098
- Replies: 13
- Views: 2228
- Tuesday 16 August 2022 10:21
- Forum: dzVents
- Topic: High CPU after enabling DZVents on build 14098
- Replies: 13
- Views: 2228
Re: High CPU after enabling DZVents on build 14098
I've completely reinstalled Domoticz but to no avail. And I don't really feel like upgrading to the beta build. So I'll just leave it how I have it now with plain lua scripts. Thanks for all the help
- Sunday 14 August 2022 23:25
- Forum: dzVents
- Topic: High CPU after enabling DZVents on build 14098
- Replies: 13
- Views: 2228
Re: High CPU after enabling DZVents on build 14098
So I increased the timeout delay and as expected the spikes to 20-30% happened less frequently, but still to the same amount. So I've rewritten the dzVents script to a plain Lua script and disabled dzVents all together and now it spikes to a max 12%. So as I see it dzVents is only really useful for ...
- Sunday 14 August 2022 1:25
- Forum: dzVents
- Topic: High CPU after enabling DZVents on build 14098
- Replies: 13
- Views: 2228
Re: High CPU after enabling DZVents on build 14098
I didn't see that option, good catch. The P1 meter is set to 0. I will try increasing it later and see if anything changes.
- Saturday 13 August 2022 21:45
- Forum: dzVents
- Topic: High CPU after enabling DZVents on build 14098
- Replies: 13
- Views: 2228
Re: High CPU after enabling DZVents on build 14098
This doesn't fix the problem sadly. If I include a script like the following it still jumps to that higher usage. OP posted a script with a on system event.
return {
on = {
timer = {
'every minute'
}
},
logging = {
level = domoticz.LOG_INFO,
marker = 'template',
},
execute = function ...
return {
on = {
timer = {
'every minute'
}
},
logging = {
level = domoticz.LOG_INFO,
marker = 'template',
},
execute = function ...
- Saturday 13 August 2022 20:28
- Forum: dzVents
- Topic: High CPU after enabling DZVents on build 14098
- Replies: 13
- Views: 2228
Re: High CPU after enabling DZVents on build 14098
Hi,
First of all, I know this post is old and I'm pretty new to Domoticz stuff so excuse me if I get things wrong.
I am experiencing the same behavior in version 2022.1 running on a RPI 4. Simply adding any dummy dzVents script an my CPU usage jumps from ~5% to ~20-30%. After reading some forum ...
First of all, I know this post is old and I'm pretty new to Domoticz stuff so excuse me if I get things wrong.
I am experiencing the same behavior in version 2022.1 running on a RPI 4. Simply adding any dummy dzVents script an my CPU usage jumps from ~5% to ~20-30%. After reading some forum ...