Keys and secrets
I I copied your example flows here - https://github.com/subzero79/node-red-contrib-tuya-local - - and put in my MQTT info - and the IP of the ZemiSmart Smart plug I have on test right now... but as IDs for keys - I can only assume this has nothing to do with my official devloper ID and key for Tuya. Am I right in saying the device ID in Smart Life for my plug is irrelevant - in which case I don;t kno how to get the ID and key you refer to for the device. Two of us here are trying this node - neither uses Home Assistant - I use Node-Red (and Dashboard of course)... any pointers? I'd REALLY like to get (as an example) this device off the cloud...
Those are keys obtained from intercepting traffic using a mint fwd proxy. There are some instructions in tuyapi repo. I use mitm docker, an iPhone and the TuyaSmart app