Package Exports
- homebridge-smogomierz
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-smogomierz) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Homebridge-Smogomierz
Homebridge plugin for showing air condition data from Smogomierz sensor.
Project is based on homebridge-airly.
Instalation
- Install Homebridge using:
(sudo) npm install -g --unsafe-perm homebridge. - Install this plugin using:
(sudo) npm install -g homebridge-smogomierz. - Build your own Smogmomierz. Instrucions: https://github.com/hackerspace-silesia/Smogomierz#readme.
- Find your Smogmomierz IP Adress. Example: http://192.168.1.7/
- Update your configuration file like the example below.
This plugin is returning data such as: PM2.5, PM10, Temperature, Humidity.
Configuration
Example config.json
"accessories": [
{
"accessory": "Smogomierz",
"name": "Smogomierz",
"url": "SMOGOMIERZ_IP_ADRESS",
"cacheExpiryTime": 10,
"servicesNames": {
"airQuality": "Air Quality",
"temperature": "Temperature",
"humidity": "Humidity"
}
}
]Config file
Fields:
accessorymust be "Smogomierz" (required).nameIs the name of accessory, you can change it! (required).urladress of your Smogomierz sensor (required). Remember about 'http://' at the beginning and '/' on the end!cacheExpiryTimetime (in minutes) after which cache will be updatedservicesNamesdisplay names of services (will be visible on the tiles in Home app)