logo elektroda
logo elektroda
X
logo elektroda

Tuya ATORCH AT4P(WP/BW) Smartlife Energy monitor (BK7231N) (C3BS) (CH573F) (BL0924)

crg1darkspr1te 14589 35
ADVERTISEMENT
  • #31 21095114
    p.kaczmarek2
    Moderator Smart Home
    @duycaf are you referring to AT4P with Tuya firmware, or flashed with OpenBeken?

    Shorting RST/CEN to ground will just reboot it.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 21096778
    duycaf
    Level 3  
    @p.kaczmarek2 I didn't do anything to it, so it's just original tuya firmware 1.09
    I had some problem with wifi, remove the device from tuya app and now I am not able to add it again.
    I really like it and I would like to make it work again.
  • ADVERTISEMENT
  • #33 21169725
    pogadaevalecsey
    Level 5  
    I also bought this device, flashed the Wi-Fi module. added the autoexec.bat. file from the forum. I tried adding lines both to the config file and to a separate Mqtt file, but my window looks different. Screenshot of the Home Assistant user interface showing the PowerMeter device overview. Screenshot of Notepad++ text editor with an open YAML configuration file. Screenshot of PowerMeter interface with Home Assistant configuration options. Screenshot of a browser file editor showing the editing of an autoexec.bat file.
  • ADVERTISEMENT
  • #34 21177098
    p.kaczmarek2
    Moderator Smart Home
    duycaf wrote:
    @p.kaczmarek2 I didn't do anything to it, so it's just original tuya firmware 1.09
    I had some problem with wifi, remove the device from tuya app and now I am not able to add it again.
    I really like it and I would like to make it work again.

    Disconnect it from power. Wait 5 minutes. Reconnect power. Try to RESET it. If it still does not pair, try reflash 2MB backup (if you have). If still not working, then you most likely have to flash OBK...


    pogadaevalecsey wrote:
    Screenshot of PowerMeter interface with Home Assistant configuration options.

    The textfield on screenshot I quoted is not used now for HA configuration. You just need to click "Do Discovery". Please check if that helps, if not, please provide more information about your issue. I will try to help.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #35 21177355
    pogadaevalecsey
    Level 5  
    Thank you for your hard work. the device is working fine, some data points are not displayed correctly in HA. what are the correct flags to set? and is there no such function as the backlog startDriver BL0937 for this device. and one more question, how to set up automatic firmware updates for devices.
  • #36 21221696
    dr3amr
    Level 1  
    >>20815706 Hi @crg1darkspr1te do you have any "un-touched" backup of v1.0.9 or could be older also original tuya firmware ? My wifi board (CB3S) I think is faulty as the wifi green light no longer lights up or flashes (when no wifi connection params stored), thus I decided to buy new CB3S board, desolder the bricked one and flash and solder the new one. But have no firmware to flash. I have FT232RL programmer I used before. Could not connect to bricked module even after repeated attempts to reset the device, thus I think it is toast.
    Also you mentioned one would need to add the MAC to the firmware ? How can I do that.

    Edit: Given that I had 4 devices same, with same firmware, was able to get the wifi dump from one of my other devices still working fine. So steps I followed for anyone else:
    1. Desolder CB3S module from a working device (it is mandatory as the TX and RX are connected to the tuyamcu and you cannot connect to the CB3S otherwise).
    2. Dump the firmware using ltchiptool (great tool) => will attach the stock BK firmware here
    3. Desolder CB3S from the non working device (tried flashing it but gives all sorts of errors, even Get chip info fails with some CRC chip mismatch).
    4. Flash the firmware dump taken at point #2 (and attached here) with ltchiptool to the new unsoldered CB3S wifi module
    5. Solder the new CB3S to the broken device.
    6. Enjoy new life of the AT4PW device.
    PS: there was no need to modify any mac in the firmware this way, before flashing, I believe ltchiptool writes only relevant part of the firmware as dump is 2mb, while it writes only 1.1mb to new CB3S module.
    PS2: used my FT232RL programmer, and even though I believe it is a clone, it worked fine for this and other projects.

Topic summary

The discussion revolves around the Tuya ATORCH AT4P(WP/BW) Smartlife Energy Monitor, focusing on the challenges and solutions related to its firmware and functionality. Users report varying software features across identical models, with some devices lacking certain functionalities despite having higher software versions. The conversation includes troubleshooting WiFi connectivity issues, firmware flashing, and the integration of OpenBeken firmware for enhanced control and monitoring capabilities. Users share insights on command structures, data parsing, and the importance of communication dumps for effective debugging. Additionally, there are discussions about potential hardware modifications, such as adding external antennas to improve WiFi signal strength.
Summary generated by the language model.
ADVERTISEMENT