Hi all, my tuya integration stop working. I’have about 30 divice on my smartlife app.
The first setup worked perfectly (based on Tuya platform). After about a month, al device are disapeared.
I’ve tried
remove and re-add the integration
restarting my HASSIO server
Nothing seems to work, no devices shown.
I can’t exactly tell when the integration stop working, but on 31/12/22 it was ok.
The tuya integration is very buggy.
I suggest you look at the local tuya integration.
It’s a lot harder to set up, but once its set up then it works very well.
I’ve tried the integration with tuya local.
The guide works perfectly until I’ve to add a devise to Tuya local.
it workwed only when i’ve upgradet to v5 tuya local, an when i’ve used the v 3.4 protocl. (non aviable in previus version).
Thank you
I have been using Local Tuya exclusively and after the new update every single one of my lights went offline. Oddly enough it’s just the light switches. Some smart plugs i have still work. All the lights are operational in the Smartlife app, for some reason they are not working in HA anymore. Any ideas?
i added the logs to see if this would help. i don’t understand what’s going on with local tuya.
This error originated from a custom integration.
Logger: custom_components.localtuya.common
Source: custom_components/localtuya/pytuya/init.py:559
Integration: LocalTuya (documentation, issues)
First occurred: May 6, 2023 at 7:56:40 AM (102806 occurrences)
Last logged: 9:07:51 PM
[ebd…y3q] Connect to 192.168.4.100 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 149, in _make_connection
status = await self._interface.status()
File “/config/custom_components/localtuya/pytuya/init.py”, line 472, in status
status = await self.exchange(STATUS)
File “/config/custom_components/localtuya/pytuya/init.py”, line 457, in exchange
payload = self._decode_payload(msg.payload)
File “/config/custom_components/localtuya/pytuya/init.py”, line 559, in _decode_payload
return json.loads(payload)
File “/usr/local/lib/python3.10/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.10/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/local/lib/python3.10/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Today most of my equipment stopped working in Home assistant. Reason seems to be that Tuya does not see anything anymore. Even tried to remove and reinstall Tuya-integration. Installation works fine but still nothing shows up in Home Assistant. Am I only one or is something now really broken?
My Tuya equipment also stopped today.
Noticed the temperature/humidity sensors did not update.
Reloaded Tuya and all devices disappeared.
They are still visible in my Google home and Tuya app.
Restarting home assistant did not help.
Same here @Hezekiel. I’ve been away for a few days so cannot say when it happened - will look back in logs. I’ll leave as is for now, as your reinstall didn’t help - maybe a bugfix will revert things to normal.