Light was reset, I repaired the light to the AP, shows up in Tuya app, same IP, same ID, still offline in HA
Environment
Only using Tuya Local, updated to latest from HACS
Steps to reproduce
Working wall switch dimmer with Local Tuya
Hold down switch to enter pairing mode. (your 3 year old toddler will do this for you)
Pair switch to same AP as before, assign same static IP
Confirm still works in Tuya app, tuya app discovered same device and appplied the same name and ID.
Confirmed Tuya Local is still pointing to the same IP and ID.
Tuya Local shows device offline, reboot HA, no fix.
Provide Home Assistant taceback/logs
Logger: custom_components.localtuya.common
Source: custom_components/localtuya/pytuya/init.py:559
Integration: LocalTuya (documentation, issues)
First occurred: 6:34:58 AM (114 occurrences)
Last logged: 7:25:58 AM
[483...426] Connect to 192.168.0.36 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.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/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)
The problem
Light was reset, I repaired the light to the AP, shows up in Tuya app, same IP, same ID, still offline in HA
Environment
Only using Tuya Local, updated to latest from HACS
Steps to reproduce
Provide Home Assistant taceback/logs
Logger: custom_components.localtuya.common Source: custom_components/localtuya/pytuya/init.py:559 Integration: LocalTuya (documentation, issues) First occurred: 6:34:58 AM (114 occurrences) Last logged: 7:25:58 AM
[483...426] Connect to 192.168.0.36 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.9/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.9/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)
-->
Additional information