logo elektroda
logo elektroda
X
logo elektroda

AT-SY1-TSW DIN Rail WiFi Smart Circuit Breaker (BK7238) Power Metering

Hamalaon 243 5
ADVERTISEMENT
  • Helpful post
    #1 21850639
    Hamalaon
    Level 5  
    Hi,

    Here I will add another DIN rail switch device.
    Two DIN-rail Wi‑Fi relay modules with Smart Life, Google Assistant, Alexa, and IFTTT compatibility icons



    Device name is TUYA WIFI Smart Circuit Breaker Power Metering. It seems to be quite popular on aliexpress now.
    The store says it support up to 63A, the text on relay says 40A, so I hope it will handle my 16A.

    Open device housing showing a transformer, circuit board, and wires, with the removed cover placed beside it

    Inside we can see main board with soldered chip, analog 100K thermistor, and interesting magnetic relay, that can be fixed in both states.
    Here is inside of the relay

    Disassembled electromechanical relay showing coil, contacts, and wires on a white surface.

    I have removed the chip from main board and flashed it with GUI tool. Seems like it can be flashed without detouching.
    Important thing is to enable Bridge driver so the relay do not overheat.

    Power metering should be calibrated with
    VoltageSet 242.5
    CurrentSet 0.449
    PowerSet 108.93


    Here goes the template:
    {
      "vendor": "AT",
      "bDetailed": "0",
      "name": "AT-SY1-TSW DIN rail wifi switch with power metering",
      "model": "AT-SY1-TSW",
      "chip": "BK7238",
      "board": "TODO",
      "flags": "0",
      "keywords": [
        "circut",
        "breaker",
        "switch"
      ],
      "pins": {
        "6": "BridgeREV;1",
        "8": "BridgeFWD;1",
        "17": "Btn;1",
        "20": "ADC;2",
        "21": "LED;1",
        "28": "WifiLED_n;0"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/1332857400_1772244672_thumb.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=21850639#21850639"
    }


    And here is autoexec:
    startDriver BL0942
    startDriver Bridge
    BridgePulseLength 100
    


    The only thing I haven't figured is how to read the analog pin and convert it to the temperature, but I dont really need it.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 21852907
    divadiow
    Level 38  
    boot log from your Tuya backup file
    Code: Text
    Log in, to see the code
  • ADVERTISEMENT
  • #4 21855022
    ncore432
    Level 8  
    Whoa, we would really need to reverse-engineer the inside of this thing, especially the current-sensing part. It couldn't be junkier inside; be careful with that thing!
    My confidence level from 1 to 5 is closer to 1 than anything! This should be a circuit breaker after all!
  • ADVERTISEMENT
  • #5 21855167
    Hamalaon
    Level 5  
    Hey, this thing is not a circuit breaker, but a relay with metering option.
    You can program the current limit on this one, but generally should use a regular circuit breaker along with it.
  • #6 21855234
    ncore432
    Level 8  
    >>21855167 Oh, then it's another story, I see the BL0942 now! In one of the AliExpress products I saw "Trip time" so I was assuming it's a breaker! I should be comparing the items. :)
ADVERTISEMENT