Commit fd687bf
authored
feat(weather): add Buienradar provider (#4164)
This adds the weather provider Buienradar for the Netherlands and
Belgium without requiring an API key.
In MagicMirrorOrg/MagicMirror-Documentation#380 @plebcity shared his
implementation for the old browser-side architecture. I used it as a
reference to build this server-side implementation.
### Example screenshot
<img width="969" height="578" alt="Ekrankopio de 2026-05-20 20-38-36"
src="https://github.com/user-attachments/assets/56623ad8-7439-4047-abad-452ba2ebdcb2"
/>
### Example config
```js
{
module: "weather",
position: "top_left",
header: "Buienradar - Current",
config: {
weatherProvider: "buienradar",
type: "current",
locationId: 2747891
}
},
{
module: "weather",
position: "top_right",
header: "Buienradar - Forecast",
config: {
weatherProvider: "buienradar",
type: "forecast",
locationId: 2747891
}
},
{
module: "weather",
position: "bottom_left",
header: "Buienradar - Hourly",
config: {
weatherProvider: "buienradar",
type: "hourly",
locationId: 2747891
}
},
```
----
When this is accepted and merged I'll update the weather docs.1 parent 9a3538d commit fd687bf
3 files changed
Lines changed: 599 additions & 7 deletions
File tree
- defaultmodules/weather/providers
- tests/unit/modules/default/weather/providers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | | - | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
204 | | - | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
223 | | - | |
224 | 224 | | |
| 225 | + | |
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
| |||
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
263 | | - | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
304 | | - | |
305 | 305 | | |
| 306 | + | |
306 | 307 | | |
307 | 308 | | |
308 | 309 | | |
| |||
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
| 327 | + | |
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
331 | | - | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| |||
0 commit comments