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

After switching to Edge and using sample driver from @veonua as a template, it finally works

I’d like to iron it out a little bit adding calibration dialog in GUI, but that’s TBD. For now one needs to turn calibration mode manually, do it, and then turn it off…

Documentation for Edge libraries is terrible… some elements are not documented as all, ones that are documented - have no examples of use, types are a mess… so without working example it’s nearly impossible to create a driver :slight_smile:

2 Likes