Skip to content
Module for MagicMirror2. Display the air quality index from looko2 air quality Sensor.
JavaScript CSS
Branch: master
Clone or download
Mariusz Skarupiński
Mariusz Skarupiński Add icons
Latest commit e69512b Jul 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Oct 21, 2017
LICENSE Initial commit Oct 21, 2017
MMM-Looko2-aq.css Add icon colour Dec 2, 2017
MMM-Looko2-aq.js Add icons Jul 1, 2018
README.md Update README.md Oct 21, 2017
String.format.js Add module Oct 21, 2017

README.md

MMM-Looko2-aq

This is a module for the MagicMirror².

Display the air quality index from looko2 sensor.

img

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.
showIndex Optional Toggle index printing.
showDetails Optional Toggle PM10, PM2.5, PM1 values printing.
showDetails Optional Change the language. Default en.
You can’t perform that action at this time.