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

skrollme/homebridge-eveatmo: Homebridge plugin which adds a Netatmo weatherstati ...

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

开源软件名称:

skrollme/homebridge-eveatmo

开源软件地址:

https://github.com/skrollme/homebridge-eveatmo

开源编程语言:

JavaScript 100.0%

开源软件介绍:

npm npm GitHub last commit

homebridge-eveatmo

This is a homebridge plugin which lets you integrate your non-HomeKit Netatmo Weatherstation and Indoor Air Quality monitor into HomeKit.

Whilst the original homebridge-netatmo-plugin goes a mostly HomeKit-standard approach (predefined services, characteristics, ...), this plugin tries to mimic the Elgato Eve devices as close as possible.

Configuration

Because this plugin's base was taken from homebridge-netatmo (see above) you can adapt its config. Just use the plattform-code "eveatmo" and remove "ttl" and/or the other "refresh_" properties for the beginning.

You can also configure this plugin via ConfigUI-X's settings feature.

"platforms": [
        {
            "platform": "eveatmo",
            "name": "eveatmo platform",
            "extra_co2_sensor": false,
            "co2_alert_threshold": 1000,
            "weatherstation": true,
            "airquality": false,
            "ttl": 540,
            "auth": {
    	        "client_id": "XXXXX Create at https://dev.netatmo.com/",
                "client_secret": "XXXXX Create at https://dev.netatmo.com/",
                "username": "your netatmo username",
                "password": "your netatmo password"
            }
        }
    ],

  • weatherstation Enables support for Netatmo's WeatherStation. Default value is true
  • airquality Enables support for Netatmo's Indoor Air Quality monitor. Default value is false
  • extra_co2_sensor: (optional) Adds an extra CO2 sensor which is available via Apple's stock Home.app, too. Default value is false
  • co2_alert_threshold (optional): Sets the co2-level [ppm] at which the sensors switch to alert-state
  • ttl: (optional) Seconds between two Netatmo API polls. Lower is not neccessarily better! The weatherstation itself collects one value per 5minutes, so going below 300s makes no sense. Default value is 540 (=9min)
  • auth: Credentials for the Netatmo API
  • module_suffix: (optional) If this is set, the Netatmo's devicename will not be prepended to the modulename. Instead this config-value will be appended - with a space - to the module name

Control Accessories by device ID

Controlling devices can be done on a finer level by id. The id of a netatmo device or module basically is it's mac address.

In order to include or exclude a specific device, the corresponding id can be included in a whitelist resp. blacklist.

If the whitelist contains at least one entry, all other ids will be excluded.

    "platforms": [
        {
            "platform": "eveatmo",
            
            ...
            
            "whitelist": [
              "aa:bb:cc:11:22:33"
            ],
            "blacklist": [
              "01:02:03:04:05:06",
              "01:23:45:67:89:ab"
            ],

            ...
            
        }
    ],

Retrieve client id and secret

  1. Register at http://dev.netatmo.com as a developer
  2. After successful registration create your own app by using the menu entry "CREATE AN APP"
  3. On the following page, enter a name for your app. Any name can be chosen. All other fields of the form (like callback url, etc.) can be left blank.
  4. After successfully submitting the form the overview page of your app should show client id and secret.

Siri Voice Commands

Here are sample English voice commands:

  • How cool is it in the ROOM NAME?
  • How warm is it in the ROOM NAME?
  • How humid is it in the ROOM NAME?
  • What's the temperature in my ROOM NAME?
  • What's the humidity in my ROOM NAME?
  • What's the air quality in my ROOM NAME?
  • What's the CO2 level in my ROOM NAME?
  • What's the carbon dioxide level in my ROOM NAME?

Siri understands variations of each command:

  • What's the temperature ROOM NAME?
  • What's the temperature in ROOM NAME?
  • What's the temperature in my ROOM NAME?
  • What's the temperature in the ROOM NAME?
  • What's the temperature down in my ROOM NAME?
  • What's the temperature down in the ROOM NAME?

Siri voice commands may vary by language. Since this plugin tries to mimic the Elgato Eve devices, you can search the Eve blog for articles listing voice commands in your language.

Blog posts with English commands:

Blog posts with German commands:

History

see HISTORY.md

ToDos

  • maybe refactoring to split characterstics into separate services (better functionality in Apple's default home.app)
  • reintegrate rain-sensor, wind-sensor and thermostat
  • adding CO2 [ppm] or maybe just "CO2 detected" to indoor devices
  • researching/testing/implementing Eve's history-functionality (see: https://gist.github.com/0ff/668f4b7753c80ad7b60b)
  • Make CO2 trigger threshold configurable (see: #24)
  • Support Indoor Air Quality monitor (see: #51)

Thanks

This plugin's basic structure and most of its basic code is a fork (ok, lets say "copy") of homebridge-netatmo. So big thanks to @planetk and all the other contributors of this project.

Also big thanks to @gomfunkel and @simont77 for this gist and its fork, @KhaosT for this gist, @mplewis for this gist and @0ff for this (almost) working Eve Weather imitating homebridge-plugin and once again special thanks to @simont77 for his endurance in digging deeper in Eve's custom characteristics and its protocols.

Thanks go also to the following direct contributors:

  • @jason-klein (#28)
  • @lisanet (#36)
  • @foliveira (#52)
  • @RyanHS7VM (#54)

What else

Like this and want to express your feelings? Please buy me a beer


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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