[V4] Dev service Withings

J’ai pas spécialement d’avis, j’avoue que je ne sais pas si le graphique est voué a cette utilisation, mais comme c’est permis, je remontais surtout le fait que ça s’affichait comme ça et pour le coup ce n’est pas très parlant

Merci du retour oui! Il faut garder ça en tête, après effectivement en l’état c’est compliqué sur cette intégration d’afficher tous les graphs sur un même graph :slight_smile:

Saut @euguuu,

euh… je fais comment pour tester ? :slight_smile: désolé…

En lisant sur le forum, j’ai l’impression que je dois passer du tag lastest au tag dev, mais que certains jouent sur 2 instances.

est-ce que je peux me passer des deux instances et n’avoir que la version dev ou elle n’est pas assez stable ?

merci

Bonjour,

moi la seule façon que je connais c’est de démarrer gladys en mode dev sur son poste en se mettant sur le code de la PR, je ne sais pas comment on peut lancer ce code directement sur la PR

Là on est pas en mode stable, je te déconseille de lancer cette PR si tu ne sais pas ce que tu fais :slight_smile:

En général ce que les autres développeurs font pour avoir plus de retours, c’est qu’ils build un image sur leur compte Docker Hub, ça permet de distribuer une image qui peut-être lancée aussi facilement que Gladys, car très peu de gens ont un setup d’environnement de dev.

Si ça t’intéresse je peux t’expliquer comment faire (c’est que du clic c’est très simple)

Bonjour,

je viens de faire de nouvelle modif suite a quelques remarques techniques sur la PR je suis donc preneur de nouveau test

j’ai également mis a dispo une image docker sur docker hub
pour l’utiliser il y a la doc gladys dispo ici:

le repo ou est l’image est euguuu/gladys (le tag utilisé est dev)

Merci d’avance

2 Likes

I just tested it! No apparent regressions for me, it’s perfect!!
Also, with the Docker image it’s much easier to test!

Great job

Just to know, what do you still need to get this service into production?

@Legw4nn thanks for your feedback

@spenceur apparently not much left, just the end of the PR’s technical review, I’m waiting for any new feedback following my latest changes but I don’t have anything pending at the moment

2 Likes

Cool, I’ll try to run some tests but it won’t be before the weekend of the 21st, so maybe it’ll be in production before then :smiley:

Hello,

I have just made some new (final) changes following a few technical comments on the PR, so I would welcome further testing

I have published the new Docker image,

Thanks in advance

1 Like

I’ll take care of it tomorrow!

Hello!
Nothing to report except for one thing: how do you select the user?

Otherwise the integration is OK for me apart from this selection

1 Like

Hi,

thanks for the feedback.
For now we can’t select a user; the devices behave like a standard device assigned to a room.

In v2 I’ll try to add this notion of a user.

2 Likes

Hello,

I’ve updated the Docker image with the latest requested code changes. If anyone can test it, I’d appreciate it :wink:

Good evening,

I’ve only just discovered this thread about Withings development !!!,
I own a scale and a Scanwatch, I’m willing to test if necessary.

1 Like

I just tested your latest image (euguuu/gladys:dev) but the connection URL (http://gladys.local/dashboard/integration/health/withings/settings) is not recognized — I did replace gladys.local with the local IP of my Gladys instance.
On the developer.withings.com page, I clicked « Create Application » then « Public API integration » and then I accessed the Information page 2 where you enter the URL.
Is that the correct procedure?
Note that the Health Mate app was already installed on my phone
Good evening

With the Docker image, I think it’s better to use localhost instead of Gladys.local

If you still have an error message, could you take a screenshot for me please?

Good evening @euguuu,

I have the same error with the IP or localhost

But actually, I didn’t continue because the URL test caused an error.
By continuing the configuration despite this error, I was able to obtain the IDs on the next page and integrate everything into Gladys without any problem.
Here is my dashboard after integrating the scale and the watch:

Just one detail to note on the Gladys config page: you ask to go to the « Configuration » page whereas in the left menu it’s called « Discovery »

Nice integration! Well done!

Have a good evening.

1 Like