Open zeminator opened 2 years ago
also extra comment. While localtuya says that devices are unavailable. I can do query of the device with "tuya-cli get --ip
This is due to a missing initialization packet required by newer (2019/2020+ ish) devices. I put a PR up at https://github.com/rospogrigio/localtuya/pull/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.
Dupe of #501 and #445?
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 --key --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.