node-red-contrib-ewelink
node-red-contrib-ewelink copied to clipboard
Password change by itself / Status: disconnected
Hi,
This is a marvelous plugin. I have been installed it this day, but I have found two issues. First: I will have to set the password at eWeLink Credentials window, almost every time if I change something in a node because it always changes something by itself. eWeLink Credentials field often shows some kinds of code (eg.: 86356054.2fcbbb) instead of e-mail | region. Second: I add your every nodes and some nodes especially temperature, humidity, temperature/humidity are disconnected, and they sent the following msg: StatusCodeError: 503 - "\r\n
503 Service Temporarily Unavailable
Hello @sdalee,
The first issue shouldn't be a blocking one. Your password is there, but the label cannot be retrieved in edit mode because they are stored as credentials beside your flow (this prevents you from accidentally sharing your flow with your credentials), so an ID is shown up. Do you get an error after deploying your nodes?
The second issue seems to be a problem with the API itself. I have some questions in order to identify the problem:
- Can you provide me your eWeLink region?
- Did you get this error on other nodes?
- Is this a temporary error? (Is there any working scenario on the nodes you mentioned)
Thanks, Otto
Hello Otto,
First issue: I haven't added nodes to node-red and it has worked well since I wrote this post.
Second: After every deployment, other and other nodes were disconnected status. I have made 2 screenshots. The time difference was 10 sec between two deployments. If I took another screenshot, I would get the third result. I use EU region,


Hi, I've experienced a similat behavior in my flow, when I add a eWeLink node, the credentials also show the node id (like your "86356054.2fcbbb") instead of the e-mail account, and deploying at that moment will disconnect all the eWeLink nodes. What works for me is to edit the credentials, just open de box, validate, and deploy.
I havan't change and deploy node-red flows for two days. My actual screenshot (after I tried to inject with any inject node (timestamp/on/off node):

As you can see on the picture, if I injected a "connected" eWeLink node, the debug node gets the following error message: {"error":401,"msg":"Authentication error"} if I injected a "disconnected" eWeLink node, the debug node gets nothing.
I hope this helps you with troubleshooting.
Hello guys,
Are you authenticated on eWeLink mobile application? Unfortunately multiple sessions are not supported. This was the reason of implementing a global connection. If you are not authenticated on other eWeLink applications, please let me know. On the other hand, the 503 error seems to be a server-side problem (I can't reproduce this).
After reading this issue i believe it is the same as the one i raised a minute ago. There seems to be a limit of six devices. Create more accounts to add more devices.
Hello guys,
Are you authenticated on eWeLink mobile application? Unfortunately multiple sessions are not supported. This was the reason of implementing a global connection. If you are not authenticated on other eWeLink applications, please let me know. On the other hand, the 503 error seems to be a server-side problem (I can't reproduce this).
Yes, I use the app. What do I need to do with the app, that it doesn't disturb the operation of your nodes?
Create second account in ewelink, share all devices with that account then use that for NodeRed. Also use less ewelink nodes to avoid issues
My ewelink nodes are all indicating connected status on node-red but every changes on each of the nodes are not taking effect on the SONOFF devices, what could be the way to fix this? I have created a separate account for ewlink on node-red. However it seem that it only works for just a single node.
The ewelink api now requires a premium ewelink subscription
On Wed, 28 Oct 2020, 22:06 ojeysky, [email protected] wrote:
My ewelink nodes are all indicating connected status on node-red but every changes on each of the nodes are not taking effect on the SONOFF devices, what could be the way to fix this?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ottoszika/node-red-contrib-ewelink/issues/74#issuecomment-718235954, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTBZ4YCZG2AS2TARVA5INDSNCIWBANCNFSM4J6GPR6Q .
it seems that you can query the api but not action. i.e. i can get/query temps, humidity, and device states, but can not set an action or get device activity.
I might have overstated the restriction. All I really heard was that to use ifttt.com with ewelink you will now need a premium ewelink subscription and it was hinted at affecting the ewelink api.
Might be finally time to look at alternatives to ewelink like installing esphome or tasmota to update those Sonoff devices
On Thu, 29 Oct 2020, 12:50 E1cid, [email protected] wrote:
it seems that you can query the api but not action. i.e. i can get/query temps, humidity, and device states, but can not set an action or get device activity.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ottoszika/node-red-contrib-ewelink/issues/74#issuecomment-718731309, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTBZ46JFQXIXAEVKTB5JGTSNFQJNANCNFSM4J6GPR6Q .
Or maybe to use the "DIY API MODE" (http://developers.sonoff.tech/sonoff-diy-mode-api-protocol.html ) allowing to leave regular sonoff firmware while having capability to drive it without cloud connection.
Pro:
- it's reversible, you can still go back to regular Ewelink mode
- Restful
- Mdns discoverable
Cons :
- Only available with some devices.
- It is not probably as bullet proof as tasmota
- mdns ca be a pain on some networks
- At time of writing no nodered module supports API mode....