Where to start writing Custom driver for TS130F smart curtain switch (tuya clone)?

Thanks for the shout. I’ve heard of people getting this device to work with MQTT to ZIgbee ZHA, but I haven’t seen anyone in this forum mention it. Of course it can be hard to tell because the Tuya devices are available under so many different company names.

It looks like at one point zemismart had a version that worked with smartthings classic app, but they don’t appear to have ever updated the DTH for the current version of the app, let alone think about an edge driver. And they no longer sell it as far as I can tell.

So I’m sorry, I can’t help. You should be able to query any Zigbee device for the clusters it supports, and people used to get that from the hub logging, but again I don’t know how to do that with edge drivers.

Here’s a thread showing how it used to be done. You could use that right now while the groovy option is still available to get the clusters if that’s of any help. I would think there would be a way to do something similar with edge drivers, but I will have to leave that to others to discuss.