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/
From version 0.9.3 we have a usable rain radar. It's a webview to-date using leaflet.js and the data from librewxr.net. The '+' button centers the map view to your location. The rain radar used has it's front end hosted at https://poetaster.de and relies on https://api.librewxr.net in the backend.
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. https://github.com/poetaster/harbour-dwd/
| Attachment | Size | Date |
|---|---|---|
| 386.58 KB | 09/05/2026 - 16:24 | |
| 386.58 KB | 11/05/2026 - 14:02 | |
| 386.63 KB | 14/05/2026 - 12:14 | |
| 389.67 KB | 03/06/2026 - 12:17 | |
| 389.72 KB | 04/06/2026 - 17:01 | |
| 390.25 KB | 26/07/2026 - 11:19 | |
| 391.51 KB | 26/07/2026 - 19:01 |
1.1.1 - translation corrections
- an errant '<' removed and @rabauke
- improvements to structures to facilitate translations @rabauke
1.1.0 - move librewxr loader to poetaster.de
- solves the tile access issues (no-referrer when loaded from filesystem) at OSM
- correct Kerpen lat/lon
1.0.8 - cover fixes, date formatting, add places
1.0.7 - move to librewxr for rain maps
1.0.6
- add date range back for weekly view
- add hide/show for re-order of locations
1.0.5
- correct the length of dates for locales other than english
1.0.4
- split place/date headers to deal with long place names
- add sql functions and interface to order fave places
1.0.3
- a referer hack to get openstreetmaps to behave
- a localiztion fix
1.0.2
- rebuild the rainviwer page.
- correct precision of floats.
1.0.1
- return to rainviewer since cloudflare assholes.
1.0.0
- translation updates, @fingus
- location list fix
- locale dependent numerical display
- minor layout fixes, listviews
0.9.9
- quick fix replacement rain radar view untill rainviewer can be fixed.
0.9.8
- add current weather to start
- refactor location list to be a label list with remorse delete
- refactor overview for full 10 days
- add radar view pulley menu to overview
0.9.7
- correct min/max temp bug introduced last update
- adjust size of buttons on rainviewer page
0.9.6
- Fix focus on current hour broken on last update
- Remove focus on anything but current day
0.9.5
- object caching between calls to the current 5 day forecast and individual days
- add precipitation_probability, new to the apis
- layout changes to accommodate
0.9.4
- Add My Backup section.
- Modified Radarview to use input from selected location and not GPS.
- Corrected the desktop to make sure it shows German in a german locale.
0.9.3
- replaced remote with local, api based rainview radar
- modified the date time displays removing punctuation. (argh)
0.9.2
- Minor translation Detail spacing version bump.
- First set index for list (based on hour) and set position list index at top of daily detaill view.
- Added Rain Radar (still rough/simple)
- View Date format changes to shorten month/weekday names.
- Overview and Daily views Set focus on current hour in daily report.
0.8.2
- GPS page layout changes
0.8.1
- minor metadata
- location fix
0.8.0
- Added the sailjail stuff. GPS locations block.
- start migration of data, again
- rebuild the GPS page considerably
0.7.2
- Removed the sailjail stuff. GPS locations block.
- stopped migration of data
0.7.1
- added sailjail specs for permission control
- added code to migrate to new org/app paths, migrateLocalStorage()
- fixed the location list page size to use contentItem.children for correct height.
- added chum meta data for the chum gui.
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!
0.5-1
* created a local json fetch
* added missing stations (about 8,000 now).
* small qml cleanups
0.4-1
* corrected a db function error and improved the queries
* error handling is still minimal ... coming.
0.3-1
* added cover view of current weather
* corrections, german translation.
Comments
explit
Thu, 2024/05/23 - 14:31
Permalink
Great app. It would be very cool, if the app would include Eventsview Plugin like Jolla Weather and/or Meecast
poetaster
Fri, 2021/06/18 - 13:48
Permalink
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.
fingus
Tue, 2023/12/05 - 15:12
Permalink
Does that mean it shows where you are located at the moment and displays the Weather (for travellers)?
poetaster
Wed, 2023/12/06 - 10:47
Permalink
It will try to find a station out of the list from the DWD that's closest to your lat/lon using GPS. The number of locations is limited (about 8000) but it covers enough area that some people in countries neighbouring Germany have reported using it. It's time for a major overhaul though :)
BlaeX
Fri, 2021/06/18 - 10:01
Permalink
Chic. Danke für deine Arbeit!
JacekJagosz
Fri, 2021/06/18 - 01:19
Permalink
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
Wed, 2021/06/23 - 19:25
Permalink
The v.0.6-1 release includes location (Position includes gps) locations.
poetaster
Fri, 2021/06/18 - 12:15
Permalink
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.