Service Netatmo

Hi @Psoy,

I just ran a test for the save, I have no issues, I just replaced the ‹ c › with ‹ v ›, it saves fine (by clicking on save) :

Did you happen to test this on a smartphone? If so, it would be related to the thread Petit défaut pour la reconnexion dans l'intégration Netatmo which I unfortunately haven’t had time to address. I’m currently doing office renovations and no longer have access to my development PC… Could you try again on a desktop PC, please.
In that case, if you didn’t save, problem 1) is « normal »… there is no automatic saving.

Hello @Terdious
Thanks for your reply. I’m on a PC using Edge. My problem is that I reset my password and my login and I couldn’t enter them anymore. I wanted to take a screenshot and since it’s more convenient on Firefox

2 Likes

Okay, I did check a bit more nonetheless — the case occurs on all platforms.
The problem is only with Gladys Plus:

Can you confirm @Psoy that you were indeed on Gladys Plus for the first attempt and local for the second attempt?

And looking at the code:

{props.notOnGladysGateway \u0026\u0026 (
                  \u003cdiv class={style.buttonGroup}\u003e
                    \u003cLocalizer\u003e
                      \u003cbutton type=\"submit\" class={`btn btn-success`} onClick={props.saveConfiguration}\u003e
                        \u003cText id=\"integration.netatmo.setup.saveLabel\" /\u003e
                      \u003c/button\u003e
                    \u003c/Localizer\u003e
                    {props.notOnGladysGateway \u0026\u0026 props.connected \u0026\u0026 (
                      \u003cbutton
                        onClick={this.disconnectNetatmo.bind(this)}
                        class={`btn btn-danger`}
                        disabled={props.connectNetatmoStatus === STATUS.DISCONNECTING}
                      \u003e
                        \u003cText id=\"integration.netatmo.setup.disconnectLabel\" /\u003e
                      \u003c/button\u003e
                    )}
                  \u003c/div\u003e
                )}

I think I probably forgot this case, but it seems I had limited the ability to connect to local because I couldn’t get the redirection to work with Gladys Plus.

@pierre-gilles, what do you think? Should I leave it like this (in which case I’d put an alert message to warn that connection to Netatmo is only possible locally) or is it possible and necessary to do it from Gladys Plus?

Why doesn’t it work on Gladys Plus? Are you just sending a client ID and a secret? I don’t see anything in particular that wouldn’t work on Gladys Plus…

It’s just the page redirect link (redirectUrl) that I couldn’t get to work, I think!! But I don’t remember everything anymore ^^ I’ll run tests again as soon as possible ^^

Hello @Terdious
When I looked I was on Edge and local Gladys, no green icon at the bottom of the page, then I switched to Edge Gladys Plus and it

1 Like

Ah, but is there a redirection in OAuth mode to Netatmo? In that case, yes — you need to disable this feature on Gladys Plus and display a message :slight_smile: that’s already what we do on other

1 Like

Lol yes, totally ^^

That’s what I thought ^^ So just add a message to warn that you need to use the local URL?

Yes, that’s it!

1 Like

Hello, where does this promising service stand? When do you plan to resume development to add the security pack?

Have you had time, @Terdious @pierre-gilles?

Hi @spenceur,

It’s still in my queue, I don’t know if you noticed anything or if you follow the PRs, but if that’s the case it’s pretty funny because:


I reopened the PR 51 minutes ago :sweat_smile:

To be very honest, I’ve had other priorities lately but while going through the old PRs again (also the enlarged view of the graphs), I thought it wouldn’t be a bad idea to finish these before moving on with Tessie (the load management has been working since the latest Gladys version with Node-Red alongside).

So I have to redo almost everything on the Camera side because at your last request I picked it back up and unfortunately lost some things … in the depths of GitHub …

Anyway I’ll keep you posted!!^^

3 Likes

Ahahah, I used to follow PRs for a while but I must admit I don’t really do that anymore ^^’

Ah anyway I’m happy to read that (not the data loss xD) and I’m looking forward to it :star_struck:!
Thanks for your feedback :folded_hands: