Hey all,
I've been banging my head against a wall trying all of the Tuya plugins for NodeRED, but I keep getting stuck.
A while ago I obtained the device ID and localKey from the Tuya dev service (within the 1 month trial period), but I cannot seem to make them work with any of the NR plugins.
The most progress I've made is with the TuyAPI Cloud plugin, which allowed me to get Group IDs, which I then fed into the Get Devices example node. From this I have obtain an array of all 5 of my devices and below is an example of one of them.
The trouble is that with Tuya-Smart-Device node, it asks for device key, which seems to be different to local key.
Any ideas what I should be doing?
Incidentally, the IP address shown is not part of my local network.
Thanks in advance for any advice.
All the best,
Dax.
Each device has a device id and local key, which you can get with tuya-cli using:
tuya-cli wizard
From memory you can also get it from the Tuya portal, but can't remember where specifically.
Hi mate, same situation here, I've a triac dimmer S1-B which works with Smart Life, I've tried different (but not all) modules and I alway got errors, I've registered on Tuya iot side and create a profile, I'm able with tuya-cli wizard
to get Id and secret, but this didn't help. I guess Tuya loves to introduce new protocols and create us troubles, so I've stopped to read guides around, they may be obsolete and far from my dimmer.
For example, modules ask to drive direcly by IP, but my phone drives dimmer by broadcasts, and the protocol I sniffed is encrypted.
Tuya it's really unwise to create such big problems for local communication, it should be much more easy when the environment is safety
1 Like
I gave up using Tuya and reflashed my devices with OpenBekens. It's basically Tasmota for non-ESP devices, so you simply use MQTT.
1 Like
Thank you for your reply, searching about my dimmer I've found this link, I've asked help there to know how to refash it
https://www.elektroda.com/rtvforum/viewtopic.php?p=21285008#21285008
After other attempts I fugured out that the control goes through cloud or Bluetooth, I haven't found a way to send by local LAN.
The broadcasts the app sends are just annuncements and come reculary every 3/4 secs