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

Country code for South Africa #78

Closed TristanMW closed 4 years ago

TristanMW commented 4 years ago

Good Day

Please could you assist me ... I live in South Africa and cant seem to find the correct code for the "country" setting

I have tried the following:

"RequestError: Error: getaddrinfo ENOTFOUND za-api.coolkit.cc za-api.coolkit.cc:8080"

ottoszika commented 4 years ago

Hello @TristanMW,

Can you try other region codes, like eu or cn?

Thanks, Otto

TristanMW commented 4 years ago

@ottoszika I actually managed to contact eWeLink support via telegram. Turns out that the "region" is server region and not "my Region" which I probably overlooked when reading up on the API.

eu works perfectly

Thanks though