資料介紹
軟件簡介
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
homebridgecommand.
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
- 智能恒溫器開源項目
- 手機控制的撥號恒溫器
- 使用螺栓的恒溫器
- Arduino供電恒溫器和風(fēng)扇控制器 0次下載
- 藍牙控制恒溫器
- 智能恒溫器開源案例
- 迷你恒溫器開源分享
- Vishay NTC恒溫器的模擬
- 智能恒溫器開源分享
- 恒溫器開源分享
- 如何使用固態(tài)繼電器驅(qū)動恒溫器
- 恒溫器控制電路原理圖 56次下載
- 烙鐵恒溫器電路圖 34次下載
- 恒溫器控制電路原理圖免費下載 11次下載
- 2017全球WiFi恒溫器市場發(fā)展現(xiàn)狀及趨勢研究 4次下載
- 串聯(lián)型PI和并聯(lián)型PI調(diào)節(jié)器的比較 4739次閱讀
- 使用MOSFET作為恒溫加熱器 1489次閱讀
- PI調(diào)節(jié)器介紹及設(shè)計 7122次閱讀
- 如何制作一個通過本地WiFi網(wǎng)絡(luò)瀏覽器進行控制的恒溫器 2091次閱讀
- 恒溫加熱器的工作原理_恒溫加熱器保養(yǎng) 1.8w次閱讀
- 恒溫電烙鐵及焊接知識 3211次閱讀
- 用NE555設(shè)計的恒溫控制器的方案 8012次閱讀
- 電子恒溫器 4290次閱讀
- 用于植物的土壤加熱器 3964次閱讀
- 小型恒溫控制器 2637次閱讀
- 魚缸電子恒溫器電路圖 3609次閱讀
- 雙線遙控交流電子恒溫器電路圖 2286次閱讀
- 三線電子恒溫器電路圖 6198次閱讀
- 實用的恒溫控制器電路圖 4143次閱讀
- 家用恒溫控制器電路圖 4473次閱讀
下載排行
本周
- 1人工智能+消費:技術(shù)賦能與芯片驅(qū)動未來
- 15.25 MB | 4次下載 | 免費
- 2?業(yè)電源&模塊電源產(chǎn)品?冊
- 15.40 MB | 1次下載 | 免費
- 379M15 TO-252三端穩(wěn)壓IC規(guī)格書
- 0.86 MB | 次下載 | 免費
- 4MBRD20150CT TO-252肖特基二極管規(guī)格書
- 0.54 MB | 次下載 | 免費
- 5自動鎖螺絲運動控制系統(tǒng)用戶手冊
- 6.65 MB | 次下載 | 5 積分
- 6奧特光耦產(chǎn)品手冊
- 4.83 MB | 次下載 | 免費
- 7SMA系列10MHz~40GHz同軸檢波器
- 559.60 KB | 次下載 | 免費
- 8CD7388CZ:7W×4 四通道音頻功率放大電路技術(shù)手冊
- 0.39 MB | 次下載 | 10 積分
本月
- 1元宇宙深度解析—未來的未來-風(fēng)口還是泡沫
- 6.40 MB | 241次下載 | 免費
- 2元宇宙底層硬件系列報告
- 13.42 MB | 184次下載 | 免費
- 32022 年展望報告 – 半導(dǎo)體產(chǎn)業(yè)
- 1.43 MB | 136次下載 | 免費
- 4晶振與濾波器應(yīng)用電路《電子工程師必備:元器件應(yīng)用寶典》
- 1.57 MB | 90次下載 | 免費
- 5汽車電子行業(yè)深度解析:智能化與電動化方興未艾
- 6.47 MB | 71次下載 | 免費
- 6中國DPU行業(yè)白皮書
- 23.80 MB | 37次下載 | 免費
- 7晶科鑫代理線-微盟電子2021年度產(chǎn)品目錄選型手冊
- 14.75 MB | 27次下載 | 免費
- 8SJK晶振產(chǎn)品目錄-簡化版-2022
- 13.77 MB | 20次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935134次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191425次下載 | 10 積分
- 5十天學(xué)會AVR單片機與C語言視頻教程 下載
- 158M | 183352次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App






創(chuàng)作
發(fā)文章
發(fā)帖
提問
發(fā)資料
發(fā)視頻





上傳資料賺積分
評論