Hello,
I'm trying to link Tuya devices using this CLI tool but I can't seem to get any other response then a timeout.
I'm running the homebridge raspbian image on a Raspberry pi 3B.
I have added an SSH-key, enabled WiFi, installed this CLI and removed the ethernet cable.
I then reset my Tuya power by pressing the power button 6 seconds (it will start to blink)
And then I run the following command on my Pi:
tuya-cli link --ssid 'My Wifi SSID' --password 'MyWifiPassword!' --api-key 'a-tuya-app-key' --api-secret 'a-tuya-app-secret' --schema 'a-tuya-schema' -t 'Europe/Amsterdam' -r 'eu'
My SSID contains spaces, my wifi password contains an exclamation mark.
When capturing network traffic on my MacBook during the command, I can see UDP broadcast packets with destination port 30011; the timing and payload seems to strongly suspect that these originate from this CLI.
In the Tuya IoT Platform, all API groups are "open"
Do you have any idea what might prevent my from linking my devices and or what I can do to help debug this?
I am investigating this for use in a homebridge-plugin therefor it is not useful for me to simply link my app account and extract the keys that way. (linking app accounts would not be a viable solution for other users of the plugin)
Hello,
I'm trying to link Tuya devices using this CLI tool but I can't seem to get any other response then a timeout.
I'm running the homebridge raspbian image on a Raspberry pi 3B.
I have added an SSH-key, enabled WiFi, installed this CLI and removed the ethernet cable.
I then reset my Tuya power by pressing the power button 6 seconds (it will start to blink)
And then I run the following command on my Pi:
My SSID contains spaces, my wifi password contains an exclamation mark.
When capturing network traffic on my MacBook during the command, I can see UDP broadcast packets with destination port 30011; the timing and payload seems to strongly suspect that these originate from this CLI.
In the Tuya IoT Platform, all API groups are "open"
Do you have any idea what might prevent my from linking my devices and or what I can do to help debug this?
I am investigating this for use in a homebridge-plugin therefor it is not useful for me to simply link my app account and extract the keys that way. (linking app accounts would not be a viable solution for other users of the plugin)