chinese直男口爆体育生外卖, 99久久er热在这里只有精品99, 又色又爽又黄18禁美女裸身无遮挡, gogogo高清免费观看日本电视,私密按摩师高清版在线,人妻视频毛茸茸,91论坛 兴趣闲谈,欧美 亚洲 精品 8区,国产精品久久久久精品免费

電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>電子資料>Homebridge Pi恒溫器插件

Homebridge Pi恒溫器插件

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

資料介紹

授權(quán)協(xié)議 Readme
開發(fā)語言 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. 1人工智能+消費:技術(shù)賦能與芯片驅(qū)動未來
  2. 15.25 MB  |  4次下載  |  免費
  3. 2?業(yè)電源&模塊電源產(chǎn)品?冊
  4. 15.40 MB   |  1次下載  |  免費
  5. 379M15 TO-252三端穩(wěn)壓IC規(guī)格書
  6. 0.86 MB   |  次下載  |  免費
  7. 4MBRD20150CT TO-252肖特基二極管規(guī)格書
  8. 0.54 MB   |  次下載  |  免費
  9. 5自動鎖螺絲運動控制系統(tǒng)用戶手冊
  10. 6.65 MB   |  次下載  |  5 積分
  11. 6奧特光耦產(chǎn)品手冊
  12. 4.83 MB  |  次下載  |  免費
  13. 7SMA系列10MHz~40GHz同軸檢波器
  14. 559.60 KB  |  次下載  |  免費
  15. 8CD7388CZ:7W×4 四通道音頻功率放大電路技術(shù)手冊
  16. 0.39 MB   |  次下載  |  10 積分

本月

  1. 1元宇宙深度解析—未來的未來-風(fēng)口還是泡沫
  2. 6.40 MB  |  241次下載  |  免費
  3. 2元宇宙底層硬件系列報告
  4. 13.42 MB  |  184次下載  |  免費
  5. 32022 年展望報告 – 半導(dǎo)體產(chǎn)業(yè)
  6. 1.43 MB  |  136次下載  |  免費
  7. 4晶振與濾波器應(yīng)用電路《電子工程師必備:元器件應(yīng)用寶典》
  8. 1.57 MB  |  90次下載  |  免費
  9. 5汽車電子行業(yè)深度解析:智能化與電動化方興未艾
  10. 6.47 MB  |  71次下載  |  免費
  11. 6中國DPU行業(yè)白皮書
  12. 23.80 MB  |  37次下載  |  免費
  13. 7晶科鑫代理線-微盟電子2021年度產(chǎn)品目錄選型手冊
  14. 14.75 MB  |  27次下載  |  免費
  15. 8SJK晶振產(chǎn)品目錄-簡化版-2022
  16. 13.77 MB  |  20次下載  |  免費

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935134次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計
  4. 1.48MB  |  420064次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233089次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費下載
  8. 340992  |  191425次下載  |  10 積分
  9. 5十天學(xué)會AVR單片機與C語言視頻教程 下載
  10. 158M  |  183352次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81602次下載  |  10 積分
  13. 7Keil工具MDK-Arm免費下載
  14. 0.02 MB  |  73822次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65991次下載  |  10 積分