tinytuya icon indicating copy to clipboard operation
tinytuya copied to clipboard

Can't connect to Tuya WiFi IR remote

Open Antonytm opened this issue 8 months ago • 1 comments

I bought Zigbee "WiFi Remote Control Universal Infrared Tuya Smart Home Remote Controller for TV DVD Works For Google Home" from AliExpress.

Model name: S06.

It works fine with the Tuya application

I tried to use it without the Tuya app, but I had a problem. [Smart IR ] 192.168.78.54 - No Response IP is correct, ports are open, and keys are correct. I am stuck and don't know where to look and how to make it work.

python -m tinytuya wizard
TinyTuya Setup Wizard [1.16.1]

    Existing settings:
        API Key=********* 
        Secret=*******
        DeviceID=**************
        Region=eu

    Use existing credentials (Y/n): Y

Download DP Name mappings? (Y/n): Y


Device Listing

[
    {
        "name": "Skyworth",
        "id": "**********",
        "key": "***********",
        "mac": "",
        "category": "infrared_tv",
        "product_name": "TV",
        "product_id": "000000dp6t",
        "biz_type": 0,
        "model": "",
        "sub": true,
        "icon": "https://images.tuyaeu.com/smart/ir/icon/9knfsb0vv9c0.png",
        "uuid": "bf931f3839003575a0w0yy",
        "node_id": "feeba1da2aa5f65b",
        "mapping": {
            "-/--": {
                "code": "-/--",
                "type": "STRING",
                "values": "-/--"
            },
            "0": {
                "code": "0",
                "type": "STRING",
                "values": "0"
            },
            "1": {
                "code": "1",
                "type": "STRING",
                "values": "1"
            },
            "2": {
                "code": "2",
                "type": "STRING",
                "values": "2"
            },
            "3": {
                "code": "3",
                "type": "STRING",
                "values": "3"
            },
            "4": {
                "code": "4",
                "type": "STRING",
                "values": "4"
            },
            "5": {
                "code": "5",
                "type": "STRING",
                "values": "5"
            },
            "6": {
                "code": "6",
                "type": "STRING",
                "values": "6"
            },
            "7": {
                "code": "7",
                "type": "STRING",
                "values": "7"
            },
            "8": {
                "code": "8",
                "type": "STRING",
                "values": "8"
            },
            "9": {
                "code": "9",
                "type": "STRING",
                "values": "9"
            },
            "Back": {
                "code": "Back",
                "type": "STRING",
                "values": "Back"
            },
            "C": {
                "code": "C",
                "type": "ENUM",
                "values": {
                    "min": 1,
                    "max": 999,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            },
            "Channel+": {
                "code": "Channel+",
                "type": "STRING",
                "values": "Channel+"
            },
            "Channel-": {
                "code": "Channel-",
                "type": "STRING",
                "values": "Channel-"
            },
            "Down": {
                "code": "Down",
                "type": "STRING",
                "values": "Down"
            },
            "Home": {
                "code": "Home",
                "type": "STRING",
                "values": "Home"
            },
            "Left": {
                "code": "Left",
                "type": "STRING",
                "values": "Left"
            },
            "Menu": {
                "code": "Menu",
                "type": "STRING",
                "values": "Menu"
            },
            "OK": {
                "code": "OK",
                "type": "STRING",
                "values": "OK"
            },
            "Power": {
                "code": "Power",
                "type": "STRING",
                "values": "Power"
            },
            "Right": {
                "code": "Right",
                "type": "STRING",
                "values": "Right"
            },
            "Up": {
                "code": "Up",
                "type": "STRING",
                "values": "Up"
            },
            "Volume+": {
                "code": "Volume+",
                "type": "STRING",
                "values": "Volume+"
            },
            "Volume-": {
                "code": "Volume-",
                "type": "STRING",
                "values": "Volume-"
            }
        },
        "parent": "bfc81880291404c771rt7e",
        "ip": "",
        "version": ""
    },
    {
        "name": "Smart IR",
        "id": "*************",
        "key": "************",
        "mac": "18:de:50:bc:7e:3d",
        "uuid": "7b06b0802127629d",
        "sn": "1001206020106C",
        "category": "wnykq",
        "product_name": "Smart IR",
        "product_id": "ejv37o6yz9vtxcuo",
        "biz_type": 0,
        "model": "S06CB3S\u4e07\u80fd\u9065\u63a7\u5668",
        "sub": false,
        "icon": "https://images.tuyaeu.com/smart/icon/default_icon/ay1525749833414yotNt/8be38777230d289a61b824a5a9e4062d.png",
        "mapping": {},
        "ip": "192.168.88.54",
        "version": "3.3"
    },
    {
        "name": "Cooper & Hunter",
        "id": "************",
        "key": "**************",
        "mac": "",
        "category": "infrared_ac",
        "product_name": "Air Conditioner",
        "product_id": "000000dp6u",
        "biz_type": 0,
        "model": "",
        "sub": true,
        "icon": "https://images.tuyaeu.com/smart/ir/icon/9knfrm4eawao.png",
        "uuid": "bf48da3edf840f62576k4h",
        "node_id": "15cdfc577f112e7f",
        "mapping": {
            "wind": {
                "code": "wind",
                "type": "ENUM",
                "values": {
                    "min": 0,
                    "max": 3,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            },
            "mode": {
                "code": "mode",
                "type": "ENUM",
                "values": {
                    "min": 0,
                    "max": 4,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            },
            "power": {
                "code": "power",
                "type": "BOOLEAN",
                "values": {}
            },
            "temp": {
                "code": "temp",
                "type": "ENUM",
                "values": {
                    "min": 16,
                    "max": 30,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            },
            "F": {
                "code": "F",
                "type": "ENUM",
                "values": {
                    "min": 0,
                    "max": 3,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            },
            "M": {
                "code": "M",
                "type": "ENUM",
                "values": {
                    "min": 0,
                    "max": 4,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            },
            "PowerOff": {
                "code": "PowerOff",
                "type": "STRING",
                "values": "PowerOff"
            },
            "PowerOn": {
                "code": "PowerOn",
                "type": "STRING",
                "values": "PowerOn"
            },
            "T": {
                "code": "T",
                "type": "ENUM",
                "values": {
                    "min": 16,
                    "max": 30,
                    "scale": 0,
                    "step": 1,
                    "type": "Integer"
                }
            }
        },
        "parent": "bfc81880291404c771rt7e",
        "ip": "",
        "version": ""
    }
]

>> Saving list to devices.json
    3 registered devices saved

>> Saving raw TuyaPlatform response to tuya-raw.json

Poll local devices? (Y/n): Y

Scanning local network for Tuya devices...
    1 local devices discovered                     

Polling local devices...
    [Cooper & Hunter          ] Error: No IP found
    [Skyworth                 ] Error: No IP found
    [Smart IR                 ] 192.168.78.54      - No Response

>> Saving device snapshot data to snapshot.json


>> Saving IP addresses to devices.json
    1 device IP addresses found

Done.

Antonytm avatar Apr 27 '25 15:04 Antonytm

That is normal, most IR blasters do not respond to polls. Just create a device with Contrib/IRRemoteControlDevice and start using it.

uzlonewolf avatar Apr 27 '25 15:04 uzlonewolf