Homebridge plugin for showing air condition data from Smogomierz sensor.
Project is based on homebridge-airly.
- 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.
Example config.json
"accessories": [
{
"accessory": "Smogomierz",
"url": "SMOGOMIERZ_IP_ADRESS",
"name": "Smogomierz Air Quality"
}
]
Fields:
accessory
must be "Smogomierz" (required).url
adress of your Smogomierz sensor (required). Remember about 'http://' at the beginning and '/' on the end!name
Is the name of accessory, you can change it! (required).