Super, now we have the component adapted for Zemismart curtain.
Hi mates,
Since I’m thinking about to install this motor on a roller shape :
I would appreciate if some of you can share how is the hardware schema, since I don’t understand if I have to modify the internal Tuya ESP firmware using yours, or I have to put a new one connected to the TX/RX pins of the original TUYA or what else.
Thank you so much in advance.
Hi.
I’ll ask beginner questions.
How do I connect the stick to the PC to write the curtain.yaml file?
Where do I put the curtain.h file?
THX
How do I connect the stick to the PC to write the curtain.yaml file?
A: You should have Tuya converted to flash custom firmware like esphome. Hope you have done it.
Where do I put the curtain.h file?
A: It should go under ESphome foler of your home assitant (It will be under config/esphome)
Hope it helps
Thank you for your answer.
I managed to put Esphome on the stick.
But if I want to write: includes: “xxx.h” it gives me an error.
The custom cover component gives me an error:
cover:
- platform: custom
lambda: |-
auto curtain = new CustomCurtain();
App.register_component(curtain);
return {curtain};
covers:
- name: Curtain
device_class: blind
What could I do?
THX
For C header file you want to include, the path should include the directory from the root of your esphome folder. In your case for example it should be xxx/xxx.h
Even if I put the xxx.h file in the xxx folder:
I get this error:
As you can see I can’t upload the configuration.
What else can I do?
THX
What do you expect? You put a file xxx.h.txt into your xxx
folder… And as the answer above your post says, you have to put the correct location in your file, including the folder. So as said, it would be xxx/xxx.h in your *.yaml file and the file should be xxx.h in your folder xxx.
The problem was the format of the xxx.h file.
Hi Jaime,
I’m planning to install this motor too.
Would you share about how to get it working with esphome?
Thanks you so much!
Is it possible to integrate multiple devices?
Yes you can have multiple devices integrated.
Hello Dear
Can I possible to integrate tuya Zigbee devices with Home Assistant without zigbee2mqtt .
I mean is possible direct tuya integration zigbe devices
Has anyone tried this with the newer version BCM500DS-TYW? The date on the board is 2021, and I have not seen anyone online attempt Tasmota or ESPHome. It still uses an ESP chip so I think it should be possible, but I’m not confident that I have the knowledge to get the configuration right with the Tuya protocol. I was also planning to add a lux sensor to some spare pins while I’m at it.
If the Tuya commands are different on this board, how would I be able to identify what they are? Is there a way to back up the existing Tuya firmware in case I screw this up?
Update: I just went ahead and tried the ESPHome code on the updated hardware posted above. It works perfectly. Thanks to everyone who contributed!
Hello! I have DS82 motor for tuya curtain, I flash it with esphome and nothing works ( Can you help me? I am not understand how to obtain the codes for motors. Thank you!
Hi @folkg , I have the exact same motor. Were there instructions you followed to flash this specific chip? If so, could you advise the link. Thanks
Hello everyone, i followed everything above, but unfortunately i could not control my curtain through home assistant, i have grey arrow button. While i see communication between home assistant and esphome through esphome logs. Then suddenly i found out my board looks a bit different then last pictures of new version BCM500DS-TYW, while i have same model name. What could i do here? Original firmware for esp8266 is gone. (Besides that, original smartlife app stopped to control curtain some months ago, i just decided to do something with it finally)