Open ferbulous opened 7 months ago
First switch, unfortunately, cannot be supported by this project. ZS3L module is EFR32 based, see https://developer.tuya.com/en/docs/iot/zs3l?id=K97r37j19f496 Second yes, theoretically can be supported. 1 Yes, if you make full flash backup before flashing new firmware you can restore to original state. Art least, this works for all devices I worked so far.
I not have success with flashing telink chips using serial port, I use hand made programmer from TB-03 or TB-04 board. See docs/flash.md
Thanks, so it looks i'll need to get one
Unfortunately, no. Or, at least, I don't know how to get this information from tuya firmware. My development process include tracing connections on board to find correct gpio pins. You can see some notes in docs folder
How would test each pins to figure out which function? on esphome/tasmota i could just assign all pins as relays and just toggle all relays to figure out which one is relay/led/buttons.
Multiclick support in todo list. Relays support need to be implemented, but currently i don't have such devices. If you can provide link to Aliexpress or other store where I can buy your device i can try.
I recommend this switch, avoid this moes wall switch since that's the ER32 based
Zigbee binding is a feature that's been really specific to certain device like aqara or tradfri. Can that be enabled with custom firmware?
Actually, i have reports about successful flash firmware using just serial adapter, but it just not work for me. I use linux, may this is a problem. See issue #6 for details
I just trace board with my eyes and multimeter, because you need to know how swith connected - it can pull gpio pin to GND or to Vcc. Funny thing I have one tuya switch where main buttons pulled to GND but network join button pulled to Vcc.
Yes, binding can be implemented. I have implemented binding in my switch sub-project and currently work on binding support for contact sensor.
I found some photos of swith recommended by you and see additional chip near Tuya module. If you have such switch can you please look to marking on it or make a good readable photo?
I asking because some tuya devices have two MCU - one works with hardware and second, zigbee just works as communication module. I think this approach used to be able to make switches for different radio modules - ie zigbee, wifi, etc. But because of this it will be difficult to create custom firmware for such devices - need to decipher protocol which used by two MCU to exchange data
Sorry, i think you could skip that one since none of my zigbee devices has tuya mcu.
I ordered from alibaba from the second picture
https://x.alibaba.com/15kdOd?ck=pdp
And lonsonho switches (or similar design) don’t use tuya mcu
I found some photos of swith recommended by you and see additional chip near Tuya module. If you have such switch can you please look to marking on it or make a good readable photo?
I asking because some tuya devices have two MCU - one works with hardware and second, zigbee just works as communication module. I think this approach used to be able to make switches for different radio modules - ie zigbee, wifi, etc. But because of this it will be difficult to create custom firmware for such devices - need to decipher protocol which used by two MCU to exchange data
Maybe it's the same Tuya MCU protocol used by ESPHome: https://esphome.io/components/tuya.html
Hi, I have these wall switches on Z3L and TLSR8258
1) Can I restore to the stock firmware if I made a backup? 2) Is it possible to get the gpio pinout from the backup firmware so I can configure the pins for relays/buttons on the custom firmware? 3) Can I enable additional feature like decoupling relay and multiple click actions (long/2x/3x clicks) 4) I already have a CH340G, or do I need to use esp8266/esp32 devboard for flashing?