-
Notifications
You must be signed in to change notification settings - Fork 4
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
WB3S Tuya 1 gang switch #7
Comments
I used the 3 gang version, and in relay 1, toggling on nothing happens, toggling off, the relay activates and the toggle as well. |
For unlisted devices, your best bet is installing ESPHome-Kickstart and using the upk2esphome plugin portion of LTChipTool to scan your kickstart device to see if it has device configuration in storage, the ltchiptool will generate a similar profile if the data is there. Otherwise you can use the included pinscan to test pins. There is not more specific advice we can give. If a relay is backwards, you need to invert the pin. |
Wow! I am so surprised to have the reply so quick! For me it is unclear, if I start the tuya-cloudcutter program and choose a device by chip type and fw version (like I did (choose in the begining devices/lonsonho-x801a-1-gang-switch in the list, but then choosen the ESPHomeKickstarter, won't it be having the configuration of what I have chosen when flashing? Now, I am back on ESPHome kickstart fw. will try now the LTChiptool. I have other questions as well:
TIA! |
tuya-cloudcutter allows you to flash custom firmware, like ESPHome. It doesn't change any GPIO/pin configuration. What it does though, is change the device's secret keys, so that you cannot connect it back to Tuya Cloud.
That is the correct way to go. ltchiptool will allow you to pull device config from the switch on runtime (as long as Kickstart is installed) and will generate a (mostly) ready-to-use ESPHome YAML with correct pin config (as long as it's possible - should be).
|
Hi @kuba2k2 thank you very much for your work and the reply!
|
You can do everything that ESPHome allows - browse their documentation at esphome.io to learn more.
In this one, the chip is most likely not using RX/TX actively, but one of these lines is connected. Usually there are 0 Ohm resistors somewhere - they are easier to remove than the entire chip.
If it's blinking in regular intervals, it means that ESPHome is not connected to Home Assistant. The status LED component is meant to indicate just that. |
I come back with feedback, the kickstarter is great! It made the yaml just right reading from device. Well, almost everything is great except:
|
|
Super! Thank you @Cossid! |
Yes, ESPHome will reboot if HA hasn't connected for 15 minutes. You can disable it by changing the value of |
Hi,
I have this type of gang switches, 1, 2 and 3 gang.
First one to test was 1 gang.
I used Tuya Generic ATS01L-US 1 gang Touch switch as it seemed more appropriate.
It works in terms of Status LED and blinkin WIFI led but it won't trigger the internal relay(switch)
Can somebody help me with the correct pin?
The text was updated successfully, but these errors were encountered: