Skip to content

Homebridge plugin for showing air condition data from Smogomierz sensor

License

Notifications You must be signed in to change notification settings

bfaliszek/homebridge-smogomierz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homebridge-Smogomierz

NPM Version

Homebridge plugin for showing air condition data from Smogomierz sensor.

Project is based on homebridge-airly.

Instalation

  1. Install Homebridge using: (sudo) npm install -g --unsafe-perm homebridge.
  2. Install this plugin using: (sudo) npm install -g homebridge-smogomierz.
  3. Build your own Smogmomierz. Instrucions: https://github.com/hackerspace-silesia/Smogomierz#readme.
  4. Find your Smogmomierz IP Adress. Example: http://192.168.1.7/
  5. 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:

  • accessory must be "Smogomierz" (required).
  • name Is the name of accessory, you can change it! (required).
  • url adress of your Smogomierz sensor (required). Remember about 'http://' at the beginning and '/' on the end!
  • cacheExpiryTime time (in minutes) after which cache will be updated
  • servicesNames display names of services (will be visible on the tiles in Home app)

About

Homebridge plugin for showing air condition data from Smogomierz sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published