Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ewidance opened this issue Feb 19, 2024 · 2 comments
Open

Comments

@ewidance
Copy link

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.

@fercod
Copy link

fercod commented Apr 1, 2024

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
Copy link

fercod commented Apr 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants