[Solved] Bug? Dimlevel change changes other lights too

Moderator: leecollings

Post Reply
MrDeadLock
Posts: 3
Joined: Thursday 03 September 2020 12:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

[Solved] Bug? Dimlevel change changes other lights too

Post 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
Last edited by MrDeadLock on Monday 12 October 2020 19:38, edited 1 time in total.
MrDeadLock
Posts: 3
Joined: Thursday 03 September 2020 12:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bug? Dimlevel change changes other lights too

Post 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
skonet87
Posts: 2
Joined: Monday 05 February 2018 10:09
Target OS: Linux
Domoticz version: 2020.2
Contact:

Re: Bug? Dimlevel change changes other lights too

Post 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)
Johndomo
Posts: 30
Joined: Sunday 10 January 2016 17:16
Target OS: Windows
Domoticz version:
Contact:

Re: Bug? Dimlevel change changes other lights too

Post by Johndomo »

I experience the same problem.
MrDeadLock
Posts: 3
Joined: Thursday 03 September 2020 12:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bug? Dimlevel change changes other lights too

Post by MrDeadLock »

The latest update 0.2.232 (7897) seems to have fixed the problem :D 8-)
pepepaco
Posts: 1
Joined: Wednesday 21 October 2020 22:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by pepepaco »

Still have the same problem with latest version 0.2.232 (7897). Already tried reinstalling with the same results.
zait83
Posts: 4
Joined: Saturday 17 October 2015 21:17
Target OS: Linux
Domoticz version:
Contact:

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

Post by zait83 »

Bump,

Have the same behavior. When in plan tries Changing devices multiple devices changes..
User avatar
Ragdag
Posts: 95
Joined: Friday 30 March 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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
User avatar
Ragdag
Posts: 95
Joined: Friday 30 March 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post by Ragdag »

Will do another kick of this topic, in the hope this issue will be addressed.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post by waltervl »

Perhaps make a documented issue here: https://github.com/domoticz/domoticz-android/issues
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
Ragdag
Posts: 95
Joined: Friday 30 March 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest