logo elektroda
logo elektroda
X
logo elektroda

[ECR6600][BL0937] Tuya Wifi Smart Plug With Energy Measurement

miegapele 4797 39
ADVERTISEMENT
  • #31 21644313
    divadiow
    Level 37  
    mlb wrote:
    Thanks, it seems the latest version 1.18.158 has fixed it

    that's interesting. ECR6600 recently got some SDK changes applied. What version did you update from?
  • ADVERTISEMENT
  • #32 21644663
    mlb
    Level 12  
    divadiow wrote:
    mlb wrote:
    Thanks, it seems the latest version 1.18.158 has fixed it

    that's interesting. ECR6600 recently got some SDK changes applied. What version did you update from?


    Sorry I jumped to the conclusions too quickly, as they did connect fine 2 maybe 3 times after reflashing. But that's it... now back to the old behaviour. I cannot see any obvious dependencies yet. I reflashed directly via OTA, it was a build from https://github.com/openshwprojects/OpenBK7231T_App/releases/
  • ADVERTISEMENT
  • #33 21713072
    franfj
    Level 6  
    mlb wrote:
    divadiow wrote:
    mlb wrote:
    Thanks, it seems the latest version 1.18.158 has fixed it

    that's interesting. ECR6600 recently got some SDK changes applied. What version did you update from?


    Sorry I jumped to the conclusions too quickly, as they did connect fine 2 maybe 3 times after reflashing. But that's it... now back to the old behaviour. I cannot see any obvious dependencies yet. I reflashed directly via OTA, it was a build from https://github.com/openshwprojects/OpenBK7231T_App/releases/

    Same issue here. Tested 1.18.189, 1.18.188, 1.18.187...

    It works fine during the first reboots, but after 3, it stops connecting and the only way to get back is to enter safe mode and upload a ota.
  • ADVERTISEMENT
  • #34 21715699
    jtauscher87
    Level 6  
    >>21521544

    Hi I'm not sure how to fix this error? Just try again and again until it completes? It always stops at the same percentage. Thanks dude!

    RDTool interface showing firmware file download error and progress log.
  • Helpful post
    #35 21715703
    divadiow
    Level 37  
    the stub you've selected is not a stub, it's the OpenECR6600 binary.

    Added after 10 [minutes]:


    RDTool interface with ECR6600F_stub_V1.3.1.bin binary file selected
  • ADVERTISEMENT
  • #37 21716613
    jtauscher87
    Level 6  
    Thank you very much, I downloaded some random RDTool without the necessary stub file. Also I needed to lower the baud rate to make it work.
    Now I got it working except downloading the stock bin but not that important ;)
  • #38 21818999
    epolet
    Level 6  
    epolet wrote:
    >>21521656
    Thank you. It works. Now I see status of electricity on socket site and MQTT messages.
    Thank you.
    I'm pretty sure more questions will happen. But later.
    Thanks again.


    Hello again,
    Questions, as promised ))
    My socket is now blinking its LED and doesn't respond to any button press. So it is unable to connect to Wi-Fi and I'm unable to reset or configure it.
    I believe the cause is the frequent power outages, as the electricity can go off and come back several times a day, sometimes in multiple rapid successive cycles. But it is just a suggestion.
    So my question is: is there any way to reset it without reprogramming, for example by shorting specific pins or using a similar simple method?
    Thanks for the idea
  • #39 21819003
    miegapele
    Level 16  
    Not well documented, but plugging and unplugging it 5 times (with few seconds pause in between maybe), should reset it to default open wifi. Then you can connect to it and reconfigure. It might already have reset itself, check for open wifi.
  • #40 21819463
    epolet
    Level 6  
    miegapele wrote:
    Not well documented, but plugging and unplugging it 5 times (with few seconds pause in between maybe), should reset it to default open wifi. Then you can connect to it and reconfigure. It might already have reset itself, check for open wifi.


    Yes, it helps. After 4th plug-in it stopped blinking and its Wi-Fi appeared in list of accessible ones.
    Thank you.

    By the way, I suspect the rapid power outages caused this behavior: after four consecutive outages within a few seconds, the device becomes reset, and when power is restored again, it starts up in an invalid state.

Topic summary

The discussion centers on a Tuya WiFi Smart Plug featuring energy measurement, equipped with the ECR6600 chip and BL0937 energy metering IC, differing from the expected BL0942. The plug's PCB lacks markings and includes components such as BP2525, AMS1117, and polymer capacitors without fusible resistors or MOVs. The ECR6600 chip is not yet fully supported, but flashing is possible via five test pads identified as VCC, GND, TX, RX, and BOOT. Flash backup was performed without a boot log due to insufficient power from the serial converter, but a boot log was later obtained showing TuyaOS V3.8.3 firmware compiled in January 2024. The device's WiFi performance and GPIO assignments were confirmed, with the relay LED hardwired and not individually controllable. Attempts to read efuse data revealed limited and non-encrypted calibration/configuration bytes. Programming the flash requires grounding the reset (RST) pin briefly after initiating the download in RDTool; the RST pad was identified and a more convenient grounding point was found. Firmware version 1.18.61 or higher supports BL0937, enabling power measurement and MQTT integration. The community shared templates and procedures for backup, flashing, and configuration, facilitating successful reprogramming and network connection of the plug. Questions remain about detailed usage of the power metering feature.
Summary generated by the language model.
ADVERTISEMENT