tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

TONGOU TO-Q-SA1-0150WT: current/voltage/power sensors go unknown after ~30 minutes, device requires cloud wake-up to recover

Open andyz68 opened this issue 7 months ago • 2 comments

Description

Device: TONGOU TO-Q-SA1-0150WT Integration version: latest Home Assistant version: (please fill in your HA version)

Description

After approximately 20-30 minutes of normal operation, the sensors for current, voltage and power (phase measurements) transition to "unknown" state, while other sensors such as energy and temperature continue to work correctly but appear to stop updating.

The device does not recover on its own. The only way to restore the values is to open the SmartLife app on a mobile device — as soon as the app connects (even via mobile data, not local WiFi), all values immediately reappear in Home Assistant. This suggests the device requires a cloud-side wake-up call to resume pushing local data, and that tuya-local's local connection alone is not sufficient to keep it alive.

Attempted workarounds with no success:

  • poll_only mode enabled
  • Periodic homeassistant.update_entity automation
  • Periodic homeassistant.reload_config_entry automation
  • Polling via the official Tuya integration in parallel

Log

The following warning appears repeatedly in the logs before the sensors go unknown:

2026-04-11 15:28:09.904 WARNING (MainThread) [custom_components.tuya_local.device] Misuratore Zona Giorno error reading: Unexpected Payload from Device

Also observed intermittently:

Misuratore Zona Giorno receive loop has terminated
Misuratore Zona Giorno error reading: Check device key or version

Additional notes

  • Device firmware is up to date
  • Local key and protocol version (3.5) are correct — the integration works fine initially
  • A similar device (different model) works correctly with tuya-local without any issues
  • The problem appears to be a firmware behavior of the TO-Q-SA1-0150WT that freezes local data push after some time and only resumes after a cloud interaction

Any guidance or fix would be greatly appreciated. Happy to provide additional debug logs if needed.

Steps to reproduce

No response

Expected behaviour

No response

Additional context

No response

Confirmation

  • [x] I am sure this is a bug or improvement, that is well enough described that it can be implemented.

  • [x] This report is for make-all/tuya-local, not for localtuya, a modified tuya-local not from make-all, the Tuya app or cloud.

  • [x] The device this issue is about is externally powered, or connecting via a hub (battery powered WiFi devices are NOT supported by this integration).

  • [x] I have checked the latest released version of tuya-local

  • [ ] If this is for a specific device, the device config filename is mentioned above, or diagnostics are included.

  • [x] Log messages or diagnostics relevant to the issue are included.

  • [x] This is not requesting addition of a new device.

andyz68 avatar Apr 11 '26 14:04 andyz68

If the config is tongou_sa1_wifi_energy_meter.yaml, then there is already a "Live updates" button for triggering live updates for another period.

make-all avatar Apr 11 '26 15:04 make-all

If the config is tongou_sa1_wifi_energy_meter.yaml, then there is already a "Live updates" button for triggering live updates for another period.

Sorry for the noise, this was my first time encountering this issue. I have other Tuya energy meters that work without any problems, and I did search before opening this issue but couldn't find anything related. Thanks for the quick help!

andyz68 avatar Apr 11 '26 15:04 andyz68