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

Error - oauthClient enable invalid #167

Open
michelefa1988 opened this issue Aug 10, 2023 · 17 comments
Open

Error - oauthClient enable invalid #167

michelefa1988 opened this issue Aug 10, 2023 · 17 comments

Comments

@michelefa1988
Copy link

Has anybody started seeing this error recently? Any fixes available. I have been using this module to connect to a sonoff smart switch

object
error: 403
msg: "Sign:oauthClient enable invalid"```
@Pisgah
Copy link

Pisgah commented Aug 10, 2023

Meet the same problem, starting today. It working normally until today!!

@Aladar85
Copy link

Solution: skydiver/ewelink-api#220

Update APP_ID and APP_SECRET in node-red/node-modules/ewelink-api/src/data/constants.js with your APP_ID or from the previous link.

@Pisgah
Copy link

Pisgah commented Aug 11, 2023

It works, thanks !!!
EDIT:
Remember to restart the service !!!

@PowerZone21
Copy link

PowerZone21 commented Aug 11, 2023

Does not work for me
EDIT
Works after reboot :) Thanks

@marcoszukin
Copy link

It works, thanks !!!

@JonoPorto
Copy link

JonoPorto commented Aug 12, 2023

changed APP_ID and APP_SECRET, rebooted multiple times, still doesn't work

@pmh1947
Copy link

pmh1947 commented Aug 13, 2023 via email

@Xriva2002
Copy link

Updating APP_ID & APP_SECRET from Solution: https://github.com/skydiver/ewelink-api/issues/220 works fine but if you create a new app on https://dev.ewelink.cc/#/ and use your own APP_ID & APP_SECRET then you can get a list of devices but cannot control switches.
I suspect the reason is due to the v1 login being depreciated and only v2 logins being an option. When the working APP_ID & APP_SECRET stop working then this will all become a problem again.
Hopefully someone will fix this or we face the arduous task of flashing and configuring Tasmota on our Sonoff switches.

@ewidance
Copy link

Don"t seem to work anymore, and the APP_ID & APP_SECRET don't seems to be issued by ottoszika but a community member.

coolkit-carl Says d'ont use it !
skydiver/ewelink-api#220 (comment)

In issue skydiver/ewelink-api#220 , the problem seems to be more located on new auth method (oauth 2) than in a legacy api id/secret...

Who's got the skill to integrate oauth 2.0 in node-red-contrib-ewelink, since it seems to be the only valid method provided by the underlying ewelink-api...

@pmh1947
Copy link

pmh1947 commented Aug 22, 2023 via email

@Xriva2002
Copy link

Still works for me, but only using the 'DEVICES' Node.
With my own created APP id & secret I can only list devices but using the id & secret supplied in the post above I can also control the switches. The working id & secret are probably using oauth1 and this will last at most a year before the keys become invalid and this all becomes an unfix-able problem. I'm experimenting with an ESP8266 programmed with Tasmota and controlling it via a node-red dashboard (local) and Telegram (remote) just in case nobody can fix the oauth2 problem.

@AndreFvdMerwe
Copy link

AndreFvdMerwe commented Aug 23, 2023

works but only for devices registered to that userID. shared devices cannot be accessed. Any advice on how to monitor shared devices also ?

@scargill
Copy link

Mine has worked just fine until today I finally upgraded my node-red install to 3 and nodejs to 18 to handle the new MATTER node - and now my node-red-contrib-ewelink will not connect... all the nodes including devices just say disconnected. Ideas anyone?

@thewaver007
Copy link

Hi Peter, I'm having the same problem with my Node Red ewelink: {"error":403,"msg":"Sign:oauthClient enable invalid"}
I have not upgraded anything on node red or node.js and cant understand why ewelink just suddenly stopped working. Have you managed to get yours going again and if you have could you offer a helping hand please. Kind regards Don....

@tecguru
Copy link

tecguru commented Sep 26, 2023

Having the same issue here, hopefully someone can release an update to fix issue. Looks like this module uses an older version of the API that has been shutdown.

@scargill
Copy link

scargill commented Dec 4, 2023

Hi Peter, I'm having the same problem with my Node Red ewelink: {"error":403,"msg":"Sign:oauthClient enable invalid"} I have not upgraded anything on node red or node.js and cant understand why ewelink just suddenly stopped working. Have you managed to get yours going again and if you have could you offer a helping hand please. Kind regards Don....
I've just come back to this now - no - no working.. I ope someone has the answer - I ecently upgraded to nodjs18 to get the latest Node-Red.

@scargill
Copy link

scargill commented Dec 4, 2023

Any takers? Is thies in the process of being fixed?

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