ottoszika / node-red-contrib-ewelink

NodeRED nodes for eWeLink smart devices
https://ottoszika.github.io/node-red-contrib-ewelink
MIT License
48 stars 28 forks source link

eWeLink Event Listener stops working #147

Open scargill opened 2 years ago

scargill commented 2 years ago

I've a sonoff DW-Wi-Fi door sensor - which reliably triggers on change in the eWeLink app - but in Node-Red - after a while the event listener stops responding to open and close (on/off) evenst. If I remove the node - replace it with an identical one, put in in the same ID and credentials again - it comes back every time, but then after a while it just stops doing anything again.

Thoughts?

Pete

msujesh commented 2 years ago

I am experiencing a similar problem. Can't keep refreshing the credentials every time. Its really frustrating.

msujesh commented 2 years ago

This continues to happen for me every other day. Anyone, any ideas?

msujesh commented 2 years ago

I read somewhere that the present authentication is login based and does not support multiple parallel logins. So, if you are logged into eWelink from multiple apps(eWeLink app, Alexa etc.), the [Node-red-contrib-ewelink] node will stop working as eWeLink will kick you off after sometime(some kind of time out with multiple logins)

After 2 days of testing, below steps worked for me:

  1. Log-off all apps that use eWeLink authentication.
  2. Reauthenticate the node in node-red.
  3. See if it works after a day or two..if yes..then its party time..

I sincerely feel that the node author should try some token based authentication to enable multiple parallel sessions

msujesh commented 2 years ago

I am having the same problem again... :( .....