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

Hi, @NonAlex.

There are different samples depending on the protocol used by the device to get you started:

Also, you can check the following documents:

The manufacturer should provide the technical information so you know how you can interact with the device.
The file you shared is written in Python and the Edge drivers are based on Lua so, I think you should check if it works and then “translate” it to Edge drivers.

I don’t know if someone else in the Community has worked with this device, @JDRoberts who has an incredible experience around here might remember seeing something about that. Could you help us, JD, please?

1 Like