subzero79 / node-red-contrib-tuya-local

NodeRED node to control tuya devices locally. Based on tuyapi module
28 stars 17 forks source link

Node Red 1.0 breaks this #14

Open mobamoba opened 4 years ago

mobamoba commented 4 years ago

I tried upgrading to Node Red 1.0 and this plugin breaks as a result (works fine on prior version). It goes into a connect/disconnect loop that never ends.

Not sure how to debug beyond this or if perhaps a tuyapi update would solve it but wanted to report it.

subzero79 commented 4 years ago

Thanks for the heads ups I haven’t upgraded yet. As I know there is a major change on Messages. I’ll have to take a look into it next week.

subzero79 commented 4 years ago

I just installed nodered 1.0.1 docker image. I have no issues whatsoever. Can you please check again?

image

mobamoba commented 4 years ago

On latest node red docker, my logs are filled with this:

6 Oct 07:08:51 - [info] [tuya-local:f2f359d6.096b1] set timeout for re-connect,

and: 6 Oct 07:08:51 - [info] [tuya-local:36374547.6ea462] Connection requested by input for device: undefined,

On the older node red docker, it works fine - same devices, same everything, same data directory.

subzero79 commented 4 years ago

Maybe recreate the nodes ? Delete them or export them to clipboard restart nodered and paste them again.

mobamoba commented 4 years ago

I tried that - deleting nodes and redoing from scratch - and unfortunately it didn't solve the problem.