ottoszika / node-red-contrib-ewelink

NodeRED nodes for eWeLink smart devices
https://ottoszika.github.io/node-red-contrib-ewelink
MIT License
48 stars 28 forks source link

Deploy only one node connects at a time #99

Open nickydoyl opened 3 years ago

nickydoyl commented 3 years ago

Whenever i deploy any changes ewelink will only ever connect to one node at a time the rest will only ever show error

{"error":301,"msg":"Region does not exist"}

I'm in Thailand and region code "cn" does work but this issue is preventing me from using this pallet completely. :( eu seems to work and au does not work at all.

HLEPPPPPP

https://photos.app.goo.gl/Q29QQBeJWF9TzaSK9 video of the issue

driagi commented 3 years ago

I've the same problem. If i do a Full Deploys or reboot node red....To solve I need for each node, unlink the account, deploy, reconnect the account and deploy ... one node at a time

ckhmer1 commented 3 years ago

Hi, there is a pull request pending, fixing this problem. If you wish, you can patch your installation manually in the meantime the patch will be merged.

Paperoga14 commented 2 years ago

Hi ckhmer1. Can you clarify which pull request? or can you explain how to patch? Don't think the patch have been merged yet...

ckhmer1 commented 2 years ago

Hi, Get from GitHub the latest version of the following files:

src/credentials/credentials.js /src/utils/ewelink-connect.js

Paperoga14 commented 2 years ago

Found both files. Patched my installation and it works fine now! Thanks a lot.