Dzvents consumes high CPU
Moderator: leecollings
- waltervl
- Posts: 7021
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: New Dutch DzVents RIVM Stookalert
As a test you can just add the Domoticz logging demo script. It should do nothing until you switch the dummy test device. I wonder if that also consumes that high amount of CPU resources.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
janpep
- Posts: 321
- Joined: Thursday 14 March 2024 10:11
- Target OS: Linux
- Domoticz version: v2026.3
- Location: Netherlands
- Contact:
Re: New Dutch DzVents RIVM Stookalert
I think that EventSystemQueue processes all events, including those defined in Blockly.gbonny wrote: Monday 09 March 2026 20:27 One thing I noticed is after enabling this script Domoticz starts consuming an extra ~5-7% CPU usage.
I don't quite understand what the problem is. That the CPU doing something? And if the CPU does this four times a day, what is the problem?
In my case, it ranges from 1 to 10, but mostly between 2 and 5 and so varies greatly depending on what's running. Not surprising. I have several scripts with quite a few calculations.
If RIVM only updates the data four times a day, it does not seem very useful to run it more often. It always returns the next four time points.It seems that this script should only run 4 times a day..
My Dutch local 'Stookwijzer' script always calculates using the current and expected values and gives more time points.
Dz on Ubuntu VM on Proxmox behind FRITZ!Box.
EvoHome; MELCloud; P1 meter; Z-Stick GEN5; Z-Wave-js-ui; Sonoff USB-Dongle Plus-E; Zigbee2Mqtt; MQTT; Greenwave powernodes 1+6; Fibaro switch, plugs, smoke; FRITZ!DECT 200. Scripts listed in profile interests.
EvoHome; MELCloud; P1 meter; Z-Stick GEN5; Z-Wave-js-ui; Sonoff USB-Dongle Plus-E; Zigbee2Mqtt; MQTT; Greenwave powernodes 1+6; Fibaro switch, plugs, smoke; FRITZ!DECT 200. Scripts listed in profile interests.
- waltervl
- Posts: 7021
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Dzvents consumes high CPU
I splitted off the CPU issue from the RIVM topic as it is not related. I have the same Domoticz version and Ubuntu, not having this issue....
I am also not seeing this on latest beta.
Do you have a lot of devices?
I am also not seeing this on latest beta.
Do you have a lot of devices?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
janpep
- Posts: 321
- Joined: Thursday 14 March 2024 10:11
- Target OS: Linux
- Domoticz version: v2026.3
- Location: Netherlands
- Contact:
Re: Dzvents consumes high CPU
Yes, thank you very much. I already had the feeling it was getting a bit off topic.waltervl wrote: Tuesday 10 March 2026 22:31 I splitted off the CPU issue from the RIVM topic as it is not related. I have the same Domoticz version and Ubuntu, not having this issue....
Dz on Ubuntu VM on Proxmox behind FRITZ!Box.
EvoHome; MELCloud; P1 meter; Z-Stick GEN5; Z-Wave-js-ui; Sonoff USB-Dongle Plus-E; Zigbee2Mqtt; MQTT; Greenwave powernodes 1+6; Fibaro switch, plugs, smoke; FRITZ!DECT 200. Scripts listed in profile interests.
EvoHome; MELCloud; P1 meter; Z-Stick GEN5; Z-Wave-js-ui; Sonoff USB-Dongle Plus-E; Zigbee2Mqtt; MQTT; Greenwave powernodes 1+6; Fibaro switch, plugs, smoke; FRITZ!DECT 200. Scripts listed in profile interests.
- gizmocuz
- Posts: 3026
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Dzvents consumes high CPU
@gbonny, they is quite a few. And if you have scripts that could react on any device update, you will CPU usage
Upgrade to the beta and you should see already less CPU usage
Upgrade to the beta and you should see already less CPU usage
Quality outlives Quantity!
- gizmocuz
- Posts: 3026
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Dzvents consumes high CPU
@gbonny, yes once all changes in the beta are stable (they are quite stable but there is a big frontend patch that possibly needs more attention)
Quality outlives Quantity!