I have had a Zemismart M515EGWT Blind motor running under TuyaLocal or LocalTuya for a year. It is my last device still on Tuya, and I would dearly love to move it to ESPHome and remove Tuya integration.
Here is an example output for a Tuya M515EGWT (motor for chain roller blinds):
which clearly hints that someone else has done this before.
I am still very new to ESPHome, but am afraid of cloudcutting it to ESPHome then finding I have bricked it After another look at the required ESPHome tuya components documentation I am less confident
The other issue is setting the upper and lower limits. This is not exposed in the TuyaLocal integration (there isn’t any device profile for M515EGWT yet), and I don’t remember it in LocalTuya.
My notes indicate the Tuya website device documentation included a couple of dp_id’s which I don’t remember ever setting up … notably dp_id 16 (“border”) of “enum” type with values “up”, “down”, “up_delete”, “down_delete”, and “remove_top_bottom”. Seems like some experimentation may be in my future
It is a device which has been around quite a while, since the Tuya-Convert days and when ESPHome documentation was written.
Mine is the V2 which I bought direct from Zemismart in 2021, so I assume it has the newer chip. I am reluctant to disassemble and risk breaking it, as my pension doesn’t stretch to another $100 to replace it.
I know the datapoints from having set it up in LocalTuya. Google supplies only a few references which aren’t sales pages.
Anyway it does look as though someone who was around when ESPHome documentation was written has a Tuya M515EGWT, and a working yaml config for it. I am hoping that someone will be kind enough to share what he/she has.
And yes, I intend to study it to improve my ability with ESPHome. Since the config is probably for the V1 i will compare it with the datapoints I know, and work out what the config commands are doing.
I bought two of those newer devices (with a WBR3 chipset) last year, and my findings were, that WBR3 is not fully supported in libretiny (and therefore esphome) yet:
Haven’t touched the devices since, but doesn’t seem like anything has changed, so I would not recommend buying the devices currently until the chip compatibilty is unknown