logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Flashing New Tongou TO-Q-SY1-JWT Device: DIN Rail Switch and Meter, BK7231 template script

VIDPRO 29748 84

TL;DR

  • Tongou TO-Q-SY1-JWT DIN rail switch and meter was flashed with a BK7231 template script.
  • The BK7231N has all pins reachable, so the unit was flashed via serial and a config was attached.
  • All LEDs, the relay, and the meter are fully functional after flashing.
Generated by the language model.
ADVERTISEMENT
📢 Listen (AI):
  • #31 20974510
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14622
    Help: 655
    Rate: 12638
    @yorainoy excuse, what do you mean by frequency inside?

    @Spag cloudcutter is not a reliable solution due to many devices patched, we suggest using the UART flashing method, see tutorials playlist here:
    https://www.youtube.com/playlist?list=PLzbXEc2ebpH0CZDbczAXT94BuSGrd_GoM
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 20974860
    Spag
    Level 3  
    Posts: 3
    Rate: 2
    @p.kaczmarek2 Thank you, I was able to flash it via UART and it's working perfectly now - I was just hoping I could flash it without having to destroy the rivets to open the case..

    Congratulations on an amazing piece of software!

    Screenshot of an MQTT interface displaying device info for BK7231N, controls, sensors, and logs.
  • #33 20974871
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14622
    Help: 655
    Rate: 12638
    Thanks, by the way, I think you'd benefit from updating to the new release:
    Screenshot of OpenBK7231T/OpenBeken release 1.17.478 listing changes and developer version warnings.
    Especially thanks to this commit:
    
    Home Assistant discovery - add energy counters today/yesterday, add clear date, add friendly names (#1092) (8eaf72e), closes #1092
    
    Helpful post? Buy me a coffee.
  • #34 20974872
    babaganesh
    Level 3  
    Posts: 10
    Help: 1
    Rate: 2
    >>20663233

    What was the easy way to open it up ?
  • ADVERTISEMENT
  • #35 20974921
    Spag
    Level 3  
    Posts: 3
    Rate: 2
    @p.kaczmarek2 Fantastic, perfect timing! :)

    @babaganesh You have to drill the rivets to destroy them... only then you can open the case.
  • #36 21080140
    onkel11
    Level 5  
    Posts: 10
    Help: 1
    Rate: 1
    Hi,

    any idea how do seal th device after flashing ?
    Somewhere to buy the seal pins ?
  • #38 21080758
    onkel11
    Level 5  
    Posts: 10
    Help: 1
    Rate: 1
    thanks

    Edit:

    I found another solution and will test it:

    Aderendhülsen unisoliert, Nennquerschnitt 1,50qmm, Länge 18mm, Außendurchmesser 2,00 mm

    the original ones do also have almost the same size.

    Keep you informed.

    Update:

    So this worked perfectly:
    hxxxs://www.amazon.de/Aderendh%C3%BClsen-Crimpverbinder-unisoliert-Kunststoffkragen-Nennquerschnitt/dp/B08QS2KR49?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&smid=AER43YRX1AHYK&th=1

    Best regards
  • #39 21110271
    firsoff091
    Level 1  
    Posts: 1
    Hello,

    We purchased a smart WiFi switch, Tongou TO-Q-SY1-JWT, and flashed it with OpenBeken following your instructions. Thank you for the guidance.

    The device has been working for over a month, collecting metrics and being controlled via Home Assistant (HA). However, we've encountered an issue where the switch turns off the electricity without any apparent reason. This has happened twice, with a one-week interval between occurrences. Unfortunately, we couldn't determine the cause of the "failure" based on the collected metrics in HA. The graphs of the collected metrics show everything within normal ranges.

    Question:
    How can we configure the device to save all logs to a file or any other storage? It would be helpful to retain logs for at least a few hours, so that in case the issue recurs, we can "download or open the file" and analyze it in detail to understand the cause of the power off.

    Thank you in advance for your assistance!
  • ADVERTISEMENT
  • #40 21118531
    silvestro_gatto
    Level 7  
    Posts: 30
    Rate: 4
    TO-Q-SY1-JWT 32A Smart WiFi Switch With Metering Function
    Tuya Main Module Firmware V1.0.18 (not supported by Tuya CloudCutter)
    Yellow PCB version AT63AJL-8VMT

    Device update screen showing no updates available.
    Yellow printed circuit board of a smart WiFi switch with electronic components. Close-up of a yellow printed circuit board labeled AT63AJL-8VMT.

    Flashed with OpenBK7231N build version 1.17.612 and configured with the following OBK template

    
      "pins": {
        "9": "LED_n;1",
        "15": "WifiLED_n;0",
        "17": "Btn;1",
        "24": "BridgeFWD;1",
        "26": "BridgeREV;1"
      },
    
      "command": "backlog startDriver BL0942; startDriver NTP"
    

    everything is working fine but the button, when pressed, does not switch on/off

    GPIO Doctor is showing P17 Val changing Low/High only when dInput is selected.

    Any advice? Thank you!

    Added after 10 [hours] 4 [minutes]:

    I found the solution to my problem with the unresponsive button ...

    Flag 41 [BTN] Ignore all button events (aka child lock) in Configure General/Flags was checked by default.

    Screenshot of flag settings in OpenBK7231N software.

    After unchecking the flag, the button started working as expected.
  • #41 21163281
    Wobbie
    Level 3  
    Posts: 8
    Hello all and a big thanks to all that contribute here especially the moderator @p.kaczmarek2 Great Job!

    I am having difficulty flashing this device Tongou TO-Q-SY1_163JWT 63 Amp Version breaker Electronic module on a denim fabric background. The image shows a circuit board of a Tongou TO-Q-SY1_163JWT 63 Amp device. . I am familiar with the process and have successfully flashed other switch devices eg: [BK7231N] Aubess Mini Switch 16A.

    I use a USB / TTL serial device from China CH430G-2 which has worked well in the past plus I swapped it out with a spare to confirm functionality.

    I am using the latest flasher bk7231flasher_1.3.3

    Attempts at flashing in place were unsuccessful so I decided to remove the CBU from the main board but still unsuccessful! Resetting the module by earthing CEN does not start the flash sequence (have tried many times). Also trying another 3.3 v power source, swapping rx1 and tx1 on uart1 just in case but to no avail!

    Attaching it to Tuya Smart app all works OK, noticing the firmware is V 1.0.20. Is it possible that Tuya have disabled flashing (bootloader rom) somehow? I do notice on their web site "Flash and Authorize CB Modules"
    https://developer.tuya.com/en/docs/iot/CB-series-module?id=Kbruyciad6154


    Any tips or advice appreciated
    R Screenshot of device update showing version V1.0.20. USB to TTL connector with programming cables.
  • ADVERTISEMENT
  • #42 21173683
    silvestro_gatto
    Level 7  
    Posts: 30
    Rate: 4
    >>21163281

    Hi @Wobbie,
    actually flashing my device (TO-Q-SY1-JWT 32A Smart WiFi Switch With Metering Function - Tuya Firmware V1.0.18 - PCB marking AT63AJL-8VMT) was quite straightforward.

    I checked my notes and I did not find any specific issue with this device.

    I used a cheap CP210x USB to TTL UART Serial Convertor Module (set at 3.3V Voltage Level) and short wires connected to the CBU module, without removing it from the main board.

    This is the CBU module pinout:

    Pinout diagram of CBU module with highlighted pins TX2, RX1, TX1, CEN, 3V3, and GND.

    I used 3.3V, GND, and TX2 to capture the log from factory firmware, then I connected 3.3V, GND, TX1 and RX1 to backup factory firmware and upload OpenBK7231N build version 1.17.612, using BK7231 Easy UART Flasher (Set chip type: BK7231N - Set baud rate: 921600)

    As you wrote, CEN pin has to be shorted to GND to reboot, when BK7231Flasher.exe is "getting the bus ...."

    see the line " Getting bus... (now, please do reboot by CEN or by power off/on)" in the below log from flasher

    
    Backup name is set to din2.
    Starting read backup and flash new!
    Now is: Wednesday, June 12, 2024 6:03:47 PM.
    Flasher mode: BK7231N
    Going to open port: COM10.
    Serial port open!
    Getting bus... (now, please do reboot by CEN or by power off/on)
    Getting bus success!
    Going to set baud rate setting (921600)!
    Will try to read device flash MID (for unprotect N):
    Flash MID loaded: 1560EB
    Will now search for Flash def in out database...
    Flash def found! For: 1560EB
    Flash information: mid: 1560EB, icName: TH25Q_16HB, manufacturer: TH, szMem: 1000000, szSR: 2, cwUnp: 0, cwEnp: 7, cwMsk: 407C, sb: 2, lb: 5, cwdRd: 05-35-FF-FF, cwdWr: 01-FF-FF-FF
    Entering SetProtectState(True)...
    sr: 34
    sr: 34
    final sr: 34
    msk: 407c
    cw: 0, sb: 2, lb: 5
    bfd: 0
    sr: 0
    sr: 0
    final sr: 0
    msk: 407c
    cw: 0, sb: 2, lb: 5
    bfd: 0
    SetProtectState(True) success!
    Going to start reading at offset 0x00...
    Reading 0x00... Ok!
    ......
    
    


    Let me know if you need any further detail or clarification and good luck with your flashing!
  • #43 21179078
    Wobbie
    Level 3  
    Posts: 8
    Thanks @silvestro_gatto
    Found my problem; RX connection got broken going into the CBU when removing from main board (not enough flux I think)! Managed to fix it so happy ending.
  • #44 21179280
    silvestro_gatto
    Level 7  
    Posts: 30
    Rate: 4
    >>21179078

    @Wobbie, I am glad you found the problem and cut the device off from the cloud. Ace!
    Cheers
  • #46 21188194
    dwmw2
    Level 6  
    Posts: 19
    Rate: 3
    Not able to test fully, as the power supply in this unit is broken so I can only power the CBU from +3.3v and can't test the relay. But I think this should mostly work as an esphome config. I haven't yet worked out what to do about restoring the original state on reboot, so I'm just forcing it on. It isn't a circuit breaker, and should never be used as a safety device, so I guess that's OK.
    Code: YAML
    Log in, to see the code


    Added after 8 [hours] 19 [minutes]:

    All the pins needed for flashing this are on the BL0942 on the back of the board, easy to grab with SOIC probes.
    Block diagram of the BL0942 integrated circuit with labeled pins.

    Note that TX and RX are labelled for the BL0942, so they route to the RX1 and TX1 pins on the CBU respectively. I'm tempted to try drilling a tiny hole in the side of the next unit and doing keyhole surgery instead of drilling out the rivets and taking it completely apart.

    Printed circuit board with attached test probes.
  • #48 21190981
    divadiow
    Level 38  
    Posts: 5065
    Help: 438
    Rate: 893
    Does this mean something in OpenBeken regarding BL0942 can/should be adjusted?
  • #49 21191153
    dwmw2
    Level 6  
    Posts: 19
    Rate: 3
    >>21190981
    divadiow wrote:
    Does this mean something in OpenBeken regarding BL0942 can/should be adjusted?


    The short answer is 'yes'. The more helpful answer I'm still working out the final details, but it's basically there in the ESPHome issue I linked. We *can* get the vref/iref/pref/eref values out of the Tuya firmware, and we can also calculate the pref/eref values from vref/iref which can be determined empirically.
  • #51 21197592
    dwmw2
    Level 6  
    Posts: 19
    Rate: 3
    Note: Do NOT be tempted to wire one of these units up 'backwards' to calibrate it, with the feed coming in via the load terminals and the load connected to the feed terminals.

    I thought that would work as long as the relay was already turned on, and that it would include the power drawn by the unit itself in the measurement, so it was perfectly comparable with the external measurement.

    Now my relay doesn't seem to work any more. It clicks but there's never any connection.
  • #53 21208313
    divadiow
    Level 38  
    Posts: 5065
    Help: 438
    Rate: 893
    That's exciting. Do you plan a similar PR for OpenBeken/Easy UART Flasher tool?

    Also makes me wonder if the ADC 2400 multiplier can be extracted from battery device firmware. The same I guess for temp/humidity sensors too.
  • #54 21263275
    erikwouterson
    Level 3  
    Posts: 4
    Rate: 1
    Hi all,
    Successfully flashed a few TO-Q-SY2-JWT, only thing I noticed that of the flashed devices the coils are getting hot, 55 degrees Celsius even without load, original software remains cold.

    Anyone else encountered this issue?
    Thanks
    Erik

    Fluke thermal imager displaying a temperature of 55.5°C.
  • #55 21263433
    dwmw2
    Level 6  
    Posts: 19
    Rate: 3
    >>21263275 Are you driving the 'bridge' with pulses instead of holding the line high?
  • #56 21264753
    erikwouterson
    Level 3  
    Posts: 4
    Rate: 1
    >>21263433 hi, can you please explain how I would be able to tell the difference?
    Thanks
    Erik
  • #57 21265055
    dwmw2
    Level 6  
    Posts: 19
    Rate: 3
    >>21264753
    Quote:
    can you please explain how I would be able to tell the difference?


    If you're using OBK, see the discussion about `Rel` vs. `BridgeFwd` at https://www.elektroda.com/rtvforum/topic3934580-30.html

    If you're using ESPHome, see https://devices.esphome.io/devices/Tongou-TO-Q-SY1-JWT (and I've got an actual bridge driver in https://github.com/esphome/esphome/pull/7421 which might one day get merged, to make that a bit easier).

    (Even if you're not using ESPHome, read the part about calibration in that one).
  • #58 21265333
    erikwouterson
    Level 3  
    Posts: 4
    Rate: 1
    >>21265055 Thanks for this, I might need to dust of my oscilloscope:-), and I will test weekend or early next week
  • #59 21282208
    luxmcdiver
    Level 3  
    Posts: 5
    Hi, I have a TO-Q-SY2-JWT which has a shunt-resistor instead of the coil. Has anybody flashed such a device? Open TO-Q-SY2-JWT device with a visible shunt resistor instead of a coil.
  • #60 21282253
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14622
    Help: 655
    Rate: 12638
    I think it should be easily flashable. It does not matter whether it's a coil or resistor. All that matters is which IC is doing measurement. We have BL0942, BL0937, and CSE support...
    WiFi module does not do the measurement directly.
    Helpful post? Buy me a coffee.
📢 Listen (AI):

Topic summary

✨ The Tongou TO-Q-SY1-JWT is a DIN rail mount smart switch and energy meter based on the BK7231N chip and BL0942 power metering IC. Users successfully flashed the device with OpenBeken firmware via UART after opening the case by drilling rivets, as OTA flashing via Tuya CloudCutter is unreliable or unsupported for some firmware versions (notably metering firmware v1.0.18). The device supports relay control, LEDs, button input, and power metering, with GPIO pins mapped for these functions (e.g., pins 9 and 15 for LEDs, 17 for button, 24 and 26 for relay control). Relay behavior on power loss can be configured using SetStartValue commands or autoexec.bat scripts to restore or force relay state after reboot. Calibration of the BL0942 meter is essential for accurate power measurement, including voltage, current, and power factor; calibration can be done using resistive loads like incandescent bulbs or by extracting original calibration data from Tuya firmware. The device is not a circuit breaker and should not be used as a safety disconnect. Some hardware versions differ in PCB color and coil voltage (5V or 12V). The newer SY2 model uses a shunt resistor instead of a coil and adds overcurrent and overvoltage protection features, which may be software-configurable via BL0942 registers but lack dedicated hardware signaling. ESPHome support is emerging with device pages and calibration improvements. Users report issues such as relay coil heating when driven by pulse commands instead of continuous signals, and occasional unexplained relay power-offs requiring log retention for diagnostics. Flashing challenges include ensuring proper UART connections, stable 3.3V power supply, and correct baud rates (e.g., 921600 or 1500000). Debug logs can be captured via the TX2 pin. Sealing the device after opening can be done using M2.5x10 screws or insulated ferrules. Overall, the community provides detailed pin mappings, flashing instructions, calibration tips, and firmware configuration examples to enable reliable operation and integration with Home Assistant and ESPHome.
Generated by the language model.

FAQ

TL;DR: For DIY users flashing the Tongou TO-Q-SY1-JWT, the reliable path is UART on the BK7231N: use 3.3 V, RX1/TX1, and pulse CEN to enter boot. One expert summary from the thread says, "UART flashing method" is the recommended approach, especially after CloudCutter failures on firmware 1.0.18. [#20974510]

Why it matters: This FAQ turns a long mixed-success forum thread into a fast, citation-ready guide for flashing, configuring, calibrating, and safely using Tongou DIN-rail switch/meter devices.

Method Works on non-metering 1.0.2 Works on metering 1.0.18 Case opening needed Reliability in thread
Tuya CloudCutter Yes Often no No Mixed
UART flashing Yes Yes Usually yes High

Key insight: P24 and P26 drive a bistable relay through an H-bridge, so treating them like a normal single-pin relay causes wrong startup behavior, heat, or no state restoration. [#21188194]

Quick Facts

  • The posted OpenBeken pin map for the metering SY1 uses P9 = LED_n, P15 = WifiLED_n, P17 = Btn, P24 = BridgeFWD, and P26 = BridgeREV, with startDriver BL0942 for metering. [#20663290]
  • A working UART setup was reported at 921600 baud with BK7231N, using 3.3 V, GND, TX1, RX1, and a brief CEN-to-GND reset during “Getting bus...”. [#21173683]
  • Field reports show at least two hardware versions of similar Tongou/Erau units: green vs red PCB, and even 12 V vs 5 V DC coil variants. [#20677316]
  • One flashed TO-Q-SY2-JWT showed a relay coil temperature around 55 °C with no load when the bridge appeared to be driven incorrectly. [#21263275]
  • After opening the case by destroying rivets, users resealed it with M2.5x10 hardware or uninsulated ferrules around 1.50 mm², 18 mm long, 2.00 mm outer diameter. [#21080758]

How do I flash the Tongou TO-Q-SY1-JWT with OpenBeken over UART, step by step, using a BK7231 flasher?

Use UART flashing on the BK7231N module with 3.3 V power. 1. Open the case, connect 3.3 V, GND, TX1, and RX1 to the CBU module. 2. In BK7231 Easy UART Flasher, select BK7231N, set a tested baud such as 921600, then start read or write. 3. When the tool shows “Getting bus...”, briefly short CEN to GND or power-cycle the board, then flash OpenBK7231N and apply the SY1 template. This method worked on the metering version that failed with CloudCutter. [#21173683]

Which CBU pins should I use to flash the Tongou TO-Q-SY1-JWT, and what are RX1/TX1 versus RX2/TX2 used for?

Use RX1 and TX1 for flashing, plus 3.3 V, GND, and CEN for reset. RX2/TX2 are not the programming UART on this device. TX2 is used for debug log output, while RX1/TX1 are the pins used by the BK7231 flasher to read and write firmware. One user also noted that test pads near the BL0942 are easy to grab, but the labels are from the metering chip side, so TX and RX route oppositely to the CBU. [#20807122]

Why does BK7231GUIFlashTool get stuck on "Getting bus failed" when flashing a Tongou TO-Q-SY1-JWT, and how can I fix it?

It usually fails because the boot sequence, wiring, or 3.3 V supply is wrong. Common fixes are short wires, solid contacts, a stronger 3.3 V source, trying another USB-UART adapter, and pulsing CEN to GND exactly when the flasher says “Getting bus...”. The thread also mentions BL0942 activity may interfere, and one user fixed the issue after finding a broken RX connection into the CBU. If one baud rate fails, test another. [#21402384]

What is the correct OpenBeken template for the Tongou TO-Q-SY1-JWT with BL0942 power metering and bistable relay control?

The working OpenBeken template uses P9 LED_n;1, P15 WifiLED_n;0, P17 Btn;1, P24 BridgeFWD;1, and P26 BridgeREV;1, with the command backlog startDriver BL0942; startDriver NTP. That setup gives LED control, button input, bistable relay pulses, and BL0942 metering on the BK7231N version. Earlier posts showed Rel and Rel_n, but later testing on this model confirmed the bridge mapping is the correct control method for the relay hardware. [#21118531]

Why should P24 and P26 be configured as BridgeFWD and BridgeREV instead of Rel on the Tongou TO-Q-SY1-JWT?

They should use BridgeFWD and BridgeREV because the device drives a bistable relay through an H-bridge, not a standard hold-coil relay. "Bistable relay" is a latching relay that changes state with a short pulse, then stays there mechanically without continuous coil power. On this Tongou design, P24 and P26 go to the MD7620A driver inputs, so single-pin Rel logic can leave state tracking wrong or drive the hardware incorrectly. Users also linked wrong bridge handling to hot coils and bad reboot behavior. [#21487925]

How can I make the bistable relay on a Tongou TO-Q-SY1-JWT restore the correct state after a power loss or reboot?

Set the channel startup behavior carefully, because SetStartValue 1 0 did not fully work with the bridge driver in early builds. In testing, SetStartValue 1 1 restored ON correctly, and SetStartValue 1 -1 correctly remembered the last state, while SetStartValue 1 0 left OpenBeken thinking the channel was OFF without sending the bridge pulse. A workaround used two boot events: pulse ON at 1 second, then OFF at 2 seconds. That workaround toggles the relay if it was already OFF before reboot. [#20700999]

What does OpenBeken Flag 41 "Ignore all button events" do, and why can it make the TO-Q-SY1-JWT button stop working?

Flag 41 disables button handling entirely, so the front button changes GPIO state but does nothing in normal control. On one SY1 unit, P17 clearly changed Low/High in GPIO Doctor only when configured as dInput, yet the button still did not switch the relay. The user found Flag 41, labeled child lock, was checked by default. After clearing that flag in Configure General, the button started toggling the switch normally. [#21118531]

What is a bistable relay or H-bridge driver in the context of the Tongou TO-Q-SY1-JWT, and how does it differ from a normal relay output?

A bistable relay here is a latching power relay driven by two pulse directions through an H-bridge, not by one sustained ON pin. "H-bridge driver" is a motor-or-coil driver stage that reverses current direction, letting one coil pulse set the relay ON and the opposite pulse set it OFF. A normal relay output usually holds one coil energized continuously. The Tongou uses two control lines, so firmware must send short forward or reverse pulses instead of holding one GPIO high. [#21188194]

How do I open the Tongou TO-Q-SY1-JWT case without damaging it too much, and what can I use to reseal it afterward?

Most users opened it by drilling out the factory rivets, because there was no simple non-destructive method reported. After flashing, users resealed the case with either M2.5x10 hardware or uninsulated ferrules matching the original pins closely. One tested ferrule option was 1.50 mm², 18 mm long, with a 2.00 mm outer diameter, and it reportedly worked perfectly. Expect some cosmetic damage, but the enclosure can be closed securely again. [#21080758]

What are the hardware differences between the Tongou TO-Q-SY1-JWT and TO-Q-SY2-JWT, including coil versus shunt-resistor versions?

SY1 and SY2 are similar in software, but the thread reports several hardware variants. Users saw red, green, and yellow PCBs, plus metering versions with either a current coil or a shunt resistor. A manufacturer-linked discussion also says SY2 adds over/under-voltage or overcurrent protection features compared with SY1. However, one board inspection found the BL0942 CF1 protection pin left unconnected, suggesting any “protection” may depend on firmware logic rather than separate fast hardware cut-off. [#21487925]

Tuya CloudCutter vs UART flashing for Tongou TO-Q-SY1-JWT — which method is more reliable for metering and non-metering firmware versions?

UART flashing was the more reliable method across the thread. CloudCutter worked for some non-metering units on Tuya firmware 1.0.2, and one metering dump later helped add support. But multiple users still failed on metering firmware 1.0.18 and ended up opening the case and flashing successfully by UART. The clearest recommendation in the thread is that CloudCutter is not reliable because many devices are patched, while UART remains the suggested path for both metering and non-metering variants. [#20974510]

How can I extract the original BL0942 calibration values from Tuya firmware and apply them in OpenBeken or ESPHome?

You can extract the original BL0942 calibration data from a backup of the Tuya firmware, then reuse those values in ESPHome or OpenBeken calibration commands. The thread documents finding per-device values such as voltage_ref 15990, current_ref 124380, power_ref 309.8, and energy_ref 2659, then applying them in the BL0942 configuration. Users also confirmed that if extraction is unavailable, calibration with a known load, such as a 60 W incandescent lamp, gives acceptable results. [#21193078]

Why does the Tongou power reading show negative values in OpenBeken, and how can I correct the AC power direction when Flag 48 has no effect?

Negative power usually means the measurement direction or sign handling is wrong, not that the relay is reversed. On SY2 units, one user fixed unrealistic standby readings after enabling Flag 25, “Allow negative current/power,” and then recalibrating voltage, current, and power against known values. Another later report said Flag 48 did not correct AC direction on that device. The practical fix in the thread is calibration plus checking the metering sign configuration, because stock and flashed firmware may interpret direction differently. [#21556434]

How can I save OpenBeken logs from a Tongou TO-Q-SY1-JWT to a file or external storage so I can investigate random relay shutoffs later?

The thread does not provide a finished OpenBeken method for saving logs from this device to a file or external storage. It only confirms that TX2 outputs debug logs and can be captured externally over serial. For on-device retention of several hours, no posted solution shows SD, flash file logging, or network syslog in OpenBeken for this Tongou case. If you need evidence after random shutoffs, the thread’s only concrete logging path is monitoring the debug UART on TX2. [#20813668]

What safety limitations should I know before using a Tongou TO-Q-SY1-JWT or TO-Q-SY2-JWT as a DIN-rail switch, especially compared with a real circuit breaker?

Treat it as a DIN-rail switch with metering, not as a true protective breaker. Users explicitly stated the SY1 is not a circuit breaker, and one report says Tuya only offered software-set alarm limits with 1 A resolution. Another user warned never to use the relay as a safety device, and reverse-wiring for calibration apparently damaged one relay so it clicked without making contact. If overcurrent or overvoltage cut-off matters, verify hardware support first instead of assuming breaker-grade protection. [#20714066]
Generated by the language model.
ADVERTISEMENT