在线观看www成人影院-在线观看www日本免费网站-在线观看www视频-在线观看操-欧美18在线-欧美1级

電子發燒友App

硬聲App

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示
電子發燒友網>電子資料下載>電子資料>Homebridge Pi恒溫器插件

Homebridge Pi恒溫器插件

2022-04-21 | zip | 0.01 MB | 次下載 | 免費

資料介紹

授權協議 Readme
開發語言 JavaScript
操作系統 跨平臺
軟件類型 開源軟件
所屬分類 其他開源物聯網

軟件簡介

Homebridge Pi Thermostat Plugin

This is a homebridge plugin to make a Raspberry Pi connected with a Relay Board and DHT22 Temperature and Humidity Sensor into a smart thermostat that can be controlled via the Home app on iOS using Homekit.

Guide

For those who want to create their own thermostat using Raspberry Pi, here is a blog post that goes through the details of where to buy the parts, how to assemble it and what software to install to get this to work.

Installation

  • Install nodejs and other dependencies for homebridge to work
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs libavahi-compat-libdnssd-dev
  • Install BCM2835 for temperature sensor to work
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
tar zxvf bcm2835-1.52.tar.gz
cd bcm2835-1.52
./configure && make && sudo make check && sudo make install
  • Install homebridge and this plugin
sudo npm install -g --unsafe-perm homebridge homebridge-pi-thermostat
  • Add the accessory config to your homebridge config file located at this path ~/.homebridge/config.json.
{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },
  "description": "",
  "accessories": [
    {
      "accessory": "Thermostat",
      "name": "Pi Thermostat",
      "fanRelayPin": 26,
      "heatRelayPin": 21,
      "coolRelayPin": 20,
      "temperatureSensorPin": 4,
      "minimumOnOffTime": 120000,
      "blowerTurnOffTime": 80000,
      "startDelay": 10000,
      "temperatureCheckInterval": 10000
    }
  ],
  "platforms": []
}
  • Start it up by running homebridge command.

Configuration

Relay Pins

You can change the pin to turn on and off the relay switch for the Fan, Heat and Cool setting.

"fanRelayPin": 26,
"heatRelayPin": 21,
"coolRelayPin": 20,

Temperature Sensor Pin

You also can change the pin for the DHT22 temperature sensor.

"temperatureSensorPin": 4,

Timing

The system has a minimum on off time which is in miliseconds and is the minimum time it keeps the Heat or Cool turned on and off so that it does not damage the heating or cooling system by turning on and off very quickly.

"minimumOnOffTime": 120000,

The system also has a blowerTurnOffTime which is the time it takes to turn off the blower after Heat or Cool is turned off.

"blowerTurnOffTime": 80000,

The interval for checking the temperature of the room can also be set and defaults to 10 seconds.

"temperatureCheckInterval": 10000

Screenshots

pYYBAGJehp2AcgeSABXEoRWmTZU352.png

pYYBAGJehqWAO7BNABamiqQmf8M369.png

poYBAGJehq2Adnb3ABZJIwWbLRM300.png

pYYBAGJehrKAAr6kAAcQjBt0c5g076.png

poYBAGJehreAO_7RAAV1V_QVZ8w876.png

?

評論

查看更多

下載排行

本周

  1. 1AIWA J470維修手冊 (可直接打印)
  2. 3.16 MB   |  3次下載  |  10 積分
  3. 2數能NU501系列恒流芯片型號選型表
  4. 0.04 MB   |  2次下載  |  免費
  5. 3Eurotherm TKS Temperature 用戶手冊
  6. 1.46 MB  |  2次下載  |  免費
  7. 4多值電場型電壓選擇晶體管結構
  8. 0.11 MB   |  1次下載  |  免費
  9. 5MOSFET講解-01(可下載)
  10. 253.76 KB  |  1次下載  |  免費
  11. 6MOSFET講解-02(可下載)
  12. 263.46 KB  |  1次下載  |  免費
  13. 7MOSFET講解-03(可下載)
  14. 501.18 KB  |  1次下載  |  免費
  15. 8藍牙無線遙控小車
  16. 10.49 MB   |  1次下載  |  2 積分

本月

  1. 1晶體三極管的電流放大作用詳細說明
  2. 0.77 MB   |  32次下載  |  2 積分
  3. 2Python從入門到精通背記手冊
  4. 18.77 MB   |  24次下載  |  1 積分
  5. 3雙極型三極管放大電路的三種基本組態的學習課件免費下載
  6. 4.03 MB   |  23次下載  |  1 積分
  7. 4第十一屆 藍橋杯 單片機設計與開發項目 省賽 程序設計試題及源碼
  8. 90.88KB   |  23次下載  |  3 積分
  9. 5STM32F103C8T6開發板最小系統原理圖
  10. 0.78 MB   |  23次下載  |  免費
  11. 6多級放大電路的學習課件免費下載
  12. 1.81 MB   |  21次下載  |  2 積分
  13. 7九陽豆漿機高清原理圖
  14. 2.47 MB   |  15次下載  |  1 積分
  15. 81875功放原理圖
  16. 0.04 MB   |  11次下載  |  免費

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935127次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
  4. 1.48MB  |  420063次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233089次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費下載
  8. 340992  |  191382次下載  |  10 積分
  9. 5十天學會AVR單片機與C語言視頻教程 下載
  10. 158M  |  183337次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81585次下載  |  10 積分
  13. 7Keil工具MDK-Arm免費下載
  14. 0.02 MB  |  73814次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65988次下載  |  10 積分
主站蜘蛛池模板: 四虎影院成人 | 国产精品爱久久久久久久三级 | 男女互插小说 | good韩国理论在线三级 | 综合99| 国产精品资源手机在线播放 | 久久久综合色 | 射在老师的里面真爽 | 天堂网男人 | 午夜1000集| 亚欧洲乱码专区视频 | 神马午夜限制 | a资源在线观看 | 黄色小网站在线观看 | 国内黄色精品 | 四虎在线永久视频观看 | 欧美日韩中文字幕 | 天堂中文在线免费观看 | 在线观看亚洲一区 | 久久99热久久精品23 | 91最新网站免费 | 丁香网五月天 | 免费国产不卡午夜福在线观看 | 乱高h辣黄文np公交车 | 夜夜艹| 污视频18高清在线观看 | 色狠狠综合网 | 老师我好爽再深一点好大 | 精品久久久久久久免费加勒比 | 亚洲精品视频免费 | 久久777国产线看观看精品卜 | 99久久精品费精品国产一区二区 | 91国内在线国内在线播放 | 久青草国产手机视频免费观看 | 欧美一级视频在线观看欧美 | 777kkk亚洲综合欧美色老头 | 68日本xxxxxxx18| 免费的两性视频网站 | www色视频 | 国产精品好好热在线观看 | 久久国产免费观看精品1 |