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

gchokov/homebridge-foobot: homebridge plugin for integrating foobot with homekit

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

开源软件名称:

gchokov/homebridge-foobot

开源软件地址:

https://github.com/gchokov/homebridge-foobot

开源编程语言:

JavaScript 100.0%

开源软件介绍:

contributions welcome HitCount GitHub last commit npm

homebridge-foobot

This is a homebridge plugin which lets you integrate your Foobot air quality monitor into HomeKit.

First things first - Thanks to:

This plugin is heavily based on homebridge-blueair plugin. Without it, this plugin won't be here now. Thank you @mylesgray for the inspiration and work on the blueair and foobot api integration!

Also, thanks to @iRonin for contributing (https://github.com/iRonin)!

What is Foobot?

Foobot is an awesome little indoor quality monitor gadget by Airboxlab, that I use for years now. Not really sure if official HomeKit support will ever be announced, so time to integrate it with the rest of the HomeKit accessories I already have.

General info

This plugin exposes all Foobot API characteristics for Air Quality and assigns them to native HomeKit Characteristics. The plugin will also mimic the Elgato Eve Room device such that, if using Eve.app on an iOS device, you will have historical logging and graphs of these metrics.

Currently all history state is stored on the local filesystem of the device running homebridge.

Screenshots

Home

Overview Air quality sensor
Overview Air Quality
Eve App
Eve app

Configuration

Installation

npm install homebridge-foobot

config.json

The configuration is pretty straightforward, with the exception of the API key. You have to obtain it from Foobot API for Developers page. Username and Passwords are what you use for to login in Foobot's native mobile app.

foobotDeviceIndex - allows you to work with specific devices, in case you have several foobots.

Once you get it working, you can turn off individual sensors, or disable the historical stats via the getHistoricalStats flag.

logTempToFile and logTempToFilePath allows you to specify file, in which the temperature will be logged. This way, external services can read from this file and use it as input - for example your AC, which you might control with an IR blaster such as Broadlink RM Mini3.

updateInterval - By default is set to 600000ms (10 minutes)

 "accessories": [
  .
  .
  .
  {
      "accessory": "Foobot",
      "name": "Foobot",
      "foobotDeviceIndex": 0,
      "uuid": "Optional - device uuid string in case you have multiple devices. Otherwise, leave blank",
      "username": "[email protected]",
      "password": "password",
      "apikey": "a_long_string_of_api_key_here",
      "nameAirQuality": "Air Quality",
      "nameTemperature": "Temperature",
      "nameHumidity": "Humidity",
      "nameCO2": "Carbon Dioxide",
      "showTemperature": true,
      "showHumidity": true,
      "showAirQuality": true,
      "showCO2": true,
      "getHistoricalStats": true,
      "logTempToFile": true,
      "logTempToFilePath": "/Users/georgichokov/foo/temp.txt",
      "updateInterval": 600000
  },
  .
  .
  .
]



鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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