subzero79

Results 60 comments of subzero79

Same request here.

Just created a very basic version based on latest tuyapi, haven’t tested with earlier protocol version as I only have 3.3 devices. https://github.com/subzero79/node-red-contrib-tuya-local

Is it a frequent error? do you get any output at all? Also you mention the 'last function', are you referring to a function node?

Is code in the function node doesn’t work for your current tuya output. Is this your first node-red flow? If so try to put a debug node after the tuya...

That looks wrong. This looks like you have not obtained the proper decryption key. Have you been through tuyaapi docs on that matter ?

I only had single tuya switch to test this. Have to check the code again. Have you tested this already in a tuyapi nodejs script ?

Looking at the code I did add support for multiple as per tuyaapi. Try as I said a nodejs script to send multiple, maybe the structure is wrong.

Also check the keys are correct, is 20 the on/off?

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

It was never published on npm. I created the project because tuya convert back at the time was locked due to fw change by tuya. Also the first tuya local...