How to flash Tasmota on an ESP8285-based Elivco Tuya door sensor #20559
Replies: 6 comments 9 replies
-
Your device doesn't seems to have a Tuya MCU which is generally the cause of such trouble as it drives the RX pin of the ESP. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the tips, I have tried again, this time, moving the magnet around, and it started flashing, but only got to the point where it erased the flash, so now the original firmware is gone. It seems like that the hall sensor powers on the ESP, but with the original firmware, it went along and created an AP without the circuit shutting it down. What can I do, to keep it powered on? There are some other pads exposed, I suspect, that there should be a mode what allows flashing. |
Beta Was this translation helpful? Give feedback.
-
I have the same unit. I was able to flash it using Tasmotizer but cannot figure out how to control the JC2303. Does anyone have a datasheet for the JC2303? Searching comes up empty. It is used to control the CHIP_EN through GPIO4 and is tied to both GPIO5 (hall sensor) and GPIO12 (button on bottom) for wakeup. JC2303 Pinout is: |
Beta Was this translation helpful? Give feedback.
-
Soldering onto the missing R2 worked, thank you. Now the device runs Tasmota. Have you been able to figure out what can be done about the JS2303? |
Beta Was this translation helpful? Give feedback.
-
I see. What could have happened to it? |
Beta Was this translation helpful? Give feedback.
-
Hello, Did anyone succeed to make this thing running? I've managed to upload tasmota (R2 shorted), found out that LED is probably on GPIO13, TX at GPIO1,RX GPIO3. Hall sensor imho should be on GPIO4, as there is the JS2303 connected. |
Beta Was this translation helpful? Give feedback.
-
Update: The solution is to put a solder blob or a little wire to the place of the missing R2, then you can back up the original firmware and flash it with Tasmota. Before you do that, please sniff the communication between JS2303 and the ESP8285 chip while having the Tuya firmware on the device.
Original question:
Hi everyone! I would like to ask for some advice about flashing a generic Elivco Tuya door sensor with Tasmota, as I have tried to do it via serial and also with tuya-convert, but I could not do it. The pins are exposed and labeled, I have connected it properly, but it seems like the RX on the board is not active somehow, the TX line sends data (Tuya logs when not in flash mode), but somewhy I cannot get it to display correctly (tried several baud rates). esptool times out, I cannot read the flash, the web flasher does not work either. I have tried to ground GPIO0 to enter flash mode, that seems successful, but from there, I cannot get it to flash.
I have also tried powering the device externally, that did not help.
The label on the board says:
FL-S157-V1.3
Beta Was this translation helpful? Give feedback.
All reactions