Please help me.
I’ve been struggling with this for days and I don’t understand why there’s no improvement.
I used RPI3 B + before. There mysql/mariadb version did not work ,the basic version only worked.
But I have not achieved the good times as you have achieved.
I switched systems now.
My current system is an Asrock Q1900DC-ITX motherboard ( j1900 CPU 4 core, 2 GHz), 2 x8 GB Dual Channel 1333 MHz, DDR3L ram. 1pc sata3 30 GB SSD. A Crucial mx500 250 GB SSD (sata) will arrive tomorrow.
I use now a Proxmox system, there is 1 Virtual Machine only in the system. The storage space of the VM (no swap) is 4 GB, the size of the allocated ram is 10 GB.
What were in the description were things I installed.
Debian 10 Buster minimal system
Domoticz
Apache 2
PHP 7.3
Mariadb 10.3.23
In Domoticz, I turned off Dzvents. I deleted all Dzvent rules. In the / home/user/domoticz/scripts/lua folder, only the there is a script_device_pass2php.lua file.
Contents:
Code: Select all
for d,s in pairs(devicechanged)
do
os.execute('curl -X POST -d "d='..d.."&s="..s..'" http://127.0.0.1/secure/pass2php.php &')
end
What I'm trying to do is turn on the electricity as fast as possible when there's movement.
My php file looks like this:
Code: Select all
<?php
if ($status=='On'){
sw('E-I-Kapcsolo-Jobb','On');
}
The problem is that even with the slow RPI 3B + device I achieved close to these values: .
Now with Proxmox:
549 -> 701 = 152 ms ( it's even "much" slower than the zwave association.)
Code: Select all
2020-10-12 15:48:57.549 (AEON) Light/Switch (E-I-Mozgas2-Home Security)
2020-10-12 15:48:57.562 (AEON) Light/Switch (E-I-Mozgas2-Sensor)
2020-10-12 15:48:57.701 OpenZWave: Domoticz has send a Switch command! NodeID: 10 (0x0a)
my top (VM):
Code: Select all
top - 16:21:53 up 17:27, 1 user, load average: 0.25, 0.13, 0.04
Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.5 us, 1.5 sy, 0.0 ni, 97.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 9994.3 total, 8578.6 free, 295.4 used, 1120.3 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 9410.4 avail Mem
How can i find out what the bottleneck is, what is misconfigured?
Proxmox configuration

- vm_domoticz.jpg (17.26 KiB) Viewed 2892 times
I want to achieve a total response time of 15-30 ms
Thanks.