You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last working localtuya version (if known and relevant): n/a
Home Assistant Core version: core-2021.9.6
[] Are you using the Home Assistant Tuya Cloud component ?
[] Are you using the Tuya App in parallel ?
Steps to reproduce
No internet for IoT devices
Power lost or unplug IoT device (what doesn't have last state or forced power on)
Device will stay unavailable
Configuration configuration.yaml or config_flow
N/A
Additional information
Environment: firewalled tuya devices. No connections to internet at all.
What is working (example): In case smartplug has been started with internet connection, everything is working. Also in case if smartplug powered on with power button, everything will work.
What is not working: Incase there is no internet connection and smartplug has not been started first time from physical button, device will stay unavailable.
So, currently without internet connection. there is two options. start smartplug devices from button. But currently at least with some other machine/device we can use: "tuya-cli set --ip <IP_Address> --key <LOCAL_KEY> --id <DEVICE_ID> --protocol-version 3.3 --dps 1 --set true". That will start and initialize device so that localtuya will see the device and after that device can be managed by it.
Note! HA is in different VLAN than IoT devices. And IoT devices don't have internet connection.
The text was updated successfully, but these errors were encountered:
zeminator
changed the title
Sadly localtuya will not work without internet connection
Sadly localtuya will not work IoT devices what are without internet connection
Sep 28, 2021
zeminator
changed the title
Sadly localtuya will not work IoT devices what are without internet connection
Sadly localtuya will not work with IoT devices what are without internet connection
Sep 28, 2021
also extra comment. While localtuya says that devices are unavailable. I can do query of the device with "tuya-cli get --ip <IP_Address> --key <LOCAL_KEY> --id <DEVICE_ID> --protocol-version 3.3", and it is working just fine.
This is due to a missing initialization packet required by newer (2019/2020+ ish) devices. I put a PR up at #491 that may fix this - however because the way devices handle this packet, the lack of it, and the way they respond to it varies per manufacturer/firmware it may not cover all device cases.
Environment
Steps to reproduce
Configuration
configuration.yaml
orconfig_flow
N/A
Additional information
Environment: firewalled tuya devices. No connections to internet at all.
What is working (example): In case smartplug has been started with internet connection, everything is working. Also in case if smartplug powered on with power button, everything will work.
What is not working: Incase there is no internet connection and smartplug has not been started first time from physical button, device will stay unavailable.
So, currently without internet connection. there is two options. start smartplug devices from button. But currently at least with some other machine/device we can use: "tuya-cli set --ip <IP_Address> --key <LOCAL_KEY> --id <DEVICE_ID> --protocol-version 3.3 --dps 1 --set true". That will start and initialize device so that localtuya will see the device and after that device can be managed by it.
Note! HA is in different VLAN than IoT devices. And IoT devices don't have internet connection.
The text was updated successfully, but these errors were encountered: