Hi folks,
As it turns out that for some people (some hardware or whatever) there appears to be a high cpu load when dzVents is enabled. For now, the best way to deal with this is to just turn dzVents off in the settings.
In the meantime the C++ experts are trying to figure out why and how this is happening. Unfortunately I'm not one of those experts. So, if you do indeed experience this problem and you have some C++ knowledge, any help (like profiling, tracing) is greatly appreciated.
Since many people really do like dzVents (I'm happy with that of course as it took me many months of work to make this happen) it would be a shame if somehow we couldn't figure out how to get the integration work properly for all of us.
Stay tuned...
High CPU load with latest beta
Moderator: leecollings
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
High CPU load with latest beta
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
-
blacksn0w
- Posts: 99
- Joined: Friday 10 March 2017 22:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany
- Contact:
Re: High CPU load with latest beta
Why is it enabled by default after all? I'd prefer an opt-in solution, since i have no plans to use it.
Migration done, hello Home Assistant.
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: High CPU load with latest beta
Because we didn't know that it would have this effect for some. When we tested it we never saw this happening so we always assumed that you wouldn't notice it when it was enabled. But that's easy to fix though. We'll disable it by default.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
- heggink
- Posts: 989
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: High CPU load with latest beta
Lot's of things are enabled by default: scripting engines like lua and python, blockly, ... I would have just considered this the next (natural) iteration of lua. Please also note that this is called beta for a reason.
Since there is such a difference in situations, have you looked at the different os/sw installations ie people on (updated) Jessie vs Wheezy?
Since there is such a difference in situations, have you looked at the different os/sw installations ie people on (updated) Jessie vs Wheezy?
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: High CPU load with latest beta
Totally agree. This move keeps me from updating domoticz. I don't want to remove dzVents manually after each update, I just want it disabled totally.blacksn0w wrote:Why is it enabled by default after all? I'd prefer an opt-in solution, since i have no plans to use it.
Maybe the settings page where the eventsystem can be disabled should be extended with more options?
Now there's only one option: enable/disable.
Should be nice if one could choose te enable/disable:
Blockly, Python, Lua file based, Lua database based, dzVents,...
Now, because all of them are enabled by default or folders and storage types are queried to see if the're scripts to run. I only have 1 script so all the rest is needless io and cpu cycles.
- heggink
- Posts: 989
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: High CPU load with latest beta
Good suggestion. Granular enable / disable based on what you use.Egregius wrote:Totally agree. This move keeps me from updating domoticz. I don't want to remove dzVents manually after each update, I just want it disabled totally.blacksn0w wrote:Why is it enabled by default after all? I'd prefer an opt-in solution, since i have no plans to use it.
Maybe the settings page where the eventsystem can be disabled should be extended with more options?
Now there's only one option: enable/disable.
Should be nice if one could choose te enable/disable:
Blockly, Python, Lua file based, Lua database based, dzVents,...
Now, because all of them are enabled by default or folders and storage types are queried to see if the're scripts to run. I only have 1 script so all the rest is needless io and cpu cycles.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: High CPU load with latest beta
Well, just create some pull requests. It's open-source after all.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
- heggink
- Posts: 989
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: High CPU load with latest beta
Indeed.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Who is online
Users browsing this forum: No registered users and 1 guest