-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firmware for Tuya curtain switch #1855
Comments
ref #1729 discussion, it could be that the way switch works is through the secondary MCU that actually has GPIO control. Only thing we can do is to send it some specific commands, but we can only guess for now which ones. There is a dev...mcspr:experimental/tuya branch that was successfully used with the dimmer hardware, I assume it should also work for this. |
I use this switch : Jinvoo WiFi Curtain - this looks very similar to your device. My settings: //
Switch 0 & 2 : Switch 1: Works prefectly for me with blinds and window shades |
thanks a lot i'm gonna try this settings on my device. |
hey i've tried this it works ! i don't now what i have done before but i erease all the project download it and just add your code HeavyM3 and it work verry well i just have to find for the middle button pause your button 2 how to stop the enable relay beacause : whatever thanks a lot for your help HeavyM3 and mcspr. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for two months. Feel free to open a new one if you still experience this problem. |
For future reference: BUTTON1 -> GPIO12 NOT USED -> GPIO4 LED1-3 TOGGLE -> TXD0/GPIO1 RELAY1 -> GPIO15 Brands Maxcio, Etersky, ... |
EXACTLY as original firmware (including BUTTON2/CENTRAL BUTTON) // Buttons #define BUTTON2_PIN 3 #define BUTTON3_PIN 5 // Relays // LED Switch #0 (GPIO13) Switch #1 (GPIO15) Switch #2 (GPIO4) LED #0 mode Follow switch# 0 Buttons and leds are numbered from top upper white arrow to botton. Personally I to set led2 as Wifi Status |
Request for ESPurna :
Hi, first of all sorry for my realy bad english but i realy need help ! there it is :
i'm trying to make a custom version of ESPurna for a device that i bought :
With TYWE3S Module : https://docs.tuya.com/en/hardware/WiFi-module/wifi-e3s-module.html
I have tried to make a custom version of ESPurna with ArduinoIDE, I follow the wiki tutorial install all libraries and just modifiying the GPIO controlled in hardware.h with different test of button_mode and relay but even with the datasheet of TYWE3S I never found a GPIO that work and respond I flash the module I connect to it change the password connected it to the wifi but if I push the button it doesn’t appear on ESPurna webpage and the reverse if I push button on the web interface I have no action on the device. Nothing happens I have tried every GPIO number , nothing. I have read this issue : #1729 but i don't found what i need.
If someone could help me it will be awesome thanks !
The text was updated successfully, but these errors were encountered: