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

NorthernMan54/homebridge-hampton-bay: Homebridge Plugin for Hampton Bay Ceiling ...

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

开源软件名称:

NorthernMan54/homebridge-hampton-bay

开源软件地址:

https://github.com/NorthernMan54/homebridge-hampton-bay

开源编程语言:

JavaScript 89.6%

开源软件介绍:

homebridge-hampton-bay Plugin

NPM Downloads

I wrote this plugin as a wrapper around mdhiggins ESP8266-HTTP-IR-Blaster to control my Hampton Bay Ceiling fan. This particular fan uses a 303Mhz RF Remote control. To use this plugin, you need to build this ESP8266 based IR Blaster device https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster, except you need to substitute the LED with a 303Mhz RF Transmitter module.

To source the 303Mhz transmitter module, I sacrificed a Hampton Bay remote, and removed the 303Mhz SAW Resonator from the transmitter module. I then on a 315Mhz Transmitter module, removed the 315Mhz SAW Resonator and replaced it with the 303Mhz SAW Resonator. Creating my own 303Mhz Transmitter module.

Circuit Diagram

RF Transmitter

RF-LED

DHT-YL

Breadboard view

img_1611

Installation

  1. sudo npm install -g homebridge-hampton-bay

configuration

Example config.json:

{
 "platform": "HBay",
 "devices": [{
   "lightName": "Ceiling Two",
   "fanName": "Fan Two",
   "irBlaster": "ESP_8695EC.local",
   "remote_code": "0000",
   "out": 3
   },
   {
   "lightName": "Ceiling One",
   "fanName": "Fan One",
   "irBlaster": "ESP_8695EC.local",
   "remote_code": "1000",
   "out": 3
   }]
 }

Required settings

  • platform - This must be "HBay"
  • name - Name of the device ( or fanname / lightname )
  • irBlaster - Name or ip address of your IRBlaster Device
  • remote_code - This is the 4 Bit unique code for your fan controlled by the dip switches. 0 is switch UP and 1 is switch down.

Optional settings

  • dimmable - Is the light dimmable, defaults to false
  • light - Does the fan support a light, defaults to true
  • out - out setting for IR Blaster, defaults to 1
  • fanName - Name for fan device
  • lightName - Name for light device

Finding remote code for your remote / fan

This is the dip switches on your control module.

Credits

  • https://github.com/mdhiggins - Creating the ESP8266 based IR Blaster, sharing your plans and source.
  • nfarina - For creating the dummy plugin which I used as base for this plugin.



鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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