• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

toto/homebridge-airrohr: HomeBridge module for the DIY luftdaten.info particulat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

toto/homebridge-airrohr

开源软件地址:

https://github.com/toto/homebridge-airrohr

开源编程语言:

JavaScript 100.0%

开源软件介绍:

homebridge-airrohr

Tavis CI build status

HomeBridge module for the DIY luftdaten.info air particulates sensor from OpenData Stuttgart.

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).

Features

  • 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 data.sensor.community
  • 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

homebridge-airrohr sensor in the wild

Setup

First follow the instructions for HomeBridge.

Install homebridge-airrohr using (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 json_data to

http://feinstaubsensor-<YOUR_SENSOR_ID>.local/data.json

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.

Don't set public_temperature_json_data or 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:

  • Set public_temperature_json_data to the URL where to find the temperature data: http://data.sensor.community/airrohr/v1/sensor/<YOUR_TEMPERATURE_SENSOR_ID>/

  • Set public_airquality_json_data to the URL where to find the air particulates (PM10, PM25) data: http://data.sensor.community/airrohr/v1/sensor/<YOUR_AIRQUALITY_SENSOR_ID>/

Don't set json_data in this scenario.

Note: If you set json_data the public_… settings will be ignored.

Demo

homebridge-airrohr in apple home app




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap