Skip to content

Module for MagicMirror2. Display the air quality index from looko2 air quality Sensor.

License

Notifications You must be signed in to change notification settings

marska/MMM-Looko2-aq

Repository files navigation

MMM-Looko2-aq

This is a module for the MagicMirror².

Display the air quality index from looko2 sensor.

preview

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
	modules: [
        {
		module: "MMM-Looko2-aq",
		position: "top_right",
		header: "Air Quality Index",
		config: {
                	deviceId: "", // from http://looko2.com/heatmap.php
                	locationName: "Street, City",    
			showIndex: true,
                	showDetails: true,
                	lang: "en" // pl
		}
        }
    ]
}

Configuration options

Option Description
deviceId Required The device id for that you you want to show the air quality. Select device on looko2.com heatmap and get it from search param.
locationName Optional Show location label.

Example: 'Wrocław'
Default value: none
showIndex Optional Toggle index printing.

Default value: true
showProvider Optional Display lookO2 provider info.

Default value: true
showDetails Optional Toggle PM10, PM2.5, PM1 values printing.

Default value: true
lang Optional Change the language (en or pl).

Default value: en

About

Module for MagicMirror2. Display the air quality index from looko2 air quality Sensor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published