You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,9 @@ A module for the [MagicMirror](https://github.com/MichMich/MagicMirror) to displ
13
13
14
14
## Preview
15
15
16
-
<imgwidth="318"alt="Bildschirmfoto 2022-01-20 um 06 57 01"src="https://user-images.githubusercontent.com/9592452/150281894-a4c87c58-5080-42fb-99c5-d63b10c3c320.png">
16
+

17
17
18
-
19
-

18
+

20
19
21
20
## Usage
22
21
@@ -36,13 +35,13 @@ Add the module configuration to your `config.js` file.
36
35
37
36
```js
38
37
{
39
-
module:'MMM-AirQuality',
40
-
position:'top_center', // you may choose any location
41
-
header:'AQI', //choose a header if you like
42
-
config: {
43
-
location:'beijing'// the location to check the index for
38
+
module:'MMM-AirQuality',
39
+
position:'top_center', // you may choose any location
40
+
header:'AQI', //choose a header if you like
41
+
config: {
42
+
location:'beijing'// the location to check the index for
44
43
token:''// add your token here
45
-
}
44
+
}
46
45
},
47
46
```
48
47
@@ -52,7 +51,7 @@ To use the WAQI API you need to [request a token](https://aqicn.org/data-platfor
52
51
53
52
### Location
54
53
55
-
Determine the station you want to display. Select a station on the [map](https://aqicn.org/here/) and copy the location part from the URL. For example http://aqicn.org/city/netherland/utrecht/griftpark/ would be `netherland/utrecht/griftpark/`.
54
+
Determine the station you want to display. Select a station on the [map](https://aqicn.org/here/) and copy the location part from the URL. For example `http://aqicn.org/city/netherland/utrecht/griftpark/` would be `netherland/utrecht/griftpark/`.
56
55
57
56
You may also get the data for specific longitude and latitude. Set the `location` to `geo:<lat>;<long>/` and replace `<lat>` and `<long>` with your values.
58
57
@@ -71,7 +70,7 @@ You may want to set the following options in the config section as well:
71
70
72
71
- Due to the AQI rendering script it is not possible to have multiple instances of this module running.
73
72
- There is a bug in the skript that prevent some locations from being displayed (e.g. 'Mannheim').
74
-
- Not all languages may be supported (see: http://aqicn.org/faq/2015-07-28/air-quality-widget-new-improved-feed/).
73
+
- Not all languages may be supported (see: <http://aqicn.org/faq/2015-07-28/air-quality-widget-new-improved-feed/>).
75
74
76
75
## Contributors ✨
77
76
@@ -93,4 +92,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
93
92
94
93
<!-- ALL-CONTRIBUTORS-LIST:END -->
95
94
96
-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
95
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
0 commit comments