{"id":677,"date":"2017-03-16T23:51:03","date_gmt":"2017-03-16T15:51:03","guid":{"rendered":"https:\/\/xujiwei.com\/blog\/?p=677"},"modified":"2017-03-16T23:51:03","modified_gmt":"2017-03-16T15:51:03","slug":"homeautomation-domoticz","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/","title":{"rendered":"\u73a9\u73a9\u667a\u80fd\u5bb6\u5c451\uff1aDomoticz"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_65 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\">\u6587\u7ae0\u76ee\u5f55<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69db8bd2bfb71\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69db8bd2bfb71\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#1_%E4%BB%80%E4%B9%88%E6%98%AF_Domoticz\" title=\"1. \u4ec0\u4e48\u662f Domoticz\">1. \u4ec0\u4e48\u662f Domoticz<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#2_%E4%B8%BB%E8%A6%81%E5%8A%9F%E8%83%BD\" title=\"2. \u4e3b\u8981\u529f\u80fd\">2. \u4e3b\u8981\u529f\u80fd<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#%E4%BC%A0%E6%84%9F%E5%99%A8\" title=\"\u4f20\u611f\u5668\">\u4f20\u611f\u5668<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#%E5%BC%80%E5%85%B3\" title=\"\u5f00\u5173\">\u5f00\u5173<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#%E4%BA%8B%E4%BB%B6\" title=\"\u4e8b\u4ef6\">\u4e8b\u4ef6<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#3_%E5%AF%B9%E6%AF%94%E5%85%B6%E4%BB%96_Home_Automation_System\" title=\"3. \u5bf9\u6bd4\u5176\u4ed6 Home Automation System\">3. \u5bf9\u6bd4\u5176\u4ed6 Home Automation System<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#openHAB\" title=\"openHAB\">openHAB<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#Home_Assistant\" title=\"Home Assistant\">Home Assistant<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#4_%E4%BC%98%E7%BC%BA%E7%82%B9\" title=\"4. \u4f18\u7f3a\u70b9\">4. \u4f18\u7f3a\u70b9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#5_%E5%AE%89%E8%A3%85\" title=\"5. \u5b89\u88c5\">5. \u5b89\u88c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#6_%E6%B7%BB%E5%8A%A0%E8%AE%BE%E5%A4%87\" title=\"6. \u6dfb\u52a0\u8bbe\u5907\">6. \u6dfb\u52a0\u8bbe\u5907<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#%E8%99%9A%E6%8B%9F%E8%AE%BE%E5%A4%87\" title=\"\u865a\u62df\u8bbe\u5907\">\u865a\u62df\u8bbe\u5907<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#HTTPHTTPS_Poller\" title=\"HTTP\/HTTPS Poller\">HTTP\/HTTPS Poller<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#%E5%B0%8F%E7%B1%B3%E7%BD%91%E5%85%B3\" title=\"\u5c0f\u7c73\u7f51\u5173\">\u5c0f\u7c73\u7f51\u5173<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#7_%E4%BA%8B%E4%BB%B6\" title=\"7. \u4e8b\u4ef6\">7. \u4e8b\u4ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/#8_%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\" title=\"8. \u53c2\u8003\u8d44\u6599\">8. \u53c2\u8003\u8d44\u6599<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1_%E4%BB%80%E4%B9%88%E6%98%AF_Domoticz\"><\/span>1. \u4ec0\u4e48\u662f Domoticz<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u7b2c\u4e00\u6b21\u77e5\u9053 Domoticz \u662f\u5728 smzdm \u4e0a\u7684\u4e00\u7bc7\u539f\u521b\u6587\u7ae0\u300a<a href=\"http:\/\/post.smzdm.com\/p\/517487\/\">\u5f00\u6e90IoT\u5e73\u53f0domoticz\u4e0e\u767e\u642dwifi\u6a21\u5757esp8266 \u7bc7\u4e09\uff1a\u7a7a\u6c14\u7ad9 Weather Station<\/a>\u300b\u91cc\uff0c\u4ee5\u53ca\u77e5\u9053\u4e86 ESP8266 \u6a21\u5757\u8fd9\u4e2a\u597d\u4e1c\u897f\u3002<\/p>\n<p>Domoticz \u652f\u6301\u4f17\u591a USB \u4ee5\u53ca\u4e32\u53e3\u8bbe\u5907\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c06 Domoticz \u5b89\u88c5\u5728\u6811\u8393\u6d3e\u4e0a\uff0c\u76f4\u63a5\u8bfb\u53d6\u548c\u64cd\u4f5c\u8fde\u63a5\u5728\u6811\u8393\u6d3e\u4e0a\u7684\u8bbe\u5907\uff0c\u4f8b\u5982 RFLink \u6216\u8005 I2C \u63a5\u53e3\u7684 BME280 \u4f20\u611f\u5668\u3002<\/p>\n<p>\u5f53\u7136\uff0cDomoticz \u8fd8\u652f\u6301\u901a\u8fc7\u5c40\u57df\u7f51\u63a7\u5236\u7684\u8bbe\u5907\u548c\u6709\u7f51\u7edc API \u7684\u8bbe\u5907\uff0c\u4f8b\u5982\u5c0f\u7c73\u7f51\u5173\u6216\u8005 Netatmo Weather Station\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2_%E4%B8%BB%E8%A6%81%E5%8A%9F%E8%83%BD\"><\/span>2. \u4e3b\u8981\u529f\u80fd<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"%E4%BC%A0%E6%84%9F%E5%99%A8\"><\/span>\u4f20\u611f\u5668<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Domoticz \u53ef\u4ee5\u76f4\u89c2\u7684\u5c55\u793a\u5404\u79cd\u4f20\u611f\u5668\u72b6\u6001\u4ee5\u53ca\u5386\u53f2\uff0c\u5e38\u7528\u7684\u6709\u6e29\u5ea6\u3001\u6e7f\u5ea6\u3001\u4e8c\u6c27\u5316\u78b3\u6d53\u5ea6\u7b49\u3002<\/p>\n<p>\u5bf9\u4e8e Domoticz \u6ca1\u6709\u5185\u7f6e\u7c7b\u578b\u7684\u4f20\u611f\u5668\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 Custom Sensor \u6765\u5c55\u793a\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u5355\u4f4d\uff0c\u540c\u6837\u53ef\u4ee5\u67e5\u770b\u5386\u53f2\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz1-temp.png\" alt=\"\" width=\"402\" class=\"alignnone size-full wp-image-678\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%BC%80%E5%85%B3\"><\/span>\u5f00\u5173<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5bf9\u4e8e\u706f\u3001\u9065\u63a7\u5668\u7b49\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7 Domoticz \u5f00\u5173\u7c7b\u578b\u8bbe\u5907\u6765\u5b9e\u73b0\u63a7\u5236\u3002\u5bf9\u4e8e\u9065\u63a7\u5668\uff0cSelector Switch \u662f\u4e2a\u597d\u9009\u62e9\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz2-switch.png\" alt=\"\" width=\"402\"  class=\"alignnone size-full wp-image-679\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E4%BA%8B%E4%BB%B6\"><\/span>\u4e8b\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Domoticz \u5185\u5efa\u4e86\u4e8b\u4ef6\u7cfb\u7edf\uff0c\u5bf9\u4e8e\u4e8b\u4ef6\u7684\u5904\u7406\uff0c\u7b80\u5355\u7684\u65b9\u6cd5\u53ef\u4ee5\u4f7f\u7528 Blockly \u56fe\u5f62\u5316\u7f16\u7a0b\u6765\u5b9e\u73b0\u5404\u4e2a\u4f20\u611f\u5668\u548c\u8bbe\u5907\u95f4\u7684\u8054\u52a8\uff0c\u5982\u679c\u6709\u590d\u6742\u903b\u8f91\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 Lua \u811a\u672c\u6765\u5904\u7406\u3002\u8fd9\u7ed9\u7528\u6237\u5e26\u6765\u66f4\u5927\u7684\u81ea\u7531\u5ea6\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz3-events.png\" alt=\"\" width=\"888\" class=\"alignnone size-full wp-image-680\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"3_%E5%AF%B9%E6%AF%94%E5%85%B6%E4%BB%96_Home_Automation_System\"><\/span>3. \u5bf9\u6bd4\u5176\u4ed6 Home Automation System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5f53\u7136\uff0c\u5f00\u6e90 Home Automation System \u6709\u5f88\u591a\uff0c\u4f46\u662f\u5bf9\u6bd4\u4f7f\u7528\u4e86\u4e00\u4e0b\u5176\u4ed6\u7cfb\u7edf\u4e4b\u540e\uff0c\u89c9\u5f97\u76f8\u5bf9\u800c\u8a00\u8fd8\u662f Domoticz \u66f4\u7b80\u5355\u6613\u7528\u4e00\u4e9b\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"openHAB\"><\/span>openHAB<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>openHAB \u662f\u4e00\u4e2a\u4f7f\u7528 Java \u7f16\u5199\u7684\u5f00\u6e90 Home Automation System\u3002\u5b83\u4e5f\u652f\u6301\u76f8\u5f53\u591a\u7684\u8bbe\u5907\uff0c\u5f88\u5bb9\u6613\u914d\u7f6e\u8fde\u63a5 Amazon Dash Button\u3001Philips Hue \u7b49\u8bbe\u5907\uff0c\u8fd8\u652f\u6301\u8fde\u63a5 Kodi \u8fd9\u4e2a\u591a\u5a92\u4f53\u4e2d\u5fc3\u3002<\/p>\n<p>\u4f46\u662f\u5728\u4f7f\u7528\u7684\u65f6\u5019\uff0copenHAB \u6dfb\u52a0\u8bbe\u5907\u5e76\u4e0d\u662f\u7279\u522b\u76f4\u89c2\uff0c\u4e5f\u6ca1\u6709\u5f04\u660e\u767d\u81ea\u5df1\u600e\u4e48\u6837\u53bb\u6dfb\u52a0\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u4f20\u611f\u5668\u8bbe\u5907\u3002\u53e6\u5916\u600e\u4e48\u67e5\u9605\u4f20\u611f\u5668\u5386\u53f2\u6570\u636e\u4e5f\u6ca1\u6709\u627e\u5230\u5165\u53e3\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Home_Assistant\"><\/span>Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Home Assistant \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\uff0c\u4f7f\u7528 Python 3 \u7f16\u5199\u7684 Home Automation Platform\u3002<\/p>\n<p>\u5bf9\u4e8e\u6211\u6765\u8bf4\uff0c\u6700\u4e0d\u559c\u6b22 Home Assistant \u7684\u4e00\u70b9\u5c31\u662f\uff0c\u5b83\u7684\u8bbe\u5907\u90fd\u662f\u9700\u8981\u4f7f\u7528 YML \u914d\u7f6e\u6587\u4ef6\u7684\u65b9\u5f0f\u6765\u914d\u7f6e\uff0c\u8fd9\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u611f\u89c9\u4e0d\u662f\u5f88\u65b9\u4fbf\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4_%E4%BC%98%E7%BC%BA%E7%82%B9\"><\/span>4. \u4f18\u7f3a\u70b9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5bf9\u4e8e\u6211\u6765\u8bf4\uff0c\u7b2c\u4e00\u6b65\u9700\u8981\u505a\u7684\u662f\u4f7f\u7528 ESP8266 \u6784\u5efa\u5bb6\u5ead\u4f20\u611f\u5668\u7f51\u7edc\uff0c\u5728\u5bf9\u6bd4\u4e86\u51e0\u4e2a\u7cfb\u7edf\u4e4b\u540e\uff0c\u6700\u7ec8\u9009\u62e9 Domoticz \u4f5c\u4e3a Home Automation System\u3002<\/p>\n<p><strong>Domoticz \u7684\u4f18\u70b9<\/strong><\/p>\n<ul>\n<li>\u76f4\u63a5\u5728\u7f51\u9875\u754c\u9762\u914d\u7f6e\u8bbe\u5907<\/li>\n<li>\u5f88\u5bb9\u6613\u6dfb\u52a0\u81ea\u5b9a\u4e49\u4f20\u611f\u5668\u8bbe\u5907<\/li>\n<li>ESPEasy \u5185\u7f6e Domoticz \u6570\u636e\u4f20\u9001\u652f\u6301<\/li>\n<li>Lua \u4e8b\u4ef6\u5904\u7406\u6bd4\u8f83\u5f3a\u5927<\/li>\n<\/ul>\n<p><strong>Domoticz \u7f3a\u70b9<\/strong><\/p>\n<ul>\n<li>\u754c\u9762\u4e0d\u591f\u73b0\u4ee3\uff0c\u867d\u7136 elemental \u4e3b\u9898\u7a0d\u5fae\u597d\u4e00\u70b9<\/li>\n<li>\u5b98\u65b9 App \u529f\u80fd\u4e0d\u591f\u5b8c\u5168<\/li>\n<li>Homebridge \u63d2\u4ef6 homebridge-eDomoticz \u529f\u80fd\u4e0d\u5b8c\u5584<\/li>\n<\/ul>\n<p>\u6709\u4e9b\u7f3a\u70b9\u5176\u5b9e\u4e5f\u662f\u53ef\u4ee5\u514b\u670d\u7684\uff0c\u5b98\u65b9 App \u53ef\u4ee5\u7528\u7f51\u9875\u7248\u4ee3\u66ff\uff0cDomoticz \u7684\u4e3b\u9898\u672c\u8eab\u5e26\u6709\u79fb\u52a8\u8bbe\u5907\u652f\u6301\uff0c\u800c homebridge-eDomoticz \u63d2\u4ef6\u7684\u95ee\u9898\uff0c\u5c31\u53ea\u80fd\u9760\u81ea\u5df1\u6539\u4ee3\u7801\u6765\u5b8c\u5584\u4e86\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"5_%E5%AE%89%E8%A3%85\"><\/span>5. \u5b89\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Domoticz \u5b98\u65b9\u63d0\u4f9b\u4e86 Windows\u3001macOS \u4ee5\u53ca Linux \u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u5bf9\u6811\u8393\u6d3e\u4e5f\u63d0\u4f9b\u4e86\u7f16\u8bd1\u597d\u7684\u4e8c\u8fdb\u5236\u5305\uff0c\u6240\u4ee5\u5b89\u88c5\u8d77\u6765\u8fd8\u662f\u5f88\u65b9\u4fbf\u7684\u3002\u53e6\u5916\u5b98\u65b9\u8fd8\u63d0\u4f9b\u4e86\u6811\u8393\u6d3e\u548c Ubuntu \u7684\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff0c\u6bd4\u4f7f\u7528\u538b\u7f29\u5305\u66f4\u7701\u4e8b\u3002<\/p>\n<p>\u56e0\u4e3a\u4e0d\u60f3\u53e6\u5916\u627e\u4e2a\u6811\u8393\u6d3e\u6216\u8005\u5f00\u4e00\u53f0\u865a\u62df\u673a\uff0c\u6211\u5c31\u5728 DSM \u7684 Docker \u4e2d\u90e8\u7f72\u4e86 Domoticz\u3002Domoticz \u7684 Image \u5728 Docker Hub \u4e0a\u5f88\u5bb9\u6613\u627e\u5230\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"6_%E6%B7%BB%E5%8A%A0%E8%AE%BE%E5%A4%87\"><\/span>6. \u6dfb\u52a0\u8bbe\u5907<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Domoticz \u63d0\u4f9b\u4e86\u5f88\u591a\u7c7b\u578b\u7684\u786c\u4ef6\uff0c\u5176\u4e2d\u4e00\u4e9b\u5f88\u4fbf\u4e8e\u6269\u5c55\u4f7f\u7528\u81ea\u5df1\u7684\u8bbe\u5907\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E8%99%9A%E6%8B%9F%E8%AE%BE%E5%A4%87\"><\/span>\u865a\u62df\u8bbe\u5907<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5728 Hardware \u4e2d\u6dfb\u52a0\u4e00\u4e2a Dummy \u7684\u786c\u4ef6\uff0c\u7136\u540e\u4ece\u8fd9\u4e2a\u786c\u4ef6\u5c31\u53ef\u4ee5\u521b\u5efa\u5404\u79cd\u865a\u62df\u4f20\u611f\u5668\u4e86\uff0c\u5728 ESPEasy \u4e2d\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u66f4\u65b0\u8fd9\u4e9b\u865a\u62df\u4f20\u611f\u5668\u7684\u6570\u636e\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz4-dummyhardware.png\" alt=\"\" width=\"742\" class=\"alignnone size-full wp-image-681\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"HTTPHTTPS_Poller\"><\/span>HTTP\/HTTPS Poller<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4f7f\u7528 HTTPS Poller \u8fd9\u4e2a\u8bbe\u5907\u5c31\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u53bb\u62c9\u53d6\u4e00\u4e9b\u5916\u90e8\u6570\u636e\u6765\u663e\u793a\u5728 Domoticz \u5185\u90e8\u4e86\uff0c\u6bd4\u5982\u53bb\u83b7\u53d6\u5916\u90e8\u7684 AQI \u6307\u6570\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz5-httpspoller.png\" alt=\"\" width=\"544\" class=\"alignnone size-full wp-image-683\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%B0%8F%E7%B1%B3%E7%BD%91%E5%85%B3\"><\/span>\u5c0f\u7c73\u7f51\u5173<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5728\u53bb\u5e74\u5e74\u5e95\uff0cDomoticz \u52a0\u5165\u4e86\u5c0f\u7c73\u591a\u529f\u80fd\u7f51\u5173\u7684\u652f\u6301\uff0c\u901a\u8fc7 Xiaomi Gateway \u8fd9\u4e2a\u786c\u4ef6\uff0c\u53ef\u4ee5\u81ea\u52a8\u7684\u5c06\u5c0f\u7c73\u591a\u529f\u80fd\u7f51\u5173\u7684\u5b50\u8bbe\u5907\uff08\u4f8b\u5982\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u3001\u95e8\u7a97\u4f20\u611f\u5668\u3001\u4eba\u4f53\u6d3b\u52a8\u4f20\u611f\u5668\u4ee5\u53ca\u5c0f\u7c73\u667a\u80fd\u63d2\u5ea7\uff09\u6dfb\u52a0\u5230 Domoticz \u4e2d\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz6-xiaomigateway.png\" alt=\"\" width=\"691\" class=\"alignnone size-full wp-image-682\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"7_%E4%BA%8B%E4%BB%B6\"><\/span>7. \u4e8b\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u501f\u52a9\u4e8e Blockly \u6216\u8005 Lua\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u5b9e\u73b0\u5bb6\u4e2d\u8bbe\u5907\u7684\u8054\u52a8\uff0c\u4f8b\u5982\u5f00\u95e8\u65f6\u81ea\u52a8\u6253\u5f00\u5c0f\u7c73\u667a\u80fd\u63d2\u5ea7\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2017\/03\/domoticz7-events.png\" alt=\"\" width=\"399\" class=\"alignnone size-full wp-image-684\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"8_%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\"><\/span>8. \u53c2\u8003\u8d44\u6599<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li><a href=\"https:\/\/opensource.com\/life\/16\/3\/5-open-source-home-automation-tools\">5 open source home automation tools<\/a><\/li>\n<li><a href=\"http:\/\/post.smzdm.com\/p\/517487\/\">\u5f00\u6e90IoT\u5e73\u53f0domoticz\u4e0e\u767e\u642dwifi\u6a21\u5757esp8266 \u7bc7\u4e09\uff1a\u7a7a\u6c14\u7ad9 Weather Station<\/a><\/li>\n<li><a href=\"http:\/\/www.openhab.org\/\">openHAB<\/a><\/li>\n<li><a href=\"https:\/\/home-assistant.io\/\">Home Assistant<\/a><\/li>\n<\/ol>\n<p><strong>\u672a\u7ecf\u8bb8\u53ef\uff0c\u7981\u6b62\u8f6c\u8f7d<\/strong><\/p>\n<p>--- EOF ---<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u4ec0\u4e48\u662f Domoticz \u7b2c\u4e00\u6b21\u77e5\u9053 Domoticz \u662f\u5728 smzdm  &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2017\/03\/homeautomation-domoticz\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[167],"tags":[251,255,254],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/677"}],"collection":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/comments?post=677"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/677\/revisions"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}