subzero79 / node-red-contrib-tuya-local

NodeRED node to control tuya devices locally. Based on tuyapi module
29 stars 17 forks source link

Connection problem with MiLight WL-Box1 #37

Closed kjubidoo closed 2 years ago

kjubidoo commented 2 years ago

Hi,

I'm trying to connect the MiLight WL-Box1 Gateway with local Tuya. Unfortunately, it doesn't work as expected. The connection establishment is not possible.

Debug output: Error: Error from socket device: light bath room ip: "192.168.40.105" id: "####" available: false

Tuya IOT API explorer device details: "result": { "active_time": 1660378330, "biz_type": 0, "category": "dj", "create_time": 1660324661, "icon": "smart/icon/ay1544595242978Akat0/a3c2e985445c0cbbd890208b927fb4aa.png", "id": "####", "ip": "####", "lat": "0.0000", "local_key": "####", "lon": "0.0000", "model": "", "name": "MiLight Gateway", "online": true, "owner_id": "####", "product_id": "####", "product_name": "2.4GHz Gateway", "status": [ { "code": "switch_led", "value": true }, { "code": "work_mode", "value": "white" }, { "code": "bright_value_v2", "value": 1000 }, { "code": "temp_value_v2", "value": 0 }, { "code": "colour_data_v2", "value": "{\"h\":112,\"s\":0,\"v\":1000}" }, { "code": "countdown_1", "value": 0 }, { "code": "control_data", "value": "" } ], "sub": false, "time_zone": "+02:00", "uid": "eu1655664454272WMJ04", "update_time": 1660378409, "uuid": "acd2ffa82c5cbeb0" }, "success": true, "t": 1660378685232, "tid": "####" }

Any suggestions?