logo elektroda
logo elektroda
X
logo elektroda

OpenBK7231N OXT SWT27 module - CBU pin re-flash and configuration

qqrydza 312 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21278393
    qqrydza
    Level 12  
    Welcome.

    I am after successfully re-flashing the software in the OXT SWT27 module.
    It is a mini 4 channel relay that fits in a fi 60 installation box.
    The packing of the components is impressive. One of the relays was mounted lying down, with the CBU wifi module mounted on it. The other 3 relays were mounted on a separate pcb to save 2-3mm in height.
    The load capacity is 4x150W
    The cost on a well-known auction site 77PLN gross.
    It was possible to make a copy of the original firmware and upload OpenBenken.

    Circuit based on Tuya CBU:

    OpenBK7231N OXT SWT27 module - CBU pin re-flash and configuration .
    OpenBK7231N OXT SWT27 module - CBU pin re-flash and configuration OpenBK7231N OXT SWT27 module - CBU pin re-flash and configuration OpenBK7231N OXT SWT27 module - CBU pin re-flash and configuration .

    Power supply based on transformerless power supply BP2525
    Pin assignment:

    Input:
    S1 - PIN P26 CBU
    S2 - PIN P6 CBU
    S3 - PIN P7 CBU
    S4 - PIN P8 CBU
    Reset - pin P24 CBU

    Output:
    L1 - P20 CBU
    L2 - P28 CBU
    L3 - P17 CBU
    L4 - P16 CBU

    LED - P9 CBU

    Regards
    Dawid
  • ADVERTISEMENT
  • #2 21280069
    p.kaczmarek2
    Moderator Smart Home
    Thanks, can you also provide the whole template in JSON format, copied from the Web App? Then it will be easier for me to add the device to:
    https://openbekeniot.github.io/webapp/devicesList.html

    Is everything working? I recommend to enable PowerSave (add PowerSave 1 line e.g. to autoexec.bat), those power supplies in Chinese productions are of poor quality:
    How to fix a smart device that crunches, squeaks and makes strange sounds? .
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21294033
    qqrydza
    Level 12  
    Sure, I am uploading as an attachment. Zipped file, because electrode does not allow .json extension
    My configuration has separated sensors from relays.

    Everything works very stable. For the time being it's lying on my desk, I'm testing myself the temperatures with the relays on, I'm investigating the uptime. If all goes well, it will go into the can under the switch.

    Thank you for the information about PowerSave 1 - I have added at the beginning of the autoexec.bat file

    Regarding the OTA, is it safe to do it directly from the panel? By downloading the file and flipping to the drop box? Target access to the device will be limited and I would not want to reflash the module again in an extreme situation.

    Dawid
  • ADVERTISEMENT
  • #4 21294090
    p.kaczmarek2
    Moderator Smart Home
    We try to test every change before releasing it to Releases, but this being an open source project and running on multiple platforms and devices, there is no way to test everything. I don't tend to associate a situation where an OTA has broken a device completely, but in general if you don't need new specific functionality and commands then you don't need to update.

    If you do, make a backup of autoexec.bat, as the increasing size of the batch can occasionally cause it to be deleted with an OTA, we are working on fixing this.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 21294369
    qqrydza
    Level 12  
    Thank you for your reply. By the way, I throw in an interesting fact related to the PowerSave 1 command. This is the temperature waveform before and after applying this parameter. These are the temperatures reached by the system with 2 relays on:

    OpenBK7231N OXT SWT27 module - CBU pin re-flash and configuration .
  • #6 21294381
    p.kaczmarek2
    Moderator Smart Home
    PowerSave is quite important and we will probably soon decide to turn it on by default, but it may at the same time spoil IR reception and measurements from BL0937 and therefore no final decision has been made yet. Additionally, it is difficult to test all possible devices to know how they will react with this option....
    Helpful post? Buy me a coffee.
ADVERTISEMENT