Full integration of Netatmo Weather features

Preamble
I am creating this thread / request to document the development, taken from the thread Service Netatmo - #289 par Terdious which is starting to get quite full.

Feature description
Support for the Netatmo weather station and associated modules:

  • Integration of the Netatmo smart weather station and its indoor module - NAMain
  • Support for the Netatmo outdoor module - NAModule1
  • Support for the Netatmo anemometer module - NAModule2
  • Support for the Netatmo rain gauge module - NAModule3
  • Support for the Netatmo indoor air quality module - NAModule4

Progress

I’m looking forward to it :wink:.
A suggestion about the images: perhaps use a visual that shows only the rain gauge, rather than the rain gauge next to the main module and the outdoor module. And the same for the other two…

Indeed.

Actually Netatmo provides a distributed brand kit. And unfortunately it doesn’t include standalone modules. I limited myself to using their images (very good quality in an appropriate format).

But that makes sense. It’s true that on several occasions I mixed them up. I’ll look for them. Or modify the existing ones and put them back into the correct format.

On my side, the tests are conclusive — I just fixed the last bug found by starting from a fresh installation.

I also ran the test with an existing database for the migration including the addition of the new variables.

And since @PhilippeMA gave me access to his weather station for the duration of the tests, I was able to run tests for his specific case (which greatly improved the overall code).

@pierre-gilles, I think you can start the review for the weather station:

Thanks in advance.

Don’t forget copyright when you edit. You can sometimes reuse but not modify…
Sometimes it’s easier to retake a photo in front of a white wall :upside_down_face:

Yes, I admit that Netatmo is not bad from that point of view, everything is clearly defined!!
Well, in the end everything’s sorted out, I hadn’t seen it properly ^^ they do have the solo images ^^

It’s done for the anemometer and the rain gauge!! However, not for the others, there’s little point. The outdoor module and the indoor module have exactly the same image. Since the outdoor module is included by default with the weather station, I kept the double image; the weather station is larger (so I kept the large one solo) and I left the small module for the additional indoor module. So all the images are indeed different!!

That’s great :+1:

@Terdious It’s good for me for the PR! :slight_smile: I haven’t tested it though, I trust you on the real-world tests.

I’ve merged, it will go out in the next version of Gladys!

For the site update, I saw you made a PR, is it still WIP or is it ready? Update Netatmo doc - add Weather Station by Terdious · Pull Request #254 · GladysAssistant/v4-website · GitHub

I plan to do the update next Monday so it will need to be ready to be released by then :slight_smile:

2 Likes

Hi @pierre-gilles !!

Thank you very much for the review.

Yes, the doc is still in progress but will be ready on Thursday during the day at the latest if that works for you.
Since there are a few additions on the Configuration page and on the Discovery page, the images take a long time to create ^^
And I’m available all day Thursday / Friday

1 Like

@pierre-gilles, I’ve just finished the documentation, updated Airtable and injected it to add the related compatible products. You can review it here:

Thanks in advance.

2 Likes

That works for me @Terdious :slight_smile: Thanks again for the PR, it’ll go out on Monday with the release!!

4 Likes

This feature is available in Gladys Assistant 4.38 :slight_smile:

I’m closing this thread to free up votes, feel free to create other threads in case of bugs/feedback :slight_smile:

Thanks to @Terdious for the development :folded_hands:

1 Like