this post was submitted on 26 Jun 2022
43 points (100.0% liked)

Open Source

31190 readers
251 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

When I was finished with Serenum API, I started over with the website Serenum to show the data from the API with style.

I built the website with no JavaScript first, building for an example the bar charts with HTML and CSS by hand. After everything was done, I added 2 features with JavaScript: getting your current location 1 time with GPS and adding a map from Leaflet for choosing a place with it.

Thanks to this strategy, Serenum works perfectly with and without JavaScript.

The website are far from done, though. Both astronomical calculations and light theme are missing, more features with JavaScript will be added, and more.

top 17 comments
sorted by: hot top controversial new old
[โ€“] Morys@lemmy.ml 5 points 2 years ago

Very nice ๐Ÿ‘๐Ÿ‘๐Ÿ‘

[โ€“] MediaActivist@lemmy.ml 5 points 2 years ago
[โ€“] BobIsMyManager@noc.social 5 points 2 years ago

@airikr Seems very cool, I will probably use it if I ever make a program thay needs weather data!

[โ€“] sudoreboot@lemmy.ml 4 points 2 years ago

This is really cool and useful! I'll be using this! Thank you

[โ€“] umrath@feddit.de 3 points 2 years ago (1 children)

Cool!

All I need now, is a Home Assistant integration.

[โ€“] airikr@lemmy.ml 2 points 2 years ago* (last edited 2 years ago)

Good idea! I have added it to the kanboard and will see what I can do ๐Ÿ™‚ Thanks!

[โ€“] Echedenyan@lemmy.ml 2 points 2 years ago (2 children)

Do you use https://www.met.no/en as source which is Libre at all or you use some propietary source?

[โ€“] Echedenyan@lemmy.ml 1 points 2 years ago

This is used by GNOME Weather application as well as some weather Android apps such as https://f-droid.org/packages/uk.org.boddie.android.weatherforecast/

[โ€“] Echedenyan@lemmy.ml 1 points 2 years ago (1 children)

Ah, self-reply: still dependent on the propietary "Open"WeatherMap service.

[โ€“] airikr@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (1 children)

Sorry for a late reply.

Yes, Serenum API uses OpenWeatherMap :) I have sent an email to OpenWeatherMap regarding their privacy policy, if they log anything when calling their API.

And regarding the API at met.no. I didn't knew YR was FOSS :O Really good! Will take a closer look into it!

However, it is unclear if YR log anything from when using their API (source: https://hjelp.yr.no/hc/en-us/articles/360003337614-Privacy-policy). This applies to OWM as well. I'll wait for their reply over email before I decide to switch or not.

Many thanks for telling me this! :D

Edit: After reviewing api.met.no's locationforecast, I will email them to ask what they log when calling their API. If they say that they do not log anything, I might choose YR over OWM, no matter what OWM says.

[โ€“] Echedenyan@lemmy.ml 1 points 2 years ago (2 children)

Maybe you saw something I didn't but the few mentions I saw for yr.no were about using met.no data.

The API in question would be available in https://api.met.no/ got from https://www.met.no/en/free-meteorological-data/Download-services section.

[โ€“] Echedenyan@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

They even mention yr.no to be some derivative in that page:

In collaboration with NRK, ready-to-use solutions have been developed in order to retrieve data and products: Yr (solution created in collaboration with NRK. This data must be credited in accordance with the instructions on yr.no)

Additionally, in their blog they mention that they provide(d) their own service different from met.no at https://hjelp.yr.no/hc/en-us/articles/360001940793-Free-weather-data-service-from-Yr

[โ€“] airikr@lemmy.ml 1 points 2 years ago

Sounds like met.no is a different services than YR. I did send them an rmail yesterday. We'll see what they say, but I do really like their API. So I might make the switch even if they log something when calling their API.

[โ€“] IngrownMink4@lemmy.ml 2 points 2 years ago
[โ€“] Tiuku@sopuli.xyz 1 points 2 years ago (1 children)

Pardon my ignorance, but how does this differ from using some weather API directly?

[โ€“] airikr@lemmy.ml 2 points 2 years ago

I understand you, but I built Serenum API for a reason ๐Ÿ™‚ You can find the reason here: https://lemmy.ml/post/178528/comment/124647

Please note that the pollen data have been removed from the API due to complications with Ambee.

[โ€“] airikr@lemmy.ml 1 points 2 years ago

I will prepare to make the move to met.no while waiting for their reply to the same question. Hopefully, they will not log as much or better yet, nothing at all.

Edit OpenWeatherMap have now replied to my email to them where I asked what they logged when calling their API. And they do log a lot! IP addresses, location, operating system, and more.

load more comments
view more: next โ€บ