Remote Switch TS0043 _ TZ3000_famkxci2 not discovered in Phoscon app

Hi all,
trying to add 3 button remote switch TS0043 _ TZ3000_famkxci2 to configuration but it only shows up in deCONZ (ConBee II).
When trying to discover with Phoscon app it is not discovered.

I noticed the manufacturer is different from device mentioned as working with deCONZ in LoraTap Remote 3 Button SS600ZB Zigbee compatibility

How can I solve this ?

Kind regards,
Gerrit

Is it showing in deconz?

yes it is.

FYI software is running on Windows
Gateway info: Version 2.18.00 / 7-8-2022 Firmware26780700

Im am still new to this stuff but interested how thing work technically.
So after reading some documention (Introduction - deCONZ C++ Documentation) I concluded that the characteristics of supported devices now can be defined using DDF files which I found in directory /deCONZ/devices, for tuya subdir ‘tuya’
I copied _TZ3000_ygvf9xzp_4gang_remote.json to _TZ3000_famkxci2_3gang_remote.json and modified it to a 3 button switch:
{
“schema”: “devcap1.schema.json”,
“manufacturername”: ["_TZ3000_famkxci2"],
“modelid”: [“TS0043”, “TS0043”],
“product”: “Tuya remote 3 gangs”,
“sleeper”: true,
“status”: “Gold”,
“subdevices”: [
{
“type”: “$TYPE_SWITCH”,
“restapi”: “/sensors”,
“uuid”: [
“$address.ext”,
“0x01”,
“0x0006”
],
“items”: [
{
“name”: “attr/id”
},
{
“name”: “attr/lastannounced”
},
{
“name”: “attr/lastseen”
},
{
“name”: “attr/manufacturername”
},
{
“name”: “attr/modelid”
},
{
“name”: “attr/name”
},
{
“name”: “attr/swversion”,
“parse”: {“fn”: “zcl”, “ep”: 1, “cl”: “0x0000”, “at”: “0x0001”, “script”: “tuya_swversion.js”},
“read”: {“fn”: “zcl”, “ep”: 1, “cl”: “0x0000”, “at”: “0x0001”}
},
{
“name”: “attr/type”
},
{
“name”: “attr/uniqueid”
},
{
“name”: “config/battery”,
“awake”: true,
“parse”: {
“at”: “0x0021”,
“cl”: “0x0001”,
“ep”: 1,
“eval”: “Item.val = Attr.val / 2;”,
“fn”: “zcl”
}
},
{
“name”: “config/on”
},
{
“name”: “config/reachable”
},
{
“name”: “state/buttonevent”
},
{
“name”: “state/lastupdated”
}
]
}
],
“bindings”: [
{
“bind”: “unicast”,
“src.ep”: 1,
“cl”: “0x0001”,
“report”: [
{
“at”: “0x0021”,
“dt”: “0x20”,
“min”: 60,
“max”: 3600,
“change”: “0x00000001”
}
]
},
{
“bind”: “unicast”,
“src.ep”: 1,
“dst.ep”: 1,
“cl”: “0x0006”
},
{
“bind”: “unicast”,
“src.ep”: 2,
“dst.ep”: 1,
“cl”: “0x0006”
},
{
“bind”: “unicast”,
“src.ep”: 3,
“dst.ep”: 1,
“cl”: “0x0006”
}
]
}

After performing discovery of switch it is now named Switch2 (with battery indication) and also shown as switch in the Phoscon app and in IObroker:



But when trying to link the switch to a group using Phoscon app no switch is shown to be selected:

Obviously there is something wrong with the device definition.
Am I trying in the right direction ?
Anyone an idea how go on ?

Thx in advance,
Gerrit

give that a try… i had a similar issue… an d had to fix it myself.

Because it is not really important for me I didn’t put much effort trying to solve the problem.
Now I have just updated the phoscon software to level 2.19.01 so I thought I give it another try to get the switch working. But unfortunately without succes.
For that I updated devices-switches.js the same way as shoving updated device-censors.js (because my device is switch not censor).
The problem is not similar because in my situation the switch shows as a connected switch (but no icon as a 3-button switch) and I can rename it, only it doesn’t show up when I want to use the Switch editor to link the switch to a group.

If there is no further suggestion how to solve this I suggest to close this thread (as unsolved :frowning: )

Your DDF seem fine.
But like lot of tuya stuff, thoses devices don’t support the group cluster (look your capture), so you can use it with third app, but not using the group feature in phoscon.

Thanks :+1:, I will see what I can do.
I’m using IObroker so maybe something is possible with that.

For ZHAswitch the DDF is not enought, you need too add your device here deconz-rest-plugin/button_maps.json at master · dresden-elektronik/deconz-rest-plugin · GitHub

But not easier to test if you haven’t persistent OS.

You have sample here for another 3 gangs another tuya 3gang modelid (TS0043) by b2un0 · Pull Request #6526 · dresden-elektronik/deconz-rest-plugin · GitHub

Hi Smanar,
adding the device model to the Tuya3gang in button_maps.json solved the issue.
Many thanks for your help.

Np Have added your device in this PR

Add a DDF for a battery tuya device 3 gangs.

Manufacturer: _TZ3000_famkxci2
Model identifier: TS0043