Zigbee Moes 2 gang switch works partially

544 views
Skip to first unread message

mrzimgjugl asdf

unread,
Jan 21, 2022, 8:36:40 AM1/21/22
to TasmotaUsers

Wall switch neutral/no neutral Moes 2 gang seems supported but only the first gang is working. I have seen other people have the same problem on different platforms. Could someone say if this behavior means it is not (well) supported in Z2T and is there a way around this problem?

 

Two gangs are reported perfectly clear when pressed on the Moes switch itself. That would indicate all is well and recognized.

 

SENSOR = {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power":0,"Endpoint":1,"LinkQuality":55}}

 

SENSOR = {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power":1,"Endpoint":1,"LinkQuality":47}}

 

SENSOR = {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power2":0,"Endpoint":1,"LinkQuality":60}}

 

SENSOR = {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power2":1,"Endpoint":1,"LinkQuality":65}}

 

When I issue commands from Tasmota, only the first gang reacts and works correctly.

 

ZbSend {"Device":"MoesK","Write":{"Power":1}}

ZbSend {"Device":"MoesK","Write":{"Power":0}}

 

Both commands with: Send instead of Write, fail. The response makes sense since cluster is not on the supported list ZbProbe and joining show.

 

RESULT = {"ZbResponse":{"Device":"0xAFF8","Name":"MoesK","Command":"0006!01","Status":195,"StatusMessage":"UNSUPPORTED_CLUSTER","Endpoint":1,"LinkQuality":81}}

 

Power2 does not receive any response at all, except for the: {"ZbSend":"Done"}

 

ZbSend {"Device":"MoesK","Write":{"Power2":1}}

ZbSend {"Device":"MoesK","Write":{"Power2":0}}

 

If I try the above two with: Send instead of Write, response changes to:

 

RESULT = Unrecognized zigbee command: Power2

 

 

Some responses when pairing it look suspicious to me. Thing is connected to constant 230V, but the reply is:

RESULT = {"ZbState":{"Status":30,"IEEEAddr":"0x003C84FFFEB3E2B4","ShortAddr":"0xAFF8","PowerSource":false,"ReceiveWhenIdle":false,"Security":false}}

 

And this one does not seem correct for "0000/FFDF":

 

SENSOR = {"0xAFF8":{"Device":"0xAFF8","0000/FFDF":"?R}) ?R}) ","Endpoint":1,"LinkQuality":42}}

Philip Knowles

unread,
Jan 21, 2022, 9:03:09 AM1/21/22
to mrzimgjugl asdf, TasmotaUsers

Mine, admittedly the normal with neutral variety, work fine.

What happens with ZBSend {“Device”:“MoesK”, “Send”:{Power1”:1}} ?

I suspect that it shown as a ‘battery’ device because it is ‘trickling’ through the light and so doesn’t have enough power to act as a Router.

 

Regards

 

Phil K

 

Sent from Mail for Windows

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CA%2B462DbEUxZmmtjc7NQSHJ8ZR-ocFHOLZy-CaS2QhtBT2hW1AA%40mail.gmail.com.

 

mrzimgjugl asdf

unread,
Jan 21, 2022, 10:46:59 AM1/21/22
to Philip Knowles, TasmotaUsers
ZbSend {"Device":"MoesK","Send":{"Power1":1}}
RESULT = Unrecognized zigbee command: Power1

This is the new model, not a touch one but a click one, neutral / no neutral in the single device with 3W minimum in the No neutral mode. The model is about 1-2 yeas old (I believe):

"ModelId":"TS0601","Manufacturer":"_TZE200_g1ib5ldv"

I did not mention, I have Sonoff ZBbride, if that matters since it is Silicon based.

The switch is in test mode, not in production. I never mount anything before lot of testing. it is connected by its own to full 230V with live and neutral wires and nothing else. That is why these readings confuse me!

it is annoying that it is read out perfectly (direct click) which i do not need at all. i knew I was risking, but I am testing Zigbeee2Tasmota. meaning: I must push it a bit .

Philip Knowles

unread,
Jan 21, 2022, 10:56:28 AM1/21/22
to mrzimgjugl asdf, TasmotaUsers

What version of ZbBridge are you using?

mrzimgjugl asdf

unread,
Jan 27, 2022, 4:55:42 PM1/27/22
to TasmotaUsers
OK, Moes ZigBee Smart Wall Light Switch with Neutral Wire or No Neutral model 2020. is partially supported, Only gang 1 somewhat works. One must use Tuya commands to turn the switches on and off, but that is all I was able to do.

Now I understand why i should never ever buy anything Tuya. This is when the box says Tuya at the front. While it uses Zigbee, it uses Tuya specific cluster EF00 for all the commands, likely even manufacturer specific version. It will most likely cause problems and be only partially usable. OK; I had to try :)

While this switch is well made, it is sadly a Tuya device. Thanks to Philip, I got on and off commands for both gangs. I tried looking up the Tuya cluster Zigbee documentation, but It makes no sense for me to spend time doing that. It is much simpler never to buy another Tuya again and fix this one.

I miss the commands: toggle for each gang and status: is the light on or off, for each gang separately. In case someone else has the same need, here is a quick solution I just wrote into my Zigbee bridge toggle and status commands. Luckily, status can be easily read out by Zigbee2Tasmota when the button is pressed.

My switch is called MoesK (as it is in the kitchen). One gang is the dining room and another is the kitchen. Adjust as needed and paste into the Zigbee bridge console, turn the rule3 on.

Rule3
On MoesK#Power Do Var11 %Value% Endon
On MoesK#Power2 Do Var12 %Value% Endon
On Event#Mk1 Do Backlog Var13 0; Var14 0 Endon
On Event#Mk0 Do Backlog Var13 1; Var14 1 Endon
On Event#MkK Do Var13 %Var11% Endon
On Event#MkB Do Var14 %Var12% Endon
On Var13#State=1 Do ZbSend {"Device":"MoesK","Send":"EF00!00/00560101000100"} Endon
On Var13#State=0 Do ZbSend {"Device":"MoesK","Send":"EF00!00/00550101000101"} Endon
On Var14#State=1 Do ZbSend {"Device":"MoesK","Send":"EF00!00/00580201000100"} Endon
On Var14#State=0 Do ZbSend {"Device":"MoesK","Send":"EF00!00/00570201000101"} Endon

# MkK for the kitchen toggle gang 1
Event MkK
# MkB for the dining room (in my language, starts with the B) toggle gang 2
Event MkB
# turn both lights on regardless of the initial states
Event Mk1
# turn both lights off regardless of the initial states
Event Mk0

Statuses: Var11 and Var12 will return 0 or 1 indicating current status for gang 1 and 2 (unless your bridge lost power).

Ugly and long winded solution, but it works perfectly. Should someone have a better and shorter solution, please, do share! i hope this helps someone like Philip helped me!

pet, 21. sij 2022. u 19:36 mrzimgjugl asdf <mrzim...@gmail.com> napisao je:
I can confirm that Moes 2 Gang Zigbee wall switch, new 2020. neutral
/ no neutral works perfectly fine with the above commands in a wall
with no neutral line.

Blue LEDs on the witches are on when lights are off to aid finding the
swithch in the dark. Both switches can be pressed at the same time.

For the reference:

ZbStatus3 MoesK

RESULT = {"ZbStatus3":[{"Device":"0xAFF8","Name":"MoesK","IEEEAddr":"0x003C84FFFEB3E2B4","ModelId":"TS0601","Manufacturer":"_TZE200_g1ib5ldv","Endpoints":[1],"Config":["~01.1"],"Reachable":true,"LastSeen":123,"LastSeenEpoch":1642790022,"LinkQuality":94}]}

At the moment I do not know how to send a Toggle to each gang as these
commands are new to me.

Philip, many thanks! You just made my day!


2022-01-21 18:23 GMT+01:00, mrzimgjugl asdf <mrzim...@gmail.com>:
> Great! Many thanks! On a test bench, with neutral and live wire, the
> first group seems to work perfectly.
>
> I was curious about the 0xEF00 cluster as i did not see it before. I
> will search for some documentation. Is there a toggle command? I may
> not need it, but would prefer to know it should the need arise.
>
> Switch 1 On:
> ZbSend {"Device":"MoesK","Send":"EF00!00/00550101000101"}
> SENSOR =
> {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power":1,"Endpoint":1,"LinkQuality":63}}
>
> Switch 1 Off:
> ZbSend {"Device":"MoesK","Send":"EF00!00/00560101000100"}
> SENSOR =
> {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power":0,"Endpoint":1,"LinkQuality":63}}
>
> Switch 2 On:
> ZbSend {"Device":"MoesK","Send":"EF00!00/00570201000101"}
> SENSOR =
> {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power2":1,"Endpoint":1,"LinkQuality":63}}
>
> Switch 2 Off:
> ZbSend {"Device":"MoesK","Send":"EF00!00/00580201000100"}
> SENSOR =
> {"MoesK":{"Device":"0xAFF8","Name":"MoesK","Power2":0,"Endpoint":1,"LinkQuality":63}}
>
> Many thanks again! I think this is now good to go into the wall for
> real life testing!
>
> 2022-01-21 18:03 GMT+01:00, mrzimgjugl asdf <mrzim...@gmail.com>:
>> OK, this second group I need to investigate a bit! I never used
>> ZbRestore.
>>
>> i am not quite clear about bridge versions. There is only one
>> tasmota-zbbridge and then I installed ncp-uart-nsw_6.7.9_115200. At
>> the end, it says at the Web GUI: Tasmota 10.1.0. This was 4 weeks ago.
>>
>> The first group of commands is currently no go:
>>
>> ZbSend {"Device":"switch","Send":"EF00!00/00560101000100"}
>> RESULT = {"ZbSend":"Invalid parameter"}
>>
>>
>> 2022-01-21 17:00 GMT+01:00, Philip Knowles <knowles...@gmail.com>:
>>> Also worth trying
>>>
>>> Turn on switch 1: ZbSend
>>> {"Device":"switch","Send":"EF00!00/00550101000101"}
>>> Turn off switch 1: ZbSend
>>> {"Device":"switch","Send":"EF00!00/00560101000100"}
>>> Turn on switch 2: ZbSend
>>> {"Device":"switch","Send":"EF00!00/00570201000101"}
>>> Turn off switch 2: ZbSend
>>> {"Device":"switch","Send":"EF00!00/00580201000100"}
>>>
>>>
>>>
>>> This is what should work
>>>
>>>
>>>
>>> You will need to re-pair the device or use ZbRestore to mark the device
>>> as
>>> Tuya protocol.
>>>
>>> Then you can use:
>>> Turn on switch 1: ZbSend {"Device":"switch","Write":{"Power":1}}
>>> Turn off switch 1: ZbSend {"Device":"switch","Write":{"Power":0}}
>>> Turn on switch 2: ZbSend {"Device":"switch","Write":{"Power2":1}}
>>> Turn off switch 2: ZbSend {"Device":"switch","Write":{"Power2":0}}

>>>
>>> Regards
>>>
>>>
>>>
>>> Phil K
>>>
>>>
>>>
>>> Sent from Mail for Windows
>>>
>>>
>>>
>>> From: mrzimgjugl asdf
>>> Sent: 21 January 2022 15:46
>>> To: Philip Knowles
>>> Cc: TasmotaUsers

mrzimgjugl asdf

unread,
Jan 27, 2022, 7:08:55 PM1/27/22
to TasmotaUsers, Philip Knowles
I was focused on what was important to me, so I forgot the rest :) It seems there really is no Toggle in Tuya, but these next commands work.

Since I had space in the bridge rules, I prefer the above mentioned solution, but there are direct commands:

# both gangs on
ZbSend {"Device":"MoesK","Send":"EF00!00/000801010001010201000101"}
# both gangs off
ZbSend {"Device":"MoesK","Send":"EF00!00/000901010001000201000100"}

While the switch does not actually use relays but probably triacs, to keep it simple, I will call them relays:

# after power outage, relays remember last state
ZbSend {"Device":"MoesK","Send":"EF00!00/00270e04000102"}
# after power outage, relays On
ZbSend {"Device":"MoesK","Send":"EF00!00/00260e04000101"}
# after power outage, relays Off
ZbSend {"Device":"MoesK","Send":"EF00!00/00250e04000100"}

# LED indicator lights turned off
ZbSend {"Device":"MoesK","Send":"EF00!00/00210f04000100"}
# LED indicate when switch on
ZbSend {"Device":"MoesK","Send":"EF00!00/00220f04000101"}
# LED indicate when switch off
ZbSend {"Device":"MoesK","Send":"EF00!00/00230f04000102"}

These all work as described on my 2 Gang no neutral Moes switch.
Reply all
Reply to author
Forward
0 new messages