# Service ewelink en erreur

**URL:** <https://community.gladysassistant.com/t/service-ewelink-en-erreur/8323>\
**Category:** Configuration\
**Created:** [Août 30, 2023, 6:00 UTC](https://community.gladysassistant.com/t/service-ewelink-en-erreur/8323 "2023-08-30T06:00:05Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 4, 2023, 9:01 UTC](https://community.gladysassistant.com/t/service-ewelink-en-erreur/8323/17 "2023-09-04T09:01:29Z")

</div>

Merci @tiboys je viens de voir, par contre effectivement @ProtZ a raison, la librairie n’est plus fonctionnelle, la conclusion sur le topic que tu cites est :

> So in summary - its time to give up trying to make this project work (as it uses the old v1 endpoints and an outdated method of connection with a password stored in plain text in your code) and move to the meow common and more secure OAuth2.0 authorisation flow with the resultant token to use as a bearer token in future requests.

Même la lib «&nbsp;ewelin-api-next&nbsp;» n’est pas fonctionnelle apparement :

> There is «&nbsp;start&nbsp;» of such a project at «&nbsp;ewelink-api-next&nbsp;» but it’s completely missing the OAuth stuff according to the TODO list and even I was unable to make it actually control my devices.

Malheureusement il n’y a donc pas de bug côté Gladys à corriger, ce que je vois c’est :

- Dans un premier temps, déprécier l’intégration actuelle avec un message pour prévenir les utilisateurs pour éviter les frustrations comme ici.
- Voir si une intégration est faisable avec la nouvelle API, il n’y a pas forcément besoin d’attendre une nouvelle lib Node, ça peut-être une intégration faites nous même avec l’API REST Ewelink. Je ne sais pas si tu veux te lancer là dedans @ProtZ ? 🙂

---

_[View the full topic](https://community.gladysassistant.com/t/service-ewelink-en-erreur/8323)._
