Page 1 of 1

[Solved] Bug? Dimlevel change changes other lights too

Posted: Sunday 06 September 2020 21:22
by MrDeadLock
APP:
Version: 0.2.232 (7878)
Platform: Android 9
Plugin/Hardware: MQTT/Philips HUE

Domoticz:
Version: 2020.2
Build Hash: b63341bc0
Compile Date: 2020-04-26 13:47:55
dzVents Version: 3.0.2
Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]
Hardware: Raspberry PI 3B, Raspbian Buster Desktop version

When changing the brightness level of a MQTT (Tasmota) light, one or more other lights (HUE and/or other MQTT lights) switch dimlevel too, even if they were off. Sometimes this also happens when changing the dimlevel of a HUE light, then other HUE/MQTT lights change accordingly.

This behaviour doesn't occur when controlling lights with the webinterface, only when using the app. I tested with the paid en free version of the app.

I tried disabling Events/dzVents/Lua -> same results
I tried a fresh install of Domoticz on another SD-card with only HUE and MQTT hardware installed and enabled -> same results
I tried resetting the app -> same results
I tried removing/installing the app -> same results

When I use tcpdump on the raspberry pi where Domoticz is installed to view the traffic from my phone to Domoticz (sudo tcpdump -vv -X src <my_phone_ip>), the following happens when I set the dimlevel for device 1144:

Code: Select all

GET /json.htm?type=command&param=switchlight&idx=1177&switchcmd=Set%20Level&level=63.0&passcode= HTTP/1.1
GET /json.htm?type=command&param=switchlight&idx=1175&switchcmd=Set%20Level&level=63.0&passcode= HTTP/1.1
GET /json.htm?type=command&param=switchlight&idx=1173&switchcmd=Set%20Level&level=63.0&passcode= HTTP/1.1
GET /json.htm?type=command&param=switchlight&idx=1144&switchcmd=Set%20Level&level=63.0&passcode= HTTP/1.1
So when changing the brightness of only one light, the app is sending the command for multiple lights with the actual light last :?:

I've been at this for 2 days now and am currently at a loss for what to try next. Since it also happens on a fresh install of Domoticz there must be other users with the same problem?

edit: updated title

Re: Bug? Dimlevel change changes other lights too

Posted: Wednesday 09 September 2020 21:49
by MrDeadLock
Today I installed 8 shuttercontrollers at my friends home. The shutters are controlled by MQTT and are installed on a fresh domoticz. After installing the Domoticz Lite app on his tablet, the same thing happened again :x -> When changing the close-percentage for shutter A with the app, shutter C changes too, to the same percentage. When controlling shutter A via the website, shutter C does not change.

Since this is a new rpi, a fresh domoticz and an other tablet I am convinced there must be other users with the same problem. I know I am the common denominator for both sites so it could be a configuration/setup problem, but since tcpdump showed that the app is sending a command to multiple devices I still believe it's a bug in the app.

edit: typos

Re: Bug? Dimlevel change changes other lights too

Posted: Saturday 12 September 2020 22:37
by skonet87
My brother also has this problem..
When trying to dim one light a few others (seems random which ones) follow.
Using the web everything seems normal.

In the domoticz log after pressing only 1 light to dim once:
2020-09-12 22:31:38.020 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.027 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.030 Status: User: Admin initiated a switch command (12/zigbee - TV/Set Level)
2020-09-12 22:31:38.071 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.102 Status: User: Admin initiated a switch command (12/zigbee - TV/Set Level)
2020-09-12 22:31:38.102 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.134 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.175 Status: User: Admin initiated a switch command (12/zigbee - TV/Set Level)
2020-09-12 22:31:38.177 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.183 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.230 Status: User: Admin initiated a switch command (12/zigbee - TV/Set Level)
2020-09-12 22:31:38.230 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.255 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.262 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.266 Status: User: Admin initiated a switch command (12/zigbee - TV/Set Level)
2020-09-12 22:31:38.310 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.311 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.375 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.376 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.423 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.423 Status: User: Admin initiated a switch command (5/zigbee - Byrå hall/Set Level)
2020-09-12 22:31:38.494 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)
2020-09-12 22:31:38.543 Status: User: Admin initiated a switch command (14/zigbee - TV Bänk/Set Level)

Re: Bug? Dimlevel change changes other lights too

Posted: Thursday 17 September 2020 22:02
by Johndomo
I experience the same problem.

Re: Bug? Dimlevel change changes other lights too

Posted: Monday 12 October 2020 19:34
by MrDeadLock
The latest update 0.2.232 (7897) seems to have fixed the problem :D 8-)

Re: [Solved] Bug? Dimlevel change changes other lights too

Posted: Wednesday 21 October 2020 22:49
by pepepaco
Still have the same problem with latest version 0.2.232 (7897). Already tried reinstalling with the same results.

Re: [Solved] Bug? Dimlevel change changes other lights too

Posted: Wednesday 30 December 2020 20:40
by zait83
Bump,

Have the same behavior. When in plan tries Changing devices multiple devices changes..

Re: [Solved] Bug? Dimlevel change changes other lights too

Posted: Sunday 29 January 2023 14:36
by Ragdag
I have the same issue but the developer is not really looking at this, even though I'm a paid subscriber and purchased the original premium.
Very disappointed

Re: [Solved] Bug? Dimlevel change changes other lights too

Posted: Thursday 30 March 2023 9:21
by Ragdag
Will do another kick of this topic, in the hope this issue will be addressed.

Re: [Solved] Bug? Dimlevel change changes other lights too

Posted: Thursday 30 March 2023 12:06
by waltervl
Perhaps make a documented issue here: https://github.com/domoticz/domoticz-android/issues

Re: [Solved] Bug? Dimlevel change changes other lights too

Posted: Thursday 30 March 2023 15:27
by Ragdag
Already open https://github.com/domoticz/domoticz-android/issues/644
Have asked repeatedly what is needed to troubleshoot, more than happy to get this fixed.