Closed igreg closed 3 years ago
Could you please change the title to something more talkative? 😉
I think it s because your device is an end device and the other a router. Have you a linux machine with full OS to test code modifications ?
I think it s because your device is an end device and the other a router. Have you a linux machine with full OS to test code modifications ?
I have a mac on which I could install a linux VM. My setup is just a raspberry pi with home assistant so I'm not working with deconz manually; but if there is a guide I can follow I should be able to get a dev environment up and running.
I did come across this notion of router vs end-devices while I was looking for an issue matching my problem but I couldn't figure out whether 1) my devices were actually end-devices and 2) if this was a limitation to get them working with deconz/photocon.
I can toggle the state of the switch manually, from the deconz interface so I feel hopeful that it can work somehow?
I actually have the same exact problem with the 1-gang version of the switch.
Pretty much the same than above except it does not have the On/Off "Light mode 2"
Ok so first try
You have the procedure here https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Compiling-the-REST-plugin-for-device-specific-testing So for you, after having installed deconz :
sudo apt install deconz-dev
git clone --branch tuya_switch_7 https://github.com/Smanar/deconz-rest-plugin.git
cd deconz-rest-plugin
qmake && make -j2
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
This code just add the manufacture 0x1141 in whitelist to permit "light" device creation for end device.
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.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.
Is anyone planning on adding this switch to supported ones in the upcoming release?
Nop, have not found someone to test the last change, and ATM adding new device using c++ code is disabled, waiting for DDF core.
I can do that. Is this enough to complete it?
If you have a recent deconz version I can help you to make a DDF file to use this device (I think the core is advanced enought for this kind of device).
The problem is ATM all new device addition are blocked, to not add code that will be removed when ddf will be ready. So even If I finish the PR, not sure it will be validated.
That would be great. I'm running deconz v2.12.06 / 8/19/2021 with firmware 26680700.
About adding the device to a releasable version — is it because some major deconz overhaul is coming?
About adding the device to a releasable version — is it because some major deconz overhaul is coming?
Yes https://dresden-elektronik.github.io/deconz-dev-doc/modules/ddf/
Are you able to update your deconz version to the lasted beta to test DDF file ? (V v2.13.2)
I'll have to make a clone of my RPi's sdcard and try. Soonest I can try is after the 20th Dec. I'll keep you posted.
Have you made progress?
Wana make a try with DDF ? https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/DDF-cheat-sheet Just drag and drop 2 on/off light, set one on the endpoint 0x01 and the second on the endpoint 0x02
You will probably state return, but will be the next step.
I can confirm that this switch now works with deconz in version 2.20.01 / 9/19/2022 with Conbee II running firmware in version 26780700.
One funny thing though, when I press both buttons of the physical "dumb" switch connected to this device via L1 and L2 only one of them turns on connected to L2. When I press only one switch (connected to either L1 or L2) and then another one both lights come up. So if I press both buttons of the switch (connected to L1 and L2), only L2 light comes up. Individually (pressing one button of the switch, waiting a second, then pressing the other button) both lights come up.
Ideas?
Yep, an other issue was created here https://github.com/dresden-elektronik/deconz-rest-plugin/issues/6325
For your issue IDK, have made a search on z2m, it don't seem this device have something special (a tuya unlock sequence for exemple)
Device
The device does not show in the Photoscon app. I used the app to make the node join the cluster; to be able to query the data with the DeCONZ application. There seem to be other manufacturer for this model (TS0012) so perhaps it is just a mapping that's missing somewhere?
Screenshots
Basic
Identify
Alarms
n/a
Device Temperature
n/a
Groups
Scenes
On/Off
01 02