It can be used to see the status of your own sensor in HomeKit. You can also use it to see another sensor if its data is published to data.sensor.community (see here for more info).
- See air quality (incl. particulates values for PM10 and PM2.5), temperature and humidity in HomeKit and the Home app
- Get the data from a sensor on your local network
- Get the data from public sensor on
- See history for temperature, etc. using the Elgato Eve app
- Supported sensors / combinations :
- SHT3X (temperature & air quality)
- DHT22 + BMP280 (temperature & air quality)
- SDS011 (temperature & air quality)
- and adding more is simple as long as you get the data as JSON via HTTP
First follow the instructions for HomeBridge.
(sudo) npm install -g homebridge-airrohr.
Configure your AirRohr sensor in the
homebridge settings file. See config.sample.json. All settings except
update_interval_seconds (defaults to 120 seconds) and
history (defaults to persisting to memory) are required.
See the documentation of the fakegato-history module for the list of supported options.
To run this project you have two options
Option A: The sensor & homebridge in your (home) network
To do this set
using the same local network as your sensor.
Note: If you use a HomeKit hub (like a Apple TV or a iPad) you can still access your data from outside your home. See Apple's documentation for details.
public_airquality_json_data in this scenario.
Option B: Use the luftdaten.info API
This allows you to add any sensor not only your own. To get the same functionality as above you need to set two IDs/URLs:
public_temperature_json_datato the URL where to find the temperature data:
public_airquality_json_datato the URL where to find the air particulates (PM10, PM25) data:
json_data in this scenario.
Note: If you set
public_… settings will be ignored.