How many devices you have been able to control with your raspberry?
I have z-way running on a rasp together other softwares to monitor energy production and consumpion.
When Z-Way is running the CPU goes from 30% to 80% and I have only few sensors (3 plugs and a sensor motion).
I'm worried my Rasp cannot manage so many devices.
What is your experience about?
CPU Limitation
Re: CPU Limitation
This might not be dependent by the number of the devices. You must be aware of how many tasks you are running simultaneously. Active modules and the number of active automation-roles will have definitely an impact.
I'm using htop for monitoring my RPi CPU. If you don't have it, here you can get it:
I have a Network with 11 devices connected, but not much automation stuff running yet. The CPU is almost 75% free.
I'm using htop for monitoring my RPi CPU. If you don't have it, here you can get it:
Code: Select all
sudo apt-get install htop
Re: CPU Limitation
thanks
in fact I'm enjoying to test some rules in Automation. What is the difference between htop and top?
in fact I'm enjoying to test some rules in Automation. What is the difference between htop and top?
Re: CPU Limitation
PoltoS has about 30 devices, I believe. But not sure if he's running on Raspberry 
CPU usage actually doesn't depend on number of devices. Impact from running an internal worker thread is minimal. It is usually JS/HTTP stuff making all that load. So make sure you don't have some heavy JS scripts running.
We're currently reworking JS core almost from scratch.
Now running on my MacBook Air, Z-Way + Blue UI + HA + proxying two camera streams (yes, it will be possible to watch your webcameras through find.z-wave.me), it takes about 2% CPU. Shouldn't take much more on Raspberry.

CPU usage actually doesn't depend on number of devices. Impact from running an internal worker thread is minimal. It is usually JS/HTTP stuff making all that load. So make sure you don't have some heavy JS scripts running.
We're currently reworking JS core almost from scratch.
Now running on my MacBook Air, Z-Way + Blue UI + HA + proxying two camera streams (yes, it will be possible to watch your webcameras through find.z-wave.me), it takes about 2% CPU. Shouldn't take much more on Raspberry.
Re: CPU Limitation
htop gave me more details than top and is in my eyes more well organized in showing the data.
Look in the column CPU% to find out which process is consuming your CPU resources.
You can check this in htop easily.
Look in the column CPU% to find out which process is consuming your CPU resources.
You can check this in htop easily.
Re: CPU Limitation
You mean that you are working on a new version that is minimising the CPU utilization?pofs wrote: We're currently reworking JS core almost from scratch.
Now running on my MacBook Air, Z-Way + Blue UI + HA + proxying two camera streams (yes, it will be possible to watch your webcameras through find.z-wave.me), it takes about 2% CPU. Shouldn't take much more on Raspberry.
It would be fantastic.
Re: CPU Limitation
Yes, I downloaded it just nowkambis wrote:htop gave me more details than top and is in my eyes more well organized in showing the data.
Re: CPU Limitation
Well, let's say we're working on it not because of CPU utilization, but complete rewrite might be a good way to get rid of old bugs.SolarFlor wrote:You mean that you are working on a new version that is minimising the CPU utilization?
There will be enough changes to name it 2.0, not 1.8

Including (spoiler alert!) native modules, server push (via websockets), pass-thru proxy, black-jack and hookers. I just hope it wouldn't crash somewhere in a bloody brutal way

Re: CPU Limitation
My system has 15 physical devices at the moment: 8 miscellaneous switches, 5 StellaZ, 1 Fib Universal Sensor, 1 Aeon Range Extender. These result in 35 Widgets one of which is the virtual device created by the battery polling module.pofs wrote:PoltoS has about 30 devices, I believe. But not sure if he's running on Raspberry
With top command z-way-server running average around 4-5% with shorter peaks up to 90%.
An OpenRemote controller on Synology DS212+ makes frequent polling requests to these devices. Call intervals range from 1s for switches to 16 minutes for the Thermostatic Radiator valves. In the end I expect to have some 50 physical devices. Remains to be seen how well that goes together with some automation modules I intend to move from The OpenRemote controller to Z-Way server...
Since 29-12-2016 I am no longer a moderator for this forum