Hello,
I am using Aeotec USB Z-wave dongle together with aeotec multisensor 6.
The issue is that looks like motion is detected quickly (green led on the sensor blinks momentally when I move) but on domoticz sensor value switches after 3-5 seconds. It makes it useless for me as I want to switch some light when there is any movement.
What can be the cause of this delay? Does it happen for other sensors ?
Wysłane z mojego SM-N910F przy użyciu Tapatalka
Delay from motion sensor
Moderator: leecollings
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: Delay from motion sensor
Did you try to trigger a light with a script already?kilowat wrote: ↑Sunday 28 January 2018 23:18 Hello,
I am using Aeotec USB Z-wave dongle together with aeotec multisensor 6.
The issue is that looks like motion is detected quickly (green led on the sensor blinks momentally when I move) but on domoticz sensor value switches after 3-5 seconds. It makes it useless for me as I want to switch some light when there is any movement.
What can be the cause of this delay? Does it happen for other sensors ?
Wysłane z mojego SM-N910F przy użyciu Tapatalka
Ask this because if you look at webgui and take that as reference then it's correct it that it will take a while to update.
But thats the Webgui cache which has to be updated.
While if fact the light is already on.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
-
- Posts: 14
- Joined: Monday 31 October 2016 6:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Delay from motion sensor
I didn't check it yet. I was just looking into the logs and Web GUI.Siewert308SW wrote:Did you try to trigger a light with a script already?kilowat wrote: ↑Sunday 28 January 2018 23:18 Hello,
I am using Aeotec USB Z-wave dongle together with aeotec multisensor 6.
The issue is that looks like motion is detected quickly (green led on the sensor blinks momentally when I move) but on domoticz sensor value switches after 3-5 seconds. It makes it useless for me as I want to switch some light when there is any movement.
What can be the cause of this delay? Does it happen for other sensors ?
Wysłane z mojego SM-N910F przy użyciu Tapatalka
Ask this because if you look at webgui and take that as reference then it's correct it that it will take a while to update.
But thats the Webgui cache which has to be updated.
While if fact the light is already on.
Do you think there is some delay in the logs too?
I have to check it... Thank you
Wysłane z mojego SM-N910F przy użyciu Tapatalka
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: Delay from motion sensor
Don't trust the update rate of the log and webgui.
That's just a bit out of sync, not a domoticz issue but more a refresh rate issue in browser.
You have to check with a script which will trigger a light when the sensor is triggered.
100% sure it will fire instant while log and webgui isn't updated yet.
That's just a bit out of sync, not a domoticz issue but more a refresh rate issue in browser.
You have to check with a script which will trigger a light when the sensor is triggered.
100% sure it will fire instant while log and webgui isn't updated yet.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Delay from motion sensor
Watch the logfile with tail -f -s 0.1 /var/log/domoticz.log, then you'll only have 0.1 seconds delay. The default tail delay is 1 second.
The Domoticz GUI has a 10 seconds delay, the GUI log view something about 2 seconds.
And of course, best test is switch a light on with the PIR. Should be switched on in less than 100 msecs, view the logfile to verify that.
2018-01-29 06:55:25.994 (ZWAVE) Light/Switch (pirkeuken)
2018-01-29 06:55:26.001 User: Admin initiated a switch command (11/keuken/On)
The Domoticz GUI has a 10 seconds delay, the GUI log view something about 2 seconds.
And of course, best test is switch a light on with the PIR. Should be switched on in less than 100 msecs, view the logfile to verify that.
2018-01-29 06:55:25.994 (ZWAVE) Light/Switch (pirkeuken)
2018-01-29 06:55:26.001 User: Admin initiated a switch command (11/keuken/On)
Re: Delay from motion sensor
Hi
I'm experiencing something similar and seeing that the dzvents or lua script events are not starting until nearly 1 second after the event has occured. I'm using a Fibaro Multisensor (v3.2 version) and a Zwave.me Uzb on Windows 7 machine with the latest version of Domoticz. See pic below
There is also another issue with the Multisensor where the Burglar sensor is triggered with the PIR sensor but I've been unable to resolve this, seems that this is a common issue with the v3.2 version.
Any ideas how to reduce this latency? I heard that pass2php might be quicker but this looks difficult to setup on Windows.
Thanks
I'm experiencing something similar and seeing that the dzvents or lua script events are not starting until nearly 1 second after the event has occured. I'm using a Fibaro Multisensor (v3.2 version) and a Zwave.me Uzb on Windows 7 machine with the latest version of Domoticz. See pic below
There is also another issue with the Multisensor where the Burglar sensor is triggered with the PIR sensor but I've been unable to resolve this, seems that this is a common issue with the v3.2 version.
Any ideas how to reduce this latency? I heard that pass2php might be quicker but this looks difficult to setup on Windows.
Thanks
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Delay from motion sensor
30 seconds for response? OMG. Are you sure your scripts are set correctly?
Pass2php should be possible on Windows with something like XAMPP.
Pass2php should be possible on Windows with something like XAMPP.
Who is online
Users browsing this forum: No registered users and 1 guest