homebridge-tuya-web
homebridge-tuya-web copied to clipboard
connect EHOSTUNREACH
I get this error message in the plugin log:
[3/28/2024, 5:18:32 PM] [TuyaWebPlatform] connect EHOSTUNREACH 3.127.225.168:443
It doesn't seem to log in with my credentials. They're 100% correct, though.
Plugin version: v1.1.5
JSON:
{
"name": "TuyaWebPlatform",
"options": {
"username": "xxx",
"password": "xxx",
"countryCode": "xx",
"platform": "smart_life"
},
"defaults": [
{
"device_type": "form"
}
],
"scenes": false,
"platform": "TuyaWebPlatform"
}
Device Config:
Getting credentials
Got credentials
{ 'access_token': 'xxx',
'expires_in': 864000,
'refresh_token': 'xxx',
'token_type': 'bearer'}
Getting devices
Got devices
{ 'header': {'code': 'SUCCESS', 'payloadVersion': 1},
'payload': { 'devices': [ { 'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaeu.com/smart/icon/ay15422864509092y6k8/1622259081104c41dc2b7.png',
'id': 'bf79bb94ba4f259a46tuob',
'name': 'WiFi Plug - Living Room'},
{ 'data': {'online': False, 'state': True},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaeu.com/smart/icon/001460162698766TR4v1/1571295242db8f709b6dc.png',
'id': 'bf3cf8647a6ec9f964lata',
'name': 'WiFi Plug - Garden'},
{ 'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaeu.com/smart/icon/ay15422864509092y6k8/1622259081104c41dc2b7.png',
'id': 'bf969f4527982679ceujol',
'name': 'WiFi Plug - Office'}],
'scenes': []}}
!!! NOW REMOVE THIS FILE, SO YOUR CREDENTIALS (username, password) WON'T LEAK !!!