Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya WiFi Device Cannot Get IP Address via Wizard/Scan of TinyTuya #574

Open
3735943886 opened this issue Dec 25, 2024 · 0 comments
Open

Comments

@3735943886
Copy link

Description: One of my Tuya WiFi devices is unable to obtain an IP address using the wizard/scan feature of TinyTuya.

Polling local devices...
    [balcony_door_contact     ] Error: No IP found
    [balcony_lightswitch      ] 10.10.129.151      - [Off] - DPS: {'1': False, '7': 0, '14': 'off', '15': 'pos', '17': '', '18': '', '19': ''}
    [balcony_mod              ] Error: No IP found
    [balcony_pusher           ] Error: No IP found
    [balcony_temperature      ] Error: No IP found
    [blender_plug             ] 10.10.128.113      - [Off] - DPS: {'1': False, '9': 0, '17': 7, '18': 0, '19': 0, '20': 0, '21': 1, '22': 527, '23': 28055, '24': 14492, '25': 1436, '38': 'off', '39': 'relay', '40': False, '41': '', '42': '', '43': ''}
    [doorlock_mod             ] 10.10.128.103      - [Off] - DPS: {'1': False, '9': 0, '38': 'off', '42': '', '43': '', '44': 'AQAB', '47': 'button'}
    [entry_remote             ] Error: No IP found
    [guest_curtain            ] Error: No IP found
    [guest_lightswitch        ] 10.10.129.144      - [Off] - DPS: {'1': False, '2': True, '7': 0, '8': 0, '14': 'off', '17': '', '18': '', '19': ''}
    [guest_remote             ] Error: No IP found
    [guest_window_contact     ] Error: No IP found
    [kids_lightswitch         ] 10.10.129.140      - [Off] - DPS: {'1': False, '2': False, '3': False, '7': 0, '8': 0, '9': 0, '14': 'off', '17': '', '18': '', '19': 'AAAA'}
    [kids_window_contact      ] Error: No IP found
    [kidse_plug               ] 10.10.128.141      - [Off] - DPS: {'1': False, '9': 0, '21': 0, '22': 0, '23': 2174, '24': 2, '29': 0, '38': 'off', '42': '', '43': '', '44': 'AAAC', '47': 'flip'}
    [kidsw_plug               ] 10.10.128.142      - [Off] - DPS: {'1': False, '9': 0, '21': 0, '22': 0, '23': 2166, '24': 2, '29': 0, '38': 'off', '42': '', '43': '', '44': 'AAAC', '47': 'flip'}
    [kitchen_lightswitch      ] 10.10.129.110      - [Off] - DPS: {'1': False, '2': False, '3': False, '4': False, '7': 0, '8': 0, '9': 0, '10': 0, '14': 'off', '15': 'relay', '17': '', '18': '', '19': ''}
    [kitchen_presence         ] 10.10.128.111      - [Off] - DPS: {'1': 'none', '2': 6, '3': 600, '4': 600, '101': 0, '102': 8, '105': 600, '106': 8, '108': 5, '116': 'none'}
    [kitchen_remote           ] Error: No IP found
    [living2_lightswitch      ] 10.10.129.101      - [Off] - DPS: {'1': False, '2': False, '7': 0, '8': 0, '14': 'off', '15': 'relay', '17': '', '19': ''}
    [living_lightswitch       ] 10.10.129.100      - [Off] - DPS: {'1': False, '2': False, '3': False, '4': False, '7': 0, '8': 0, '9': 0, '10': 0, '14': 'off', '15': 'relay', '17': '', '18': '', '19': 'AAAA'}
    [living_remote            ] Error: No IP found
    [living_window_contact    ] Error: No IP found
    [main_gateway             ] 10.10.128.105      - No Response
    [master_curtain           ] 10.10.128.131      - DPS: {'101': 51, '102': 'STOP', '103': True}
    [master_gateway           ] 10.10.128.132      - DPS: {'4': False, '32': 'normal'}
    [master_lightswitch       ] 10.10.129.130      - [Off] - DPS: {'1': False, '7': 0, '14': 'off', '17': '', '18': '', '19': 'AAAA'}
    [pixel_usb                ] 10.10.128.106      - [On]  - DPS: {'1': True, '9': 0, '38': 'on', '42': '', '43': ''}
    [powder_lightswitch       ] 10.10.129.133      - [Off] - DPS: {'1': False, '7': 0, '14': 'off', '17': '', '18': '', '19': ''}
    [powder_mod               ] Error: No IP found
    [powder_mod2              ] Error: No IP found
    [powder_presence          ] Error: No IP found
    [private_bathbutton       ] Error: No IP found
    [private_bathir           ] 10.10.128.123      - DPS: {'101': 212, '102': 57}
    [private_door_contact     ] Error: No IP found
    [private_lightswitch      ] 10.10.129.121      - [Off] - DPS: {'1': False, '2': False, '3': False, '7': 0, '8': 0, '9': 0, '14': 'off', '15': 'pos', '17': '', '18': '', '19': ''}
    [public_bathbutton        ] Error: No IP found
    [public_bathir            ] 10.10.128.122      - DPS: {'101': 208, '102': 49}
    [public_door_contact      ] Error: No IP found
    [public_lightswitch       ] 10.10.129.120      - [Off] - DPS: {'1': False, '2': False, '3': False, '7': 0, '8': 0, '9': 0, '14': 'off', '15': 'pos', '17': '', '18': '', '19': ''}
    [ricecook_plug            ] 10.10.128.112      - [Off] - DPS: {'1': False, '9': 0, '17': 3, '18': 0, '19': 0, '20': 0, '21': 1, '22': 526, '23': 27916, '24': 14467, '25': 1440, '38': 'off', '39': 'relay', '40': False, '41': '', '42': '', '43': ''}
    [ricecook_repeater        ] Error: No IP found
    [sofa_repeater            ] Error: No IP found
    [utility_door_contact     ] Error: No IP found
    [utility_gateway          ] 10.10.128.152      - No Response
    [utility_lightswitch      ] 10.10.129.150      - [On]  - DPS: {'1': True, '7': 0, '14': 'off', '15': 'pos', '17': '', '18': '', '19': ''}
    [utility_presence         ] Error: No IP found
    [utility_pusher           ] Error: No IP found
    [utility_temperature      ] Error: No IP found
    [utilityinner_door_contact] Error: No IP found
    [utilitysub_pusher        ] Error: No IP found

>> Saving device snapshot data to snapshot.json


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

Done.

The above polling result shows utility_presence with the Error: No IP found.
The devices.json file shows the IP and version as empty. Since it's a WiFi device, no parent is seen either. I also tried using the -f option, but it didn't help.

    {
        "name": "utility_presence",
        "id": "ebb678779003080f11nfv0",
        "key": "RK)g;PW<1`hi|(_=",
        "mac": "d8:d6:68:ce:f9:c7",
        "uuid": "6732c039e0a3e1c2",
        "sn": "100136416002BC",
        "category": "hps",
        "product_name": "HPD WF LD2420",
        "product_id": "e833v6jexwfkjrij",
        "biz_type": 18,
        "model": "RTCZ-03",
        "sub": false,
        "icon": "https://images.tuyaus.com/smart/icon/ay15427647462366edzT/8293b553146d0a545989f9486f1f9d29.jpg",
        "mapping": {
            "1": {
                "code": "presence_state",
                "type": "Enum",
                "values": {
                    "range": [
                        "none",
                        "presence",
                        "peaceful",
                        "small_move",
                        "large_move"
                    ]
                }
            }
        },
        "ip": "",
        "version": ""
    },

The ip neigh command clearly shows the IP address associated with the MAC address of the device.

$ ip neigh | grep d8:d6:68:ce:f9:c7
10.10.128.156 dev enp1s0 lladdr d8:d6:68:ce:f9:c7 REACHABLE

Now what should I check?

Tinytuya version is 1.15.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant