deconz-rest-plugin
deconz-rest-plugin copied to clipboard
Moes House Switch Zigbee 3.0 ZTS-EU3-W - TS0601 / _TZE200_tz32mtza
Device
- Product name: Switch 3 gang Zigbee 3.0
- Manufacturer: Moes House TS0601
- Model identifier: _TZE200_tz32mtza
- Device type :
- Switch
Screenshots
Screenshots
It does not pair fully - it can be seen in the VNC connection only.
Basic
Identify
Alarms
Device Temperature
Groups
Scenes
On/Off
Level Control
Color Control
Simple Metering
Diagnostics
Other clusters that are not mentioned above
It s a real end device ? Battery device ? not a fake one ?
It should be as is main power and require a neutral wire.Thank youOn 16 Mar 2021 18:56, Smanar @.***> wrote: It s a real end device ? Battery device ? not a fake one ?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Ha yes I remember you, you are from another issue ? So yes this device is a little more complicated because of the Mac adress range, he is not in tuya hack, but If I add your device as it, it can break other device with same Mac adress range.
Need to find a way to reconize your device. Do you have the cluster list from deconz for this node ?
Edit:
Find it
I think I will try something as the device already exist as plug. I will make a code to test tomorow, but if you have time, can you try to re-include the device (without deleting it), I think you will have in log (just "info") some line looking
LightNode XXX set node XXXXX
many thanks for the follow up. Sorry I do not understand what you mean by re-include the device...
I have enabled the log and cannot see anything related with the device mac in the log (sorry in the previous updates I thought I did see something)...
If you can try this version (untested on my side, so can have error on compilation)
You have the procedure here https://github.com/dresden-elektronik/deconz-rest-plugin#install-deconz-development-package-optional-linux-only So for you
sudo apt install deconz-dev
git clone --branch test_code_switch https://github.com/Smanar/deconz-rest-plugin.git
cd deconz-rest-plugin
qmake && make
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
Log are realy important, with "info" and "info_l2"
compiled and build ok. I removed it and add it again it did not paired fully but was showing as connected to conbee 2 but I could not see the cluster info anymore.
Attached the logs 2021080318.txt.gz
Hope it helps.
Sorry, don't want to "hijack" this topic but I think the device I mentioned on Discord is fairly similar to this one. It's also a Moes House wall switch, no-neutral version, and only 1-button version. In Deconz it's detected as "Smart Plug" which would be fine. However, it's not found in Phoscon or the API, neither in Home Assistant. I'm using Home Assistant OS / plugin so I cannot use any 10.x / beta version just yet.
Here is the basic cluster info:
@LouisHerber Can you show the Cluster list with the node title and the manufacture number ? Visible on "node info"
@andys73
I could not see the cluster info
You mean no cluster list in deconz ? Can you remake the same test, with the today code ? Take care It will list all your devices at every new device, I hope you haven't too much devices ...
I will try this evening if I can. I have about 50 devices :)
@LouisHerber Can you show the Cluster list with the node title and the manufacture number ? Visible on "node info"
sure:
it did not detected as light but it creates it and I can see in VNC as many devices.. hope you can see it in the extensive logging . 20210319.txt.gz
@LouisHerber So yes, same issue, you are using same MAC adress range.
@andys73 you are not using docker ? Because I miss some logs starting by "Tuya debug 44"
Deconz have 2 part, one for sensor, and one for light. On the light part, I m checking the manufacture number ( = 1002), the device type (smart plug) and 3 mac adress range
and after that I m checking all your devices, and make logs for all of them, but nothing appear on your logs.
@Smanar I have compiled all on a raspberry pi, no docker, just using the app link added in the programming section.
Ok so have added 2 more debug line if you can try the same branch again pls ?
cd deconz-rest-plugin
git pull
git checkout test_code_switch
got pull
qmake && make
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
20210320.txt.gz fresh pair of logs. I have started the logs as I started the pairing process and then read few bits and bobs in VNC on the device. You are a hero working all these hours :)
Ok, so my code works fine, but is useless ^^. It check all your devices, but I forget something, your device is not reconized as router, so he don't have entry created at all, I can search where I want, I will never see it. And he don't have battery, so I can't create a battery sensor, like I m doing for some covering.
I m sorry, but need a new test again
cd deconz-rest-plugin
git pull
git checkout test_code_switch
got pull
qmake && make
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
Try again with the deconz trick
- set phoscon in permit join = add new light
- read again basic attribute in deconz, 2 times (need to fill at least the manufacture name) ?
If I m right you will have 1 entry (you will still missing 2 gangs)
20210320B.txt.gz Attached. No gang yet sorry
I don't understand
21:50:47:490 Tuya debug 44 : manu find 21:50:47:492 No Tuya productId entry found for manufacturername: _TZE200_tz32mtza, modelId: _TZE200_tz32mtza 21:50:47:494 sql exec SELECT * FROM nodes WHERE mac='60:a4:23:ff:fe:d5:d2:c1-01' COLLATE NOCASE AND state != 'deleted' 21:50:47:500 sql exec SELECT * FROM nodes WHERE mac='0x60a423fffed5d2c1' COLLATE NOCASE AND state != 'deleted'
So there is a moment where the code have the manufacture to check it, but why the rest of code not working ...
I forgot to have the debug on after the first pairing so I have then added debug, removed all the remaining of device from VNC and pair it again maybe that will explain what you see in the log...
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
hello, any action on this? @Smanar
hello, any action on this? @Smanar
Where I understand that these devices (e.g. on AliExpress) are multiplying themselves like crazy, new ID's are identified everyday, I realized to be better off by using another Zigbee system. So I went to Zigbee2mqtt which -until now- identified all devices nicely. This might be due to another approach and a wide development community, but to me it worked out. Some time go I had some stability issues and technical approach from z2m but all has been improved since. This might be different for everyone so I hope you'll find a solution here soon.
Yes indeed and all are ready to go on Alexa but not on deconz. I can see as well that all of those new devices are advertised as working with zigbee2mqtt. I was trying to stay away from mqtt...
maybe deconz needs to take a more dynamic approach of devices and stuff.
@LouisHerber @andys73 The biggest difference with Z2M and deCONZ is that deCONZ tries to do a more user friendly approach. Meaning that it is easy to use for the average user and adding devices is very user friendly. If you , however, want to add everything and are technically skilled, Z2M is a better fit. That being said, the devices not being compliant to the Zigbee spec is making things harder.
So it is a hard pick on that.
If you want to have a discussion on this: feel free to open a feature request/ user question issue or join our Discord. But lets keep this one on-topic :)!
fair enough @Mimiix I agree. So what do I do with this device...they claim it works out of the box with Alexa (I do not have an alexa or that I want an Alexa to test it out :) ).
@andys73 Who is "They"?
WE need to wait for a dev to add it. Until then, i can't do anything... @Smanar What do we need?
The guys that are selling all those Tuya zigbee 3.0 devices in this case for my device https://www.moeshouse.com/collections/zigbee/products/zigbee-wall-touch-smart-light-switch-with-neutral-wire-no-neutral-wire-no-capacitor-needed-smart-life-tuya-2-3-way-muilti-control-association-hub-required-2-gang-white-%E7%9A%84%E5%89%AF%E6%9C%AC-2
"ZigBee Wall Touch Smart Light Switch With Neutral Wire/No Neutral Wire,No Capacitor Needed Smart Life/Tuya 2/3 Way Muilti-Control Association Remote Control Works with Alexa,Google Home Hub Required"
If you look at Moes for example all their Zigbee 3.0 are advertised to work with Alexa so at least I think they have tested with the zigbee hub in Alexa or maybe they are misleading us with Hub Required you need to buy their Tuya hub... and Alexa and Google home connects to Tuya.. That is very possible!
Yep. It is. Because they say "Hub Required".