Widget state change delay

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
Dave21w
Posts: 399
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Widget state change delay

Post by Dave21w »

I have this issue randomly, I'm running the latests beta but it's happened many times before. System is Rpi3b+ with latest 64bit os, Z2M and mqtt.
Clicking the widget for turning on (for example) the fan causes the fan to come on straight away, so message from domoticz to mqtt to z2m is working pretty much instantly but the widget does not change state, the time it takes to reflect the current device state seems to change, for instance while typing this I timed it and it took 1 min 10 sec for the widget to update. Refreshing the browser or even opening the Domoticz UI on another PC still shows the widget to be showing the incorrect state. This only seems to relate to zigbee devices, I have never seen the issue with anything running Tasmota. If you have switched something on and the widget is stuck in off you then cannot switch it off becuse every press of the widget says switching on.

Any ideas clever people as it's driving me nuts :twisted:
User avatar
waltervl
Posts: 6678
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Widget state change delay

Post by waltervl »

I think this could be related to feedback from Zigbee2MQTT?
So when you switch the fan on, the command is sent to Z2M but it takes some time for Z2M to send the confirmation back to Domoticz?
I am not sure about how Z2M handles feedback though as I do not use Z2M.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Widget state change delay

Post by jvdz »

I would start with monitoring the mqtt messages going between domoticz and zigbee2mqtt to see if the reply from z2m takes this long.
FlyingDomotic
Posts: 463
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Widget state change delay

Post by FlyingDomotic »

For me, for 140+ ZigBee devices, it immediate ...

You may have a look to Z2M logs to see if something is wrong.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest