logo elektroda
logo elektroda
X
logo elektroda

Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya

p.kaczmarek2 177 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    Do you like touch buttons? It's very easy to find them in all sorts of modern devices today - including building automation systems. However, I myself am not a fan of them, so in this topic I will show a Wi-Fi enabled programmable switch based on classic physical buttons. It will combine the traditional convenience of control with the possibilities of remote control via the network. The topic will, of course, focus on changing its firmware so that it will work 100% locally, without the manufacturer's cloud.

    One must start with the price. The 'triple' version was bought by a reader for £55. He then sent it to me along with the other devices so I could change the firmware. I uploaded our forum OpenBeken here.

    Let's start with the packaging. The Bluetooth + Wi-Fi markings generally tell us that there is a Beken chip inside, but here it is only Wi-Fi alone that is mentioned.
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    Inside is an on/off switch, instructions, screws, and a so-called 'adapter', which is effectively a capacitor. He is needed for operation without a neutral wire.
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    I have not yet seen this form of "adapter" housing:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    The seller has printed the instructions in our language. Here we find out how to pair with the Tuya - there are two modes, 'EZ Mode' and 'AP Mode'. See the pictures for details:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    Declared power: 600W per channel.
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya

    So much in a word of introduction. Now it's time to look inside. We are removing the front:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    So there is a Beken inside after all - a CB3S, or BK7231N.
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    The PCB designation is LSPS5CBA V1.1
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya

    It is time to change the firmware.
    You need to have a USB to UART converter and solder four wires - 3.3V, ground, TX and RX. Follow the Flasher's instructions:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    You can also watch one of the videos on our Elektrod channel:



    CB3S leads:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    I start by adding flux to the pads:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    Then I whiten them:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    Then I solder the wires (also whitewashed):
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    I power the whole thing with 3.3V from an external LDO (I have a TC1264, but the AMS1117-3.3V is more popular), because 3.3V from a USB to UART converter doesn't have enough current capacity:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    Reading the batch is done first - this allows the GPIO configurations to be discovered:
    Clicking light switch with Wi-Fi without neutral wire - firmware change - ATLO-WB3-Tuya
    JSON Tuya:
    Code: JSON
    Log in, to see the code

    OBK template:
    Code: JSON
    Log in, to see the code

    Verbal description:
    Quote:

    Device seems to be using CB3S module, which is BK7231N chip.
    - Relay (channel 1) on P7
    - Relay (channel 2) on P8
    - Relay (channel 3) on P9
    - WiFi LED on P6
    - Button (channel 1) on P14
    - Button (channel 2) on P26
    - Button (channel 3) on P24

    Copy of the batch:
    https://github.com/openshwprojects/FlashDumps/commit/9cef537926b7cda08ca00d9e4b7995e6b9ff14d4
    Instructions for importing the template:



    Pairing with HA:




    It is now also possible to script the buttons so that, for example, the. publish click, long press or double-click events to Home Assistant:
    Button actions Multiple press and hold etc

    I didn't take photos of the performance part, but it was similar to the one for the other "silent" switch:
    ATLO-TB2-TUYA - silent dual light switch with Wi-Fi control under Home Assistant

    In summary , changing the firmware was very straightforward. There was no problematic T34 chip in the LGA chassis that has to be soldered out with hot air. There was also no need to cut off the RX and TX - just solder and go.
    I could still show the inside of the 'adapter' - but this has already appeared on our forum:
    https://www.elektroda.pl/rtvforum/topic4115589.html#21506592
    Do you also prefer "physical" buttons, instead of the ubiquitous touch-sensitive ones?

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 13445 posts with rating 11277, helped 617 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21779534
    hawryszka
    Level 12  
    Hi,
    Could you give a picture from the other side of the board, what are the actuators there ?
  • #3 21779539
    p.kaczmarek2
    Moderator Smart Home
    I didn't take photos of the performance part, but it was similar to the one for the other 'silent' switch:
    ATLO-TB2-TUYA - silent double light switch with Wi-Fi control under Home Assistant
    There are no relays there, so the product is silent.
    Helpful post? Buy me a coffee.
📢 Listen (AI):
ADVERTISEMENT