I had local tuya setup for several switches and outlets for about a month and suddenly they went unavailable and the entities disappeared in HA. When I went to add them back in which involves getting the local id from the Tuya cloud account I then discovered that the Tuya IoT plan had expired which means I can’t get the local id.
I had thought that the point of using local Tuya was to get off the cloud so I’m confused at this point. I’ve tried to extend the trial period but seems like this is just going to keep happening.
You can use Local Tuya without connecting it to the cloud, so all the communication between Home Assistant and the devices is local, with no use of cloud.
However, the devices requires any request to be using those device_id and local_key. If you have those, you are good to go totally local, otherwise you have to use the Tuya IoT portal to get those keys, and this can be done manually or using the cloud connectivity in the Local Tuya integration.
Tuya don’t wanna let you go totally local, so the is as local as a Tuya wifi device can be.
Yes…I’m aware. Just didn’t expect the devices to disappear in HA because the Tuya IoT trial cloud account expired. They are the only one that makes a light/fan dimmer switch combo that I’ve found otherwise I’d go elsewhere.
Something weird is definitely going on. My Tuya IoT account I setup in November (for my Roborock) ‘expired’. Found out when I tried to onboard some spotlights a couple hours ago and grab the keys. I thought these lasted 6 months?
Ive applied for the extension. Let’s see what happens.
Interesting… got one Tuya SmartSwitch (Thermostat) via localTuya. Set it up a few weeks ago. If that account expires then to hell with it. Getting the keys was a PITA, which I will not repeat. Instead I will control IR-heater panel with a Shelly.
Guess in the future I stay away from TUYA devices like the Devil from the holy water.
My account also expired before I could get the local key. Now it fails when I try to view it through their UI. Has anyone figure out a workaround to get the local key? What a PITA!!! Sorry I bought tookya.
I have a Tuya based dehumidifier. It for sure is my first and last Tuya device. Luckily I stored the local_key before my IoT plan expired.
I now want to switch to another Wi-Fi. According to the manual, I have to press the Timer button 3s (to put it in hotspot mode) and then re-add the device via the Tuya Smart app. My question now is what happens to the device_id and the local_key in this case? Do they change? The latter can only be retrieved from the IoT platform with a valid plan…
I can switch WiFi via Tuya Smart app but the WPA passphrase is synced via cloud which probably also happens when setting up a new device though. I have zero trust in the Tuya platform.
When a device is readded to an account, a new localkey is generated for it each time. You need to specify a new localkey for the device in the tuya local.
Note that each time you pair the device, the local key changes, so if you obtained the local key using the instructions below, then re-paired with your manufacturer’s app, then the key will have changed already.
So you basically can’t change your Wi-Fi or WPA passphrase without implicitly changing the local_key unless you sync it via Tuya cloud, hence not resetting/readding the device.
Unfortunaterly I’ve had different experiences. Although also using LocalTuya not too long after those “Trials” expired Tuya WiFi based devices started to act inconsistent one after another. Only after extending the trial period again they worked without issues. This happend soon after every trial period has ended.