資料介紹
軟件簡介
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
- 智能恒溫器開源項(xiàng)目
- 手機(jī)控制的撥號(hào)恒溫器
- 使用螺栓的恒溫器
- Arduino供電恒溫器和風(fēng)扇控制器 0次下載
- 藍(lán)牙控制恒溫器
- 智能恒溫器開源案例
- 迷你恒溫器開源分享
- Vishay NTC恒溫器的模擬
- 智能恒溫器開源分享
- 恒溫器開源分享
- 如何使用固態(tài)繼電器驅(qū)動(dòng)恒溫器
- 恒溫器控制電路原理圖 56次下載
- 烙鐵恒溫器電路圖 34次下載
- 恒溫器控制電路原理圖免費(fèi)下載 11次下載
- 2017全球WiFi恒溫器市場發(fā)展現(xiàn)狀及趨勢研究 4次下載
- 串聯(lián)型PI和并聯(lián)型PI調(diào)節(jié)器的比較 4739次閱讀
- 使用MOSFET作為恒溫加熱器 1489次閱讀
- PI調(diào)節(jié)器介紹及設(shè)計(jì) 7122次閱讀
- 如何制作一個(gè)通過本地WiFi網(wǎng)絡(luò)瀏覽器進(jìn)行控制的恒溫器 2091次閱讀
- 恒溫加熱器的工作原理_恒溫加熱器保養(yǎng) 1.8w次閱讀
- 恒溫電烙鐵及焊接知識(shí) 3211次閱讀
- 用NE555設(shè)計(jì)的恒溫控制器的方案 8012次閱讀
- 電子恒溫器 4290次閱讀
- 用于植物的土壤加熱器 3964次閱讀
- 小型恒溫控制器 2637次閱讀
- 魚缸電子恒溫器電路圖 3609次閱讀
- 雙線遙控交流電子恒溫器電路圖 2286次閱讀
- 三線電子恒溫器電路圖 6198次閱讀
- 實(shí)用的恒溫控制器電路圖 4143次閱讀
- 家用恒溫控制器電路圖 4473次閱讀
下載排行
本周
- 1DD3118電路圖紙資料
- 0.08 MB | 1次下載 | 免費(fèi)
- 2AD庫封裝庫安裝教程
- 0.49 MB | 1次下載 | 免費(fèi)
- 3PC6206 300mA低功耗低壓差線性穩(wěn)壓器中文資料
- 1.12 MB | 1次下載 | 免費(fèi)
- 4網(wǎng)絡(luò)安全從業(yè)者入門指南
- 2.91 MB | 1次下載 | 免費(fèi)
- 5DS-CS3A P00-CN-V3
- 618.05 KB | 1次下載 | 免費(fèi)
- 6海川SM5701規(guī)格書
- 1.48 MB | 次下載 | 免費(fèi)
- 7H20PR5電磁爐IGBT功率管規(guī)格書
- 1.68 MB | 次下載 | 1 積分
- 8IP防護(hù)等級(jí)說明
- 0.08 MB | 次下載 | 免費(fèi)
本月
- 1貼片三極管上的印字與真實(shí)名稱的對照表詳細(xì)說明
- 0.50 MB | 103次下載 | 1 積分
- 2涂鴉各WiFi模塊原理圖加PCB封裝
- 11.75 MB | 89次下載 | 1 積分
- 3錦銳科技CA51F2 SDK開發(fā)包
- 24.06 MB | 43次下載 | 1 積分
- 4錦銳CA51F005 SDK開發(fā)包
- 19.47 MB | 19次下載 | 1 積分
- 5PCB的EMC設(shè)計(jì)指南
- 2.47 MB | 16次下載 | 1 積分
- 6HC05藍(lán)牙原理圖加PCB
- 15.76 MB | 13次下載 | 1 積分
- 7802.11_Wireless_Networks
- 4.17 MB | 12次下載 | 免費(fèi)
- 8蘋果iphone 11電路原理圖
- 4.98 MB | 6次下載 | 2 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935127次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191390次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183342次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81588次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73815次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65989次下載 | 10 積分
評(píng)論