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

URL defaults to country #71

Closed thetonto closed 4 years ago

thetonto commented 4 years ago

Am getting the error "RequestError: Error: getaddrinfo ENOTFOUND australia-api.coolkit.cc australia-api.coolkit.cc:8080"

Even when I change the region in the configuration to eu, ch or leave blank it continues to create a url with australia in it.

Some over in node red forum also has similiar issue https://discourse.nodered.org/t/node-red-contrib-ewelink/19195

ottoszika commented 4 years ago

Hello @thetonto , As described here https://support.itead.cc/support/discussions/topics/11000001799, Oceania can use the "eu" region.

thetonto commented 4 years ago

Hi, thanks for fast reply Update configure node to be region of eu. on deploy the following is in debug. RequestError: Error: getaddrinfo ENOTFOUND australia-api.coolkit.cc australia-api.coolkit.cc:8080.

To be sure I deleted the node and configure node then recreated with exact same result

On Wed, 18 Dec 2019 at 07:22, Otto Szika notifications@github.com wrote:

Hello @thetonto https://github.com/thetonto , As described here https://support.itead.cc/support/discussions/topics/11000001799], Oceania can use the "eu" region.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ottoszika/node-red-contrib-ewelink/issues/71?email_source=notifications&email_token=AAWOGX3LXBN7M2ITHEZ5KOTQZEYIBA5CNFSM4J4A5PW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHD2VRQ#issuecomment-566733510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWOGX67L2EDIYP64KEUC6LQZEYIBANCNFSM4J4A5PWQ .

ottoszika commented 4 years ago

It seems to be an issue with the global connection. Once the connection has been made, it never updates. I will fix it asap. Can you configure correctly on a fresh node-red installation?

thetonto commented 4 years ago

Hi Otto Fortunately, I have couple of installations so will install to other system and test

On Wed, 18 Dec 2019 at 07:36, Otto Szika notifications@github.com wrote:

It seems to be an issue with the global connection. Once the connection has been made, it never updates. I will fix it asap. Can you configure correctly on a fresh node-red installation?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ottoszika/node-red-contrib-ewelink/issues/71?email_source=notifications&email_token=AAWOGX4T4ENPTXGGRTIFQOLQZEZ5PA5CNFSM4J4A5PW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHD346Y#issuecomment-566738555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWOGX35NUOLAGR3HOWWHKDQZEZ5PANCNFSM4J4A5PWQ .

thetonto commented 4 years ago

Hi Otto Confirmed. On a new installation with region of eu I connected and got the list of my devices. Look forward to the update and can test when your ready

On Wed, 18 Dec 2019 at 07:37, David deMarco ddemarco2015@gmail.com wrote:

Hi Otto Fortunately, I have couple of installations so will install to other system and test

On Wed, 18 Dec 2019 at 07:36, Otto Szika notifications@github.com wrote:

It seems to be an issue with the global connection. Once the connection has been made, it never updates. I will fix it asap. Can you configure correctly on a fresh node-red installation?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ottoszika/node-red-contrib-ewelink/issues/71?email_source=notifications&email_token=AAWOGX4T4ENPTXGGRTIFQOLQZEZ5PA5CNFSM4J4A5PW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHD346Y#issuecomment-566738555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWOGX35NUOLAGR3HOWWHKDQZEZ5PANCNFSM4J4A5PWQ .

ottoszika commented 4 years ago

Thanks, for the confirmation, I will fix the bug asap :)

ottoszika commented 4 years ago

The fix was included in v1.0.2. You can check it out once it's updated on flows.nodered.org. Thank you for your feedback!