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

BardinPetr/homebridge-meteostation: Plugin for Homebridge to use Arduino (ESP826 ...

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

开源软件名称:

BardinPetr/homebridge-meteostation

开源软件地址:

https://github.com/BardinPetr/homebridge-meteostation

开源编程语言:

JavaScript 64.2%

开源软件介绍:

homebridge-meteostation

NPMV Travis David NPML NPMD

Plugin for Homebridge to use Arduino (ESP8266) - based home meteostation with HomeKit. With this plugin You can make Your own (DIY) meteostation and connect it to smart home based on Apple HomeKit. Now You can use this characteristics: temperature, humidity, ambient light.

Supported hardware:

You can use any temperature, humidity and light sensors with controller:

  1. All Arduino boards with WIFI/Ethernet shield
  2. ESP8266 boards (WeMo, NodeMCU or generic module)

Installation

  1. Install homebridge using: 'sudo npm install -g --unsafe-perm homebridge'
  2. Install this plugin using: 'sudo npm install -g --unsafe-perm homebridge-meteostation'
  3. Update your configuration file. See sample-config.json in this repository for a sample.

Configuration

Configuration sample:

"accessories": [
    {
        "accessory": "HomeMeteo",
        "name": "Meteostation",
        "url": "http://192.168.0.38",
        "temp_url": "/temperature",
        "humi_url": "/humidity",
        "light_url": "/light",
        "freq": 1000
    }
]

Full example You can see in sample-config.json

Description of the parameters

Name Description
url Main IP address of meteostation's controller
temp_url Page for temperature value (to get temprerature will be requested url + temp_url, for example: http://192.168.0.38/temperature)
humi_url Page for humidity value
light_url Page for ambient light value (in lux), optional parameter
freq Frequency of requests to sensor in ms, optional parameter (standard - 1000 ms)

Controller side

Basic connection diagram and Code example for Arduino Uno and ESP8266 You can find in this repository in folder Arduino




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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