German Weather Service

Rating: 
5
Your rating: None Average: 5 (3 votes)

A Sailfish app to view the DWD, the German Weather Service.

This is using the very pleasant to use apis at:
https://brightsky.dev/demo/

In the main this is a sketch. I wanted a simple weather app for day to day use in Germany. It's simple but has enough details for me (mm rain in the hour, thanks). I'm thinking of making it into a how-to for simple QML/JS apps with use of local sql storage, font handling, JSON api abuse, QML layout and a plethora a small lessons. That seems to be missing. Now for the wiki page ... and documentation.

To do: More discrete variations in visual symbols. Add more locations. Stuff you think of. Please post concrete requests on github.

 

 

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-dwd-0.2-1.aarch64.rpm229.59 KB29/05/2021 - 01:36
File harbour-dwd-0.2-1.armv7hl.rpm229.15 KB29/05/2021 - 01:36
File harbour-dwd-0.2-1.i486.rpm229.43 KB29/05/2021 - 01:36
File harbour-dwd-0.3-2.aarch64.rpm229.45 KB08/06/2021 - 23:30
File harbour-dwd-0.3-2.i486.rpm229.49 KB08/06/2021 - 23:30
File harbour-dwd-0.3-2.armv7hl.rpm229.4 KB08/06/2021 - 23:30
File harbour-dwd-0.5-1.i486.rpm506.68 KB17/06/2021 - 14:22
File harbour-dwd-0.5-1.aarch64.rpm506.65 KB17/06/2021 - 14:22
File harbour-dwd-0.5-1.armv7hl.rpm506.57 KB17/06/2021 - 14:22
File harbour-dwd-0.6-1.armv7hl.rpm510.57 KB23/06/2021 - 19:26
File harbour-dwd-0.6-1.aarch64.rpm510.67 KB23/06/2021 - 19:26
File harbour-dwd-0.6-1.i486.rpm510.68 KB23/06/2021 - 19:26
Changelog: 

v.0.6-1
* added positional (gps, too) location addition
* corrected a UTC offset error
* added some icon to views.
* still missing some translation strings. sorry!

v.0.5-1
* created a local json fetch
* added missing stations (about 10,000 now).
* small qml cleanups

v. 0.4-1

* corrected a db function error and improved the queries
* error handling is still minimal ... coming.

v. 0.3-1

* added cover view of current weather
* corrections, german translation.

Comments

poetaster's picture

For the impatient, you can hack your location in by adding a line like:

 {   "name": "NAME",  "lat": 47.85,   "lon": 8.85, "Bundesland": "STATE" },

at the beginning of /usr/share/harbour-dwd/qml/js/stations.json

I'm working on adding both GPS and custom location addition.
 

BlaeX's picture

Chic. Danke für deine Arbeit!

JacekJagosz's picture

If you are using APIs from https://brightsky.dev/demo/ could you add an option to add a custom location, by inputing your own coordinates?

I checked and brightsky also works with Poland, so I could use your app even though I'm not in Germany. I don't mind if you keep your app solely focused on one country, but could you please add custom option, so more people can use it?

poetaster's picture

The v.0.6-1 release includes location (Position includes gps) locations.

poetaster's picture

I've now added ALL of the DWD weather stations, but will add custom location management. the qml has been put in place, but I have a number of other tickets to works on ... and a couple of other apps... in the works.