node-red-contrib-tuya-local icon indicating copy to clipboard operation
node-red-contrib-tuya-local copied to clipboard

Keys and secrets

Open scargill opened this issue 6 years ago • 1 comments

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...

scargill avatar Apr 05 '20 12:04 scargill

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

subzero79 avatar Apr 05 '20 22:04 subzero79