資料介紹
軟件簡介
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調節器的比較 4739次閱讀
- 使用MOSFET作為恒溫加熱器 1489次閱讀
- PI調節器介紹及設計 7122次閱讀
- 如何制作一個通過本地WiFi網絡瀏覽器進行控制的恒溫器 2091次閱讀
- 恒溫加熱器的工作原理_恒溫加熱器保養 1.8w次閱讀
- 恒溫電烙鐵及焊接知識 3211次閱讀
- 用NE555設計的恒溫控制器的方案 8012次閱讀
- 電子恒溫器 4290次閱讀
- 用于植物的土壤加熱器 3964次閱讀
- 小型恒溫控制器 2637次閱讀
- 魚缸電子恒溫器電路圖 3609次閱讀
- 雙線遙控交流電子恒溫器電路圖 2286次閱讀
- 三線電子恒溫器電路圖 6198次閱讀
- 實用的恒溫控制器電路圖 4143次閱讀
- 家用恒溫控制器電路圖 4473次閱讀
下載排行
本周
- 1AIWA J470維修手冊 (可直接打印)
- 3.16 MB | 3次下載 | 10 積分
- 2數能NU501系列恒流芯片型號選型表
- 0.04 MB | 2次下載 | 免費
- 3Eurotherm TKS Temperature 用戶手冊
- 1.46 MB | 2次下載 | 免費
- 4多值電場型電壓選擇晶體管結構
- 0.11 MB | 1次下載 | 免費
- 5MOSFET講解-01(可下載)
- 253.76 KB | 1次下載 | 免費
- 6MOSFET講解-02(可下載)
- 263.46 KB | 1次下載 | 免費
- 7MOSFET講解-03(可下載)
- 501.18 KB | 1次下載 | 免費
- 8藍牙無線遙控小車
- 10.49 MB | 1次下載 | 2 積分
本月
- 1晶體三極管的電流放大作用詳細說明
- 0.77 MB | 32次下載 | 2 積分
- 2Python從入門到精通背記手冊
- 18.77 MB | 24次下載 | 1 積分
- 3雙極型三極管放大電路的三種基本組態的學習課件免費下載
- 4.03 MB | 23次下載 | 1 積分
- 4第十一屆 藍橋杯 單片機設計與開發項目 省賽 程序設計試題及源碼
- 90.88KB | 23次下載 | 3 積分
- 5STM32F103C8T6開發板最小系統原理圖
- 0.78 MB | 23次下載 | 免費
- 6多級放大電路的學習課件免費下載
- 1.81 MB | 21次下載 | 2 積分
- 7九陽豆漿機高清原理圖
- 2.47 MB | 15次下載 | 1 積分
- 81875功放原理圖
- 0.04 MB | 11次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935127次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
- 1.48MB | 420063次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191382次下載 | 10 積分
- 5十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183337次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81585次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73814次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65988次下載 | 10 積分
評論