Tuya Plug - Consistent Error in Log

I have six Globe Electric plugs installed at various point throughout the house. Each one functions correctly however HA consistently reports an error on one of the plugs.

Logger: homeassistant.helpers.entity
Source: components/tuya/__init__.py:255
First occurred: 10:31:56 AM (526 occurrences)
Last logged: 10:34:56 AM

Update for switch.83345033840d8e5eec53 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
    raise exc
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 255, in update
    self._tuya.update()
  File "/usr/local/lib/python3.8/site-packages/tuyaha/devices/switch.py", line 16, in update
    return self._update(use_discovery=True)
  File "/usr/local/lib/python3.8/site-packages/tuyaha/devices/base.py", line 84, in _update
    devices = self.api.discovery()
  File "/usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py", line 188, in discovery
    response = self._request("Discovery", "discovery")
  File "/usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py", line 267, in _request
    self._raise_frequently_invoke(
  File "/usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py", line 292, in _raise_frequently_invoke
    raise TuyaFrequentlyInvokeException(message)
tuyaha.tuyaapi.TuyaFrequentlyInvokeException: Method [Discovery] fails 1 time(s) using poll interval 60.0 - error: you can discovery once in 600 seconds

I thought this was related to a weak wi-fi signal but that doesn’t appear to be the case as the Tuya app reports a signal strength of -53 db at that plug. Any thoughts on what is causing these errors?

Note: I’m using the Tuya integration on these devices as Globe does not have an integration for HA.

1 Like

hello @rcblackwell,

I’m wondering how you are able to manage your globe electric devices through the tuya integration? I have a smart power strip from globe electric and can’t figure out how to manage it through HA.

I followed all the steps but I still can’t

There are many threads in the Home Assistant forums suggesting Globe devices, along with a number of other products on the market, are manufactured by Tuya. Based on this information, I installed the Tuya integration. To my surprise, it worked. The problem indicated in my previous post was caused by a micro-wave oven that stood between devices and the wifi hub. Once I discovered the microwave oven was causing the problem I relocated a few devices which in turn solved the problem.

An update to the Tuya integration was released about six weeks ago. I’d be surprised if the Globe power strip didn’t work with it. Why not install the integration and try it out. Be sure to follow the install instructions to a “Tee” or you’ll encounter problems.

that exactly what I have done.! I even deleted it and install it all over again! But I still hitting a wall. this power strip is Wi-Fi (not zigbee or z-wave). from the tuya app, I can manage all the outlets individually but the tuya integration in HA is empty (no device or entities)

Try changing the country/area in your Tuya IoT account. I’m in eastern Canada bad had to select western Canada before the integration would see my devices. I’ve read where others have had similar issues.

If that doesn’t work, you should post a separate issue to address the problem.

@rcblackwell Thanks ! I’ll try it

@rcblackwell I just found what was my error ! I was using the same username password for the tuya app and the tuya iot plateform (I used the same credentials for both). I’ve changed the password in the tuya app and Bingo !
Thanks for your help ! I’m new to home assistance !