Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.54k stars 1.63k forks source link

MOES Star Ring Dimmable 2 & 3 Gang Switch - Dimming is not working from HA HUI #19874

Open demcas opened 7 months ago

demcas commented 7 months ago

What happened?

https://github.com/Koenkk/zigbee2mqtt/issues/18650

What did you expect to happen?

The 1 Gang Version of this switch works flawlessly. Can the settings be replicated for the 2 & 3 Gang switches to fixt this issue? image image image

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.33.2-1

Adapter firmware version

Latests version

Adapter

Skyconnect

Debug log

2Gang Dimmer Switch - Turn on frontend dim does not work.txt 2Gang Dimmer Switch - Turn on physically - dim works.txt

Koenkk commented 5 months ago

I've integrated a partial fix for this issue, the 2/3 gang should now behave the same as the 1 gang.

Changes will be available in the dev branch in a few hours from now.

demcas commented 5 months ago

@Koenkk

Looks like the issue might be resolved. Tested today in Z2MQTT Edge and recorded the following videos.

@beam-d I noticed the different branded lights operate at difference dimming speeds on this switches. See videos

1 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/lOO0wto_r1Y

2 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/uFXCeP7Nkac

3 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/FYxFYOQqkdM

I also conducted a seperate test on a new Moes Smart Dimming Relay (https://moeshouse.com/products/zigbee-smart-dimmer-switch-module-timer?variant=47134032691515) and it was very fast at dimming up and down the same lights tested on the Smart Switches. Would be great if the dimming speed from the ZM-105-M-MS Relay could be replicated on these smart switches.

Back to Back Light Speed Testing - Moes Dimmer Relay vs Moes Dimmer Switch Moes Relay: https://youtu.be/xFijBIivCJk Moes Switch: https://youtu.be/mpceoQOG8BI

nayzm commented 5 months ago

I also conducted a seperate test on a new Moes Smart Dimming Relay (https://moeshouse.com/products/zigbee-smart-dimmer-switch-module-timer?variant=47134032691515) and it was very fast at dimming up and down the same lights tested on the Smart Switches. Would be great if the dimming speed from the ZM-105-M-MS Relay could be replicated on these smart switches.

Back to Back Light Speed Testing - Moes Dimmer Relay vs Moes Dimmer Switch Moes Relay: https://youtu.be/xFijBIivCJk Moes Switch: https://youtu.be/mpceoQOG8BI

+1. Hopefully, this is possible, night and day difference between the two. At the moment, there is a very noticeable lag with the 3 Gang Switch, it takes a good few secs for a single response which is frustrating.

shamimrahim commented 5 months ago

@Koenkk

Looks like the issue might be resolved. Tested today in Z2MQTT Edge and recorded the following videos.

@beam-d I noticed the different branded lights operate at difference dimming speeds on this switches. See videos

1 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/lOO0wto_r1Y

2 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/uFXCeP7Nkac

3 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/FYxFYOQqkdM

I also conducted a seperate test on a new Moes Smart Dimming Relay (https://moeshouse.com/products/zigbee-smart-dimmer-switch-module-timer?variant=47134032691515) and it was very fast at dimming up and down the same lights tested on the Smart Switches. Would be great if the dimming speed from the ZM-105-M-MS Relay could be replicated on these smart switches.

Back to Back Light Speed Testing - Moes Dimmer Relay vs Moes Dimmer Switch Moes Relay: https://youtu.be/xFijBIivCJk Moes Switch: https://youtu.be/mpceoQOG8BI

@demcas, I have the 2 gang and do not have the same behaviour. As before, if I go from OFF state to another brightness level, it just reverts to the old brightness. I have to send ON command, then wait until brightness is reached and then send a second brightness command to set intended brightness level.

I am using the latest edge version.

Any ideas?

demcas commented 5 months ago

@Koenkk Looks like the issue might be resolved. Tested today in Z2MQTT Edge and recorded the following videos. @beam-d I noticed the different branded lights operate at difference dimming speeds on this switches. See videos 1 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/lOO0wto_r1Y 2 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/uFXCeP7Nkac 3 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/FYxFYOQqkdM I also conducted a seperate test on a new Moes Smart Dimming Relay (https://moeshouse.com/products/zigbee-smart-dimmer-switch-module-timer?variant=47134032691515) and it was very fast at dimming up and down the same lights tested on the Smart Switches. Would be great if the dimming speed from the ZM-105-M-MS Relay could be replicated on these smart switches. Back to Back Light Speed Testing - Moes Dimmer Relay vs Moes Dimmer Switch Moes Relay: https://youtu.be/xFijBIivCJk Moes Switch: https://youtu.be/mpceoQOG8BI

@demcas, I have the 2 gang and do not have the same behaviour. As before, if I go from OFF state to another brightness level, it just reverts to the old brightness. I have to send ON command, then wait until brightness is reached and then send a second brightness command to set intended brightness level.

I am using the latest edge version.

Any ideas?

I tested a second 2 gang dimmer light switch just now and I'm not experiencing your issue. See video link https://youtu.be/lyQe2LbgWTA

shamimrahim commented 5 months ago

@Koenkk Looks like the issue might be resolved. Tested today in Z2MQTT Edge and recorded the following videos. @beam-d I noticed the different branded lights operate at difference dimming speeds on this switches. See videos 1 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/lOO0wto_r1Y 2 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/uFXCeP7Nkac 3 Gang Dimmer Switch Test on Z2MQTT Edge https://youtu.be/FYxFYOQqkdM I also conducted a seperate test on a new Moes Smart Dimming Relay (https://moeshouse.com/products/zigbee-smart-dimmer-switch-module-timer?variant=47134032691515) and it was very fast at dimming up and down the same lights tested on the Smart Switches. Would be great if the dimming speed from the ZM-105-M-MS Relay could be replicated on these smart switches. Back to Back Light Speed Testing - Moes Dimmer Relay vs Moes Dimmer Switch Moes Relay: https://youtu.be/xFijBIivCJk Moes Switch: https://youtu.be/mpceoQOG8BI

@demcas, I have the 2 gang and do not have the same behaviour. As before, if I go from OFF state to another brightness level, it just reverts to the old brightness. I have to send ON command, then wait until brightness is reached and then send a second brightness command to set intended brightness level. I am using the latest edge version. Any ideas?

I tested a second 2 gang dimmer light switch just now and I'm not experiencing your issue. See video link https://youtu.be/lyQe2LbgWTA

Many thanks @demcas. Must be something to do with Z2M setup as I have same versions as you and @beam-d according to the Dev Console.

Sorry to be basic, but can I check that I installed the Edge version correctly? I did the following:

  1. uninstalled Z2M
  2. deleted the external converter file and removed reference from configuration.yaml
  3. Restarted Homeassistant
  4. Settings>addon store>check for updates (top right corner)
  5. Installed Z2M edge version, restored my config
  6. started z2m

Have I missed anything? Thanks

dankocrnkovic commented 5 months ago

Sorry to report, but with 1.35.2-1, nothing changed for me. It is behaving same as before.

Koenkk commented 5 months ago

@dankocrnkovic are you not using an external converter for this device? (no external_converters in your configuration.yaml)

dankocrnkovic commented 5 months ago

Jup, no external converters..

shamimrahim commented 5 months ago

Sorry to report, but with 1.35.2-1, nothing changed for me. It is behaving same as before.

Same for me.

demcas commented 5 months ago

Sorry to report, but with 1.35.2-1, nothing changed for me. It is behaving same as before.

Same for me.

I updated to 1.35.2 today and tested the 2&3 gang dim switches today. They are working flawlessly.

ncodee commented 5 months ago

Just to confirm, has everything been resolved or are there still some issues?

shamimrahim commented 5 months ago

Just to confirm, has everything been resolved or are there still some issues?

I still have the same issues as before. No change. I even started from scratch and built a new docker with a spare zigbee controller and still can't get the brightness to set from off state.

I have kind of given up on this as I can't think of anything more to check.

Koenkk commented 5 months ago

Does it work when first setting the state, wait 5 seconds, and then brightness?

shamimrahim commented 5 months ago

Does it work when first setting the state, wait 5 seconds, and then brightness?

Yes, it does, but with a 10 second delay. Anything less and it just stays at previous value

alectogeek commented 4 months ago

To summarize:

I was going to buy 2/3 gang versions of this dimmer switch. But the ability to turn on the light at a specific brightness is crucial for me.

beam-d commented 4 months ago

To summarize:

* the dimmers of all three gangs can be controlled from HA UI, right?

* it is not possible to turn on the light setting specific brightness for 2nd/3rd gang. It will turn on to the latest brightness level and after 5 seconds will change its brightness to one that we set from HA UI, right?

* 1 gang version works flawlessly and behaves as expected without any issues, right?

I was going to buy 2/3 gang versions of this dimmer switch. But the ability to turn on the light at a specific brightness is crucial for me.

FYI I've done some testing with a moes / tuya smart gateway, and it seem that those devices simply don't support setting luminosity while off (that's the same for the 1 gang btw). So it's not specific to HA or z2mqtt

ncodee commented 4 months ago

To summarize:

* the dimmers of all three gangs can be controlled from HA UI, right?

* it is not possible to turn on the light setting specific brightness for 2nd/3rd gang. It will turn on to the latest brightness level and after 5 seconds will change its brightness to one that we set from HA UI, right?

* 1 gang version works flawlessly and behaves as expected without any issues, right?

I was going to buy 2/3 gang versions of this dimmer switch. But the ability to turn on the light at a specific brightness is crucial for me.

FYI I've done some testing with a moes / tuya smart gateway, and it seem that those devices simply don't support setting luminosity while off (that's the same for the 1 gang btw). So it's not specific to HA or z2mqtt

Do you think that is something that can be added by an firmware update, or is it a hardware limitation? Might be a good idea for someone to get in contact with Moes and try to get these issues resolved once and for all.

demcas commented 4 months ago

To summarize:

  • the dimmers of all three gangs can be controlled from HA UI, right?
  • it is not possible to turn on the light setting specific brightness for 2nd/3rd gang. It will turn on to the latest brightness level and after 5 seconds will change its brightness to one that we set from HA UI, right?
  • 1 gang version works flawlessly and behaves as expected without any issues, right?

I was going to buy 2/3 gang versions of this dimmer switch. But the ability to turn on the light at a specific brightness is crucial for me.

To summarize:

beam-d commented 4 months ago

Do you think that is something that can be added by an firmware update, or is it a hardware limitation? Might be a good idea for someone to get in contact with Moes and try to get these issues resolved once and for all.

Probably not something limited by the hardware, thought it might be a limitation of their mcu / tuya module, or it could just not be updatable. Anyway it is worth asking I suppose. Also we should ask them if they can reduce the on/off fade duration (or make a configuration).

demcas commented 3 months ago

This minor issue hasn't yet been resolved but it's not that much of a big deal. The lights switch still operates but if you turn on the light with the dimmer scroll bar it turns on with the previous brightness setting and with a double tap it quickly adjusts up to your desired level.

gregoriusus commented 3 months ago

I installed Moes Star Ring 2gang ZS-SR-EUD-2. It is working, but it is spamming network: Received Zigbee message from 'bathroom1_lights', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[215,224,206,130],"type":"Buffer"},"datatype":2,"dp":20}],"seq":1792}' from endpoint 1 with groupID 0

Anyone find this issue?

demcas commented 2 months ago

I installed Moes Star Ring 2gang ZS-SR-EUD-2. It is working, but it is spamming network:

Received Zigbee message from 'bathroom1_lights', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[215,224,206,130],"type":"Buffer"},"datatype":2,"dp":20}],"seq":1792}' from endpoint 1 with groupID 0

Anyone find this issue?

I'm not experiencing any spamming. My logs only trigger when the switch is used.

Maeldor commented 2 months ago

I installed Moes Star Ring 2gang ZS-SR-EUD-2. It is working, but it is spamming network: Received Zigbee message from 'bathroom1_lights', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[215,224,206,130],"type":"Buffer"},"datatype":2,"dp":20}],"seq":1792}' from endpoint 1 with groupID 0

Anyone find this issue?

I get this too, but just a standard state update as if a button was pressed. It spams about every second. It only seems to happen with the dimmers. I have a 2-gang non dimmer version and it behaves fine.

I find it does it if it loses power. I was doing maintenance yesterday and turned the power off. When I turned it back on, all of these switches spam the log every second.

The only way to stop it is to remove each switch from Zigbee2mqtt and allow them to immediately rejoin, which then requires renaming them back to what they were before.

It's a right pain. I'm not looking forward to power cuts when I'm away. To be honest I regret buying these. They've been nothing but hassle and a buggy mess. Sometimes their state doesn't match what they're physically doing, e.g. I'll find a light left on which is showing as off in HA and Zigbee2mqtt.

I wish there was a firmware update for them, or a custom firmware option, because they're nice switches otherwise. I don't know any decent alternatives in the UK.

nayzm commented 2 months ago

It's a right pain. I'm not looking forward to power cuts when I'm away. To be honest I regret buying these. They've been nothing but hassle and a buggy mess. Sometimes their state doesn't match what they're physically doing, e.g. I'll find a light left on which is showing as off in HA and Zigbee2mqtt.

I wish there was a firmware update for them, or a custom firmware option, because they're nice switches otherwise. I don't know any decent alternatives in the UK.

They are indeed nice switches, but I'd returned mine as they're too much trouble than it's worth. Very noticeable lag on the 3 way switch, or no response at all. Also, my unit was listed as 'No neutral in the manual and box, but later found out it indeed requires a neutral wire, which is very misleading. As majority UK light switches have no-neutral wire, this was pretty much useless to me.

So far I haven't found any dimmable zigbee based alternative, and will be just reverting back to smart bulbs instead for the time-being.

alectogeek commented 1 month ago

I compared this 3 gang switch to 1 gang switch (model EDM-1ZBB-EU) and the 3 gang switch is complete trash. It is too slow and laggy. I'm comparing it to the first gang and as mentioned above second and third gangs are even worse.

Does anyone have any multi-gang alternatives? Or should I go with single gang versions everywhere? I'll have to place many switches in a row on my walls...

Here is a video of a comparison (I hope you can see the difference. I have no idea how to show it on video properly tbh).

https://youtu.be/pB8Kce_wjyQ

gregoriusus commented 1 month ago

I also found out that, when using in automation, it doesn't turn on, if I set brightness_pct. Anyone has same issue?

miloumeeloo commented 3 weeks ago

I also found out that, when using in automation, it doesn't turn on, if I set brightness_pct. Anyone has same issue?

Same issue. I managed to get around this problem by adding 2 actions in automation. The first by setting the desired brightness (which will not turn on the light) and the second without any option (which will turn on the light at the brightness defined in the first one). Doesn't work if the light is already on or for transition.

gregoriusus commented 3 weeks ago

How do you set brightness? I cannot see entity?

miloumeeloo commented 3 weeks ago

How do you set brightness? I cannot see entity?

Use the Light "Turn on" action, select your switch as an entity and check the brightness option.