資料介紹
軟件簡介
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
- 智能恒溫器開源項目
- 手機控制的撥號恒溫器
- 使用螺栓的恒溫器
- Arduino供電恒溫器和風扇控制器 0次下載
- 藍牙控制恒溫器
- 智能恒溫器開源案例
- 迷你恒溫器開源分享
- Vishay NTC恒溫器的模擬
- 智能恒溫器開源分享
- 恒溫器開源分享
- 如何使用固態繼電器驅動恒溫器
- 恒溫器控制電路原理圖 56次下載
- 烙鐵恒溫器電路圖 34次下載
- 恒溫器控制電路原理圖免費下載 11次下載
- 2017全球WiFi恒溫器市場發展現狀及趨勢研究 4次下載
- 串聯型PI和并聯型PI調節器的比較 3535次閱讀
- 使用MOSFET作為恒溫加熱器 1154次閱讀
- PI調節器介紹及設計 6235次閱讀
- 如何制作一個通過本地WiFi網絡瀏覽器進行控制的恒溫器 1873次閱讀
- 恒溫加熱器的工作原理_恒溫加熱器保養 1.8w次閱讀
- 恒溫電烙鐵及焊接知識 3147次閱讀
- 用NE555設計的恒溫控制器的方案 7769次閱讀
- 電子恒溫器 4168次閱讀
- 用于植物的土壤加熱器 3770次閱讀
- 小型恒溫控制器 2519次閱讀
- 魚缸電子恒溫器電路圖 3403次閱讀
- 雙線遙控交流電子恒溫器電路圖 2168次閱讀
- 三線電子恒溫器電路圖 6041次閱讀
- 實用的恒溫控制器電路圖 3932次閱讀
- 家用恒溫控制器電路圖 4268次閱讀
下載排行
本周
- 1山景DSP芯片AP8248A2數據手冊
- 1.06 MB | 532次下載 | 免費
- 2RK3399完整板原理圖(支持平板,盒子VR)
- 3.28 MB | 339次下載 | 免費
- 3TC358743XBG評估板參考手冊
- 1.36 MB | 330次下載 | 免費
- 4DFM軟件使用教程
- 0.84 MB | 295次下載 | 免費
- 5元宇宙深度解析—未來的未來-風口還是泡沫
- 6.40 MB | 227次下載 | 免費
- 6迪文DGUS開發指南
- 31.67 MB | 194次下載 | 免費
- 7元宇宙底層硬件系列報告
- 13.42 MB | 182次下載 | 免費
- 8FP5207XR-G1中文應用手冊
- 1.09 MB | 178次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費
- 2555集成電路應用800例(新編版)
- 0.00 MB | 33566次下載 | 免費
- 3接口電路圖大全
- 未知 | 30323次下載 | 免費
- 4開關電源設計實例指南
- 未知 | 21549次下載 | 免費
- 5電氣工程師手冊免費下載(新編第二版pdf電子書)
- 0.00 MB | 15349次下載 | 免費
- 6數字電路基礎pdf(下載)
- 未知 | 13750次下載 | 免費
- 7電子制作實例集錦 下載
- 未知 | 8113次下載 | 免費
- 8《LED驅動電路設計》 溫德爾著
- 0.00 MB | 6656次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935054次下載 | 免費
- 2protel99se軟件下載(可英文版轉中文版)
- 78.1 MB | 537798次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420027次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191187次下載 | 免費
- 7十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183279次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138040次下載 | 免費
評論
查看更多