node-red-contrib-ewelink icon indicating copy to clipboard operation
node-red-contrib-ewelink copied to clipboard

Working solution to node-red-contrib-ewelink does not anymore connect

Open ewidance opened this issue 1 year ago • 2 comments

Hi,

Many of you have realized that it is no longer possible to connect and therefore control your ewelink modules from node-red-contrib-ewwelink. This is due to the obsolescence of the authentication method used, now replaced by OAUTH2. "domesticstreamers " posted an update with OAUTH in project node-red-contrib-ewelink-apikey. It's available at https://flows.nodered.org/node/node-red-contrib-ewelink-apikey but the code is not on Git. To make it work, you will need an API key, to be created at https://dev.ewelink.cc/, and enter it in the config node. For the rest apparently it seems to work like node-red-contrib-ewelink. I only tested it on Sonoff DIY switches.

node-red-contrib-ewelink must be uninstalled first before installing node-red-contrib-ewelink-apikey. Backup your flows!

It would be great if the initial project and documentation was updated with these modifications.

In any case thanks to https://flows.nodered.org/user/domesticstreamers for these modifications.

ewidance avatar Feb 19 '24 06:02 ewidance

Hi,

Many of you have realized that it is no longer possible to connect and therefore control your ewelink modules from node-red-contrib-ewwelink. This is due to the obsolescence of the authentication method used, now replaced by OAUTH2. "domesticstreamers " posted an update with OAUTH in project node-red-contrib-ewelink-apikey. It's available at https://flows.nodered.org/node/node-red-contrib-ewelink-apikey but the code is not on Git. To make it work, you will need an API key, to be created at https://dev.ewelink.cc/, and enter it in the config node. For the rest apparently it seems to work like node-red-contrib-ewelink. I only tested it on Sonoff DIY switches.

node-red-contrib-ewelink must be uninstalled first before installing node-red-contrib-ewelink-apikey. Backup your flows!

It would be great if the initial project and documentation was updated with these modifications.

In any case thanks to https://flows.nodered.org/user/domesticstreamers for these modifications.

Why isn't the code public on GitHub? It doesn't feel very secure...

fercod avatar Apr 01 '24 13:04 fercod

For anyone trying to find a solution, I can recommend this module: node-red-ewelink-v2-oauth

Working and well documented.

https://github.com/FloFlal/node-red-ewelink-v2-oauth/blob/main/docs/index.md

fercod avatar Apr 07 '24 13:04 fercod