Comments (3)
you need to check the APP_ID and APP_SECRET in constants.js
Use the ones mentioned in #221 - those are the ones I'm using.
APP_ID: 'Uw83EKZFxdif7XFXEsrpduz5YyjP7nTl',
APP_SECRET: 'mXLOjea0woSMvK9gw7Fjsy7YlFO4iSu6'
find your nodered node_modules folder, the constants.js file is in
/ewelink-api/src/data/constants.js
The account I'm using has been created in region 'eu', should work fine for you as well.
I found out that the event listener node does NOT work with shared accounts. It's a permission thing.
I had to use the secondary account on my app, which is very annoying because then there are certain
restrictions on the actions the app can perform, like network settings, upgrading, schedules, etc ...
from ewelink-api.
The usual suspects are
- old APP_ID (see #221)
- being connected with the same account on your mobile app
no need for any plan, I'm using the api fine without.
from ewelink-api.
@mduchain , thank you for your answer. old APP_ID might be the reason, but I don't know how to overcome it. What to do now. I am not using it on mobile app at the same time. Because of that I am having two different accounts, primary one that I am using on my mobile app, than I am having secondary one, that is shared through primary. This secondary's purpose is to connect through node-red, but I am getting this error. Any idea how to solve it?
from ewelink-api.
Related Issues (20)
- THR316 doesn't update
- Unable to use power consumption with sonoff POW Elite HOT 6
- Get Voltage and current on POWR2 device HOT 2
- CoolkIt: Announcement regarding the expiration of the APPID referenced in this project and the cessation of maintenance of the v1 interface, suggesting migration HOT 7
- Error 401: Wrong account or password -- again HOT 54
- Error: 406 { error: 406, msg: 'Authentication failed' } HOT 21
- Support for changing the network indicator led?
- Is There Any PHP Version HOT 1
- error: 401, msg: 'Wrong account or password'
- Sonoff Dual R3 - Power Consumption Issue HOT 1
- Retrieve Room Names
- Reading the list of shared devices
- Switch to manual or automatic mode
- websocket closes unexpectedly, causing Node Red to crash
- Yyy
- How can I change the wifi password of the device registered to ewelink with js? Like OTA bin codes
- sonoff dimmer device control js code ???
- multichannel devices, set/get powerstate inconsitent behavior
- Error 406 on QuickStart sample code and undefines when trying getCredentials HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ewelink-api.