{"id":1042,"date":"2022-12-17T19:41:50","date_gmt":"2022-12-17T11:41:50","guid":{"rendered":"https:\/\/xujiwei.com\/blog\/?p=1042"},"modified":"2022-12-18T10:18:33","modified_gmt":"2022-12-18T02:18:33","slug":"aircube-diy-environment-monitor-station","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/","title":{"rendered":"\u8d85\u7b80\u5355 DIY &#8211; AirCube \u7a7a\u6c14\u68c0\u6d4b\u7ad9"},"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-69d17b34c1090\" 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-69d17b34c1090\"  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\/2022\/12\/aircube-diy-environment-monitor-station\/#%E6%BA%90%E7%94%B1\" title=\"\u6e90\u7531\">\u6e90\u7531<\/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\/2022\/12\/aircube-diy-environment-monitor-station\/#%E7%9B%AE%E6%A0%87\" title=\"\u76ee\u6807\">\u76ee\u6807<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/#%E8%AE%BE%E8%AE%A1\" title=\"\u8bbe\u8ba1\">\u8bbe\u8ba1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/#%E5%85%83%E4%BB%B6%E9%80%89%E5%9E%8B\" title=\"\u5143\u4ef6\u9009\u578b\">\u5143\u4ef6\u9009\u578b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/#%E5%8A%9F%E8%83%BD\" title=\"\u529f\u80fd\">\u529f\u80fd<\/a><\/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\/2022\/12\/aircube-diy-environment-monitor-station\/#ESPHome\" title=\"ESPHome\">ESPHome<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/#%E6%89%B9%E9%87%8F%E9%83%A8%E7%BD%B2\" title=\"\u6279\u91cf\u90e8\u7f72\">\u6279\u91cf\u90e8\u7f72<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/#%E7%BB%84%E8%A3%85\" title=\"\u7ec4\u88c5\">\u7ec4\u88c5<\/a><\/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\/2022\/12\/aircube-diy-environment-monitor-station\/#%E5%BC%80%E6%BA%90\" title=\"\u5f00\u6e90\">\u5f00\u6e90<\/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\/2022\/12\/aircube-diy-environment-monitor-station\/#%E5%85%B6%E4%BB%96\" title=\"\u5176\u4ed6\">\u5176\u4ed6<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E6%BA%90%E7%94%B1\"><\/span>\u6e90\u7531<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e00\u76f4\u4ee5\u6765\u5bf9\u5bb6\u91cc\u7684\u73af\u5883\u72b6\u6001\u6bd4\u8f83\u5728\u610f\uff0c\u5728\u5f88\u591a\u5e74\u4ee5\u524d\uff0c\u5c31\u4f7f\u7528\u4e07\u7528\u677f + ESP8266 + \u4f20\u611f\u5668\u7ec4\u88c5\u4e86\u5f88\u591a\u53f0\u7a7a\u6c14\u68c0\u6d4b\u8282\u70b9\u653e\u5728\u5bb6\u91cc\uff0c\u7528\u4e8e\u76d1\u63a7 PM 2.5 \u6d53\u5ea6\u3001\u4e8c\u6c27\u5316\u78b3\u6d53\u5ea6\u3001\u6e29\u5ea6\u3001\u6e7f\u5ea6\u7b49\u73af\u5883\u72b6\u6001\u3002<\/p>\n<p>\u914d\u5408 ESPEasy \u56fa\u4ef6 + Domoticz\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u91c7\u96c6\u73af\u5883\u72b6\u6001\u7684\u6570\u503c\uff0c\u4ece\u800c\u914d\u7f6e Domoticz \u7684\u811a\u672c\u6765\u5b8c\u6210\u4e00\u4e9b\u81ea\u52a8\u5316\u52a8\u4f5c\uff0c\u4f8b\u5982\u6253\u5f00\u65b0\u98ce\u3001\u6253\u5f00\u7a7a\u6c14\u51c0\u5316\u5668\u7b49\u3002<\/p>\n<p>\u8fdb\u4e00\u6b65\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 Domoticz \u5c06\u91c7\u96c6\u5230\u7684\u6570\u636e\u4fdd\u5b58\u5230 InfluxDB \u4e2d\uff0c\u4f7f\u7528 Grafana \u56fe\u5f62\u5316\u7684\u5c55\u793a\u8fd9\u4e9b\u73af\u5883\u72b6\u6001\u7684\u53d8\u5316\u8d8b\u52bf\u3002<\/p>\n<p>\u5728\u77e5\u9053\u5609\u7acb\u521b\u7684 PCB \u514d\u8d39\u6253\u6837\u6d3b\u52a8\u4e4b\u540e\uff0c\u5c31\u4ea7\u751f\u4e86\u5c06\u8fd9\u4e9b\u7a7a\u6c14\u68c0\u6d4b\u8282\u70b9\u8fdb\u884c\u5347\u7ea7\u7684\u60f3\u6cd5\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E7%9B%AE%E6%A0%87\"><\/span>\u76ee\u6807<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-evolution.png\" style=\"zoom:50%;\" \/><\/p>\n<p>\u8fd9\u6b21\u5347\u7ea7\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u6539\u8fdb\u4ee5\u524d\u4f7f\u7528\u6d1e\u6cc2\u677f\uff0cESP8266 \u7b49\u8001\u65e7\u90e8\u4ef6\u78b0\u5230\u7684\u4e00\u4e9b\u95ee\u9898\uff0c\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ul>\n<li>\u66f4\u7f8e\u89c2\uff0c\u539f\u5148\u4f7f\u7528\u4e07\u7528\u677f + \u4e9a\u514b\u529b\u9762\u677f\u592a\u591a\u98de\u7ebf\uff0c\u4e0d\u662f\u5f88\u597d\u770b\uff0c\u6574\u4f53\u7a7a\u95f4\u5229\u7528\u4e5f\u4e0d\u5145\u5206\uff0c\u5e76\u4e14\u73b0\u5728\u4e5f\u6709 3D \u6253\u5370\u673a\uff0c\u53ef\u4ee5\u505a\u4e00\u4e2a\u66f4\u597d\u770b\u7684\u5916\u58f3\u3002<\/li>\n<li>\u66f4\u6807\u51c6\uff0c\u539f\u5148\u6bcf\u4e2a\u8282\u70b9\u7684\u4f20\u611f\u5668\u9009\u578b\u90fd\u4e0d\u592a\u4e00\u81f4\uff0c\u4ece\u800c\u5bfc\u81f4\u6bcf\u5757\u4e07\u7528\u677f\u7684\u98de\u7ebf\u90fd\u4e0d\u4e00\u81f4\uff0c\u7ec4\u88c5\u5b58\u5728\u51fa\u9519\u53ef\u80fd\uff0c\u8fd9\u6b21\u901a\u8fc7\u4f7f\u7528\u7edf\u4e00\u7684 PCB\uff0c\u5c06\u6240\u6709\u4f20\u611f\u5668\u6a21\u5757\u4f4d\u7f6e\u56fa\u5b9a\uff0c\u6bcf\u4e2a\u8282\u70b9\u7684\u4f20\u611f\u5668\u90fd\u4fdd\u6301\u4e00\u81f4\u3002<\/li>\n<li>\u66f4\u5f3a\u5927\uff0c\u539f\u5148\u4f7f\u7528\u7684 ESP8266 \u6a21\u7ec4\uff0cGPIO \u6570\u91cf\u8f83\u5c11\uff0c\u5728\u4f20\u611f\u5668\u6570\u91cf\u591a\u7684\u60c5\u51b5\u4e0b\uff0cGPIO \u5c31\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u6b21\u66f4\u6362\u4e3a\u66f4\u5148\u8fdb\u7684 ESP32\uff0c\u62e5\u6709\u66f4\u591a GPIO\uff0c\u6027\u80fd\u4e5f\u66f4\u4e3a\u5f3a\u5927\u3002\u5e76\u4e14\u56e0\u4e3a GPIO \u6570\u91cf\u66f4\u591a\uff0c\u8fd8\u53ef\u4ee5\u989d\u5916\u589e\u52a0\u4e00\u4e2a\u5c4f\u5e55\uff0c\u8fd9\u6837\u5373\u4f7f\u4e0d\u501f\u52a9 Domoticz \u7684\u60c5\u51b5\u4e0b\uff0c\u4e5f\u53ef\u4ee5\u72ec\u7acb\u4f7f\u7528\uff0c\u67e5\u770b\u5f53\u524d\u73af\u5883\u6570\u636e\u3002<\/li>\n<li>\u66f4\u7075\u6d3b\uff0c\u539f\u5148\u4f7f\u7528\u7684 ESPEasy \u56fa\u4ef6\uff0c\u6240\u6709\u7684\u4f20\u611f\u5668\u662f\u901a\u8fc7\u5728\u5b83\u7684\u7f51\u9875\u914d\u7f6e\u754c\u9762\u6765\u5b8c\u6210\u7684\uff0c\u5e76\u4e14\u5b83\u7684\u914d\u7f6e\u4fdd\u5b58\u683c\u5f0f\u4e3a\u81ea\u5b9a\u4e49\u7684\u4e8c\u8fdb\u5236\u683c\u5f0f\uff0c\u5f88\u96be\u9605\u8bfb\u4ee5\u53ca\u63d0\u524d\u914d\u7f6e\uff0c\u8fd9\u6b21\u66f4\u6362\u4e3a\u66f4\u7075\u6d3b\u7684 ESPHome \u56fa\u4ef6\uff0c\u53ef\u4ee5\u63d0\u524d\u5728\u7f16\u8bd1\u65f6\u5b9a\u5236\u597d\u6bcf\u4e2a\u8282\u70b9\u6240\u4f7f\u7528\u7684\u4f20\u611f\u5668\u578b\u53f7\u3001\u53c2\u6570\u7b49\u3002<\/li>\n<\/ul>\n<p>\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u501f\u52a9\u4e8e\u8fd9\u4e2a\u9879\u76ee\uff0c\u719f\u6089\u4e00\u4e0b EDA \u64cd\u4f5c\u548c PCB \u5e03\u7ebf\uff0c\u4e3a\u4ee5\u540e\u5176\u4ed6 DIY \u6216\u8005\u590d\u523b\u7acb\u521b\u5f00\u6e90\u5e73\u53f0\u5176\u4ed6\u9879\u76ee\u6253\u70b9\u57fa\u7840\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E8%AE%BE%E8%AE%A1\"><\/span>\u8bbe\u8ba1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4f5c\u4e3a\u4e00\u4e2a\u73af\u5883\u68c0\u6d4b\u8282\u70b9\uff0c\u6211\u5e0c\u671b\u5b83\u80fd\u50cf\u4e00\u4e2a\u6bd4\u8f83\u6b63\u5e38\u7684\u6570\u636e\u8bbe\u5907\u653e\u5728\u5bb6\u5c45\u73af\u5883\u4e2d\uff0c\u6574\u4f53\u53c2\u8003\u4e86\u5e02\u9762\u4e0a\u5df2\u6709\u7684\u5404\u79cd\u68c0\u6d4b\u8bbe\u5907\uff0c\u91c7\u7528\u4e86\u7acb\u65b9\u4f53\u9020\u578b\u3002<\/p>\n<p>\u4ee5\u53ca\u4e3a\u4e86\u53ef\u4ee5\u5373\u65f6\u67e5\u770b\u6570\u636e\u7684\u9700\u6c42\uff0c\u5728\u6b63\u9762\u6dfb\u52a0\u4e00\u4e2a 1.54 \u5bf8\u7684\u5c4f\u5e55\uff0c\u8fd9\u6837\u53ef\u4ee5\u5728\u4e0d\u6253\u5f00\u624b\u673a\u7684\u60c5\u51b5\u4e0b\u4e86\u89e3\u5230\u5f53\u524d\u73af\u5883\u6570\u636e\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u8fd8\u5e0c\u671b\u8fd9\u4e2a\u8bbe\u5907\u53ef\u4ee5\u67e5\u770b\u73af\u5883\u6570\u636e\u5386\u53f2\uff0c\u56e0\u6b64\u8fd8\u9700\u8981\u6dfb\u52a0\u989d\u5916\u7684\u6309\u94ae\uff0c\u7528\u6765\u5207\u6362\u5404\u79cd\u6570\u636e\u5c4f\u5e55\uff0c\u8fd9\u91cc\u91c7\u7528\u4e86\u7535\u5bb9\u89e6\u6478\u6309\u94ae\uff0c\u8fd9\u6837\u5728 3D \u6253\u5370\u5916\u58f3\u4ee5\u53ca\u7ec4\u88c5\u65f6\u4e0d\u9700\u8981\u989d\u5916\u8bbe\u8ba1\u6309\u94ae\u90e8\u5206\u3002<\/p>\n<p>\u5f53\u7136\uff0c\u4f5c\u4e3a\u4e00\u4e2a\u8d85\u7b80\u5355 DIY\uff0c\u8fd9\u6b21\u5c31\u5168\u90e8\u91c7\u7528\u4f20\u611f\u5668\u6a21\u5757\u4ee5\u53ca ESP32 \u5f00\u53d1\u677f\uff0c\u8fd9\u6837\u5c31\u4e0d\u7528\u710a\u63a5\u5404\u79cd\u8d34\u7247\u5143\u4ef6\u4e86\uff0c\u6700\u5927\u7a0b\u5e8f\u7b80\u5316\u710a\u63a5\u7a0b\u5e8f\uff0c\u6574\u4e2a\u4e2a\u7ec4\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u6700\u96be\u7684\u90e8\u5206\u53ef\u80fd\u5c31\u662f PM 2.5 \u4f20\u611f\u5668\u7684 1.25mm 8P \u76f4\u9488\u5ea7\u4e86\uff0c\u4f46\u662f\u501f\u52a9\u4e8e\u52a9\u710a\u5242\uff0c\u4e5f\u57fa\u672c\u4e0a\u662f\u5f88\u4f4e\u96be\u5ea6\u4e86\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-rendering-model.png\" style=\"zoom: 33%;\" \/><\/p>\n<p>\u9664\u4e86 PM 2.5 \u4f20\u611f\u5668\u7684 1.25mm 8P \u76f4\u9488\u5ea7\uff0c\u5176\u4ed6\u6240\u6709\u4f20\u611f\u5668\u548c\u6a21\u5757\u90fd\u4f7f\u7528 2.54mm \u6392\u9488\u5ea7\uff0c\u8fd9\u6837\u4e0d\u7ba1\u662f\u5b89\u88c5\u8fd8\u662f\u710a\u63a5\u90fd\u5f88\u7b80\u5355\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-pcb.png\" style=\"zoom:25%;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%85%83%E4%BB%B6%E9%80%89%E5%9E%8B\"><\/span>\u5143\u4ef6\u9009\u578b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e3a\u4e86\u6ee1\u8db3\u5404\u79cd\u5e38\u89c1\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4ee5\u53ca\u590d\u7528\u5df2\u7ecf\u8d2d\u4e70\u8fc7\u7684\u5143\u5668\u4ef6\uff0c\u8fd9\u6b21 DIY \u7684\u4f20\u611f\u5668\u9009\u578b\u5982\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u56fe\u7247<\/th>\n<th>\u7c7b\u578b<\/th>\n<th>\u578b\u53f7<\/th>\n<th>\u4ef7\u683c\uff08\u5143\uff09<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-bme280.png\" alt=\"BME280\" style=\"width:200px;\" \/><\/td>\n<td>\u6e29\u6e7f\u5ea6<\/td>\n<td>BME280 \u6216 SHT31<\/td>\n<td>22<\/td>\n<td>\u5176\u4e2d BME280 \u8fd8\u989d\u5916\u652f\u6301\u538b\u5f3a\u68c0\u6d4b\uff0c\u540c\u65f6\u652f\u6301\u8fd9\u4e24\u79cd\u4f20\u611f\u5668\u4e3b\u8981\u662f\u56e0\u4e3a\u5b83\u4eec\u7684\u5f15\u811a\u987a\u5e8f\u76f8\u540c\uff0c\u53ef\u4ee5\u66ff\u6362\u4f7f\u7528\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-pms5003.png\" alt=\"PMS5003\" style=\"width:200px\" \/><\/td>\n<td>\u9897\u7c92\u7269\u6d53\u5ea6<\/td>\n<td>\u6500\u85e4 PMS5003<\/td>\n<td>70<\/td>\n<td>\u652f\u6301 PM 1.0\u3001PM 2.5\u3001PM 10 \u4e09\u79cd\u9897\u7c92\u7269\u6d53\u5ea6\u68c0\u6d4b\uff0c\u4ee5\u53ca PMS5003ST\uff0c\u989d\u5916\u589e\u52a0\u4e86\u7532\u919b\u6d53\u5ea6\u68c0\u6d4b\u3002\u53e6\u5916 PMS7003 \u867d\u7136\u540c\u6837\u53ef\u4ee5\u4f7f\u7528\uff0c\u4f46\u662f\u56e0\u4e3a\u9700\u8981\u989d\u5916\u8f6c\u63a5\u677f\uff0c\u4e0d\u80fd\u76f4\u63a5\u4f7f\u7528 1.25mm 8P \u8fde\u63a5\u7ebf\uff0c\u56e0\u6b64\u5e76\u4e0d\u63a8\u8350\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-mhz19.png\" alt=\"MH-Z19B\" style=\"width:200px\" \/><\/td>\n<td>\u4e8c\u6c27\u5316\u78b3\u6d53\u5ea6<\/td>\n<td>MH-Z19B<\/td>\n<td>120<\/td>\n<td>\u53ef\u4ee5\u68c0\u6d4b 400-5000 ppm \u8303\u56f4\u7684\u4e8c\u6c27\u5316\u78b3\u6d53\u5ea6\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u91c7\u7528 SenseAir S8 \u4f20\u611f\u5668\uff0c\u5b83\u4eec\u7684\u5f15\u811a\u4f4d\u7f6e\u548c\u5b9a\u4e49\u90fd\u5b8c\u5168\u4e00\u81f4\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-bh1750.png\" alt=\"BH1750\" style=\"width:200px\" \/><\/td>\n<td>\u5149\u7167\u5f3a\u5ea6<\/td>\n<td>BH1750<\/td>\n<td>4<\/td>\n<td>\u5982\u679c\u4f7f\u7528\u5149\u654f\u7535\u963b\u8fd8\u9700\u8981\u989d\u5916\u6362\u7b97\uff0c\u8fd8\u662f\u76f4\u63a5\u91c7\u7528\u4f20\u611f\u5668\u66f4\u7b80\u5355\u76f4\u63a5\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-touch-sensor.png\" alt=\"TTP223\" style=\"width:200px;\" \/><\/td>\n<td>\u89e6\u6478\u6309\u94ae<\/td>\n<td>TTP223<\/td>\n<td>0.3<\/td>\n<td>\u8fd9\u4e2a\u6a21\u5757\u89e6\u6478\u611f\u5e94\u8ddd\u79bb\u5927\uff0c\u53ef\u4ee5\u9694\u7740\u5916\u58f3\u5b8c\u6210\u89e6\u6478\u64cd\u4f5c\uff0c\u7528\u6765\u5207\u6362\u4fe1\u606f\u9875\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-nodemcu32s.png\" alt=\"NodeMCU-32S\" style=\"width:200px;;\" \/><\/td>\n<td>\u5355\u7247\u673a<\/td>\n<td>NodeMCU-32S<\/td>\n<td>22<\/td>\n<td>\u76f4\u63a5\u9009\u7528\u5e38\u89c1\u7684 NodeMCU-32S \u5f00\u53d1\u677f\uff0c\u4ef7\u683c\u4fbf\u5b9c\uff0c\u8fd8\u53ef\u4ee5\u76f4\u63a5\u7ed9\u4f20\u611f\u5668\u63d0\u4f9b 3.3V \u4f9b\u7535\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-lcd.png\" alt=\"1.54 LCD\" style=\"width:200px\" \/><\/td>\n<td>\u5c4f\u5e55<\/td>\n<td>1.54 LCD<\/td>\n<td>20<\/td>\n<td>1.54 \u5bf8 SPI \u63a5\u53e3 IPS \u5c4f\u5e55\uff1a\u5206\u8fa8\u7387 240x240\uff0c\u4e3b\u63a7 ST7789V\u3002<\/td>\n<\/tr>\n<tr>\n<td><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-part-eink.png\" alt=\"1.54 E-ink\" style=\"width:200px;\" \/><\/td>\n<td>\u5c4f\u5e55<\/td>\n<td>1.54 E-ink<\/td>\n<td>30<\/td>\n<td>1.54 \u5bf8 SPI \u63a5\u53e3 E-ink \u5c4f\u5e55\uff1a\u5355\u8272\u5c4f\uff0c\u53ea\u652f\u6301\u9ed1\u767d\uff0c\u5206\u8fa8\u7387 200x200\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u6ce8\uff1a\u8868\u683c\u4e2d\u7684\u4ef7\u683c\u4e3a\u6dd8\u5b9d\u4e0a\u5927\u81f4\u4ef7\u683c\uff0c\u968f\u5356\u5bb6\u4e0d\u540c\u4ef7\u683c\u4e5f\u4f1a\u4e0d\u592a\u76f8\u540c\u3002<\/strong><\/p>\n<p>\u4e0d\u7b97\u4e0a PCB\u30013D \u6253\u5370\u5916\u58f3\u548c M2 \u87ba\u4e1d\u7684\u8bdd\uff0c\u4e00\u4e2a\u68c0\u6d4b\u8282\u70b9\u7684\u6210\u672c\u5927\u6982\u662f 260 \u5de6\u53f3\u3002<\/p>\n<p>\u5907\u9009\u4e00\u4e2a\u7535\u5b50\u58a8\u6c34\u5c4f\u662f\u56e0\u4e3a\u4e4b\u524d\u8d2d\u4e70\u4e86\u51e0\u5757 1.54 \u5bf8\u7684\u58a8\u6c34\u5c4f\uff0c\u521a\u597d\u53ef\u4ee5\u5c1d\u8bd5\u653e\u5728\u4e0d\u9700\u8981\u80cc\u5149\u7684\u573a\u5408\uff0c\u4ee5\u53ca\u4f20\u611f\u5668\u7684\u5237\u65b0\u7387\u4e00\u822c\u4e0d\u9700\u8981\u5f88\u9ad8\uff0c\u7535\u5b50\u58a8\u6c34\u5c4f\u53ef\u4ee5\u6ee1\u8db3\u9700\u6c42\u3002<\/p>\n<p>\u5f53\u7136\u8fd9\u91cc\u9009\u62e9 ESP32 \u800c\u6ca1\u6709\u9009\u62e9 ESP32-S2 \u6216\u8005 ESP32-S3 \u7b49\uff0c\u5b83\u4e0d\u5177\u5907 PSRAM\uff0c\u56e0\u6b64\u5728\u9a71\u52a8 LCD \u5c4f\u5e55\u7684\u65f6\u5019\uff0c\u6ca1\u529e\u6cd5\u76f4\u63a5\u4f7f\u7528 DMA \u4f20\u8f93\u6570\u636e\uff0c\u5728\u5237\u65b0\u7387\u4e0a\u4f1a\u6709\u4e00\u4e9b\u6b20\u7f3a\uff0c\u4e0d\u8fc7\u540c\u6837\u7531\u4e8e\u4f20\u611f\u5668\u6570\u636e\u5237\u65b0\u9891\u7387\u5e76\u4e0d\u4f1a\u592a\u9ad8\uff0c\u8fd9\u4e2a\u7f3a\u9677\u4e5f\u662f\u53ef\u4ee5\u63a5\u53d7\u7684\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%8A%9F%E8%83%BD\"><\/span>\u529f\u80fd<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4f5c\u4e3a\u4e00\u4e2a\u73af\u5883\u6570\u636e\u68c0\u6d4b\u8282\u70b9\uff0c\u9700\u8981\u5177\u5907\u6570\u636e\u4e0a\u62a5\u80fd\u529b\uff0c\u540c\u65f6\u9700\u8981\u53ef\u4ee5\u901a\u8fc7\u5c4f\u5e55\u76f4\u89c2\u67e5\u770b\u5f53\u524d\u73af\u5883\u6570\u636e\uff0c\u56e0\u6b64\u5b83\u9700\u8981\u5177\u5907\u4ee5\u4e0b\u529f\u80fd\uff1a<\/p>\n<ul>\n<li>\u6982\u89c8\u9875\u9762\uff0c\u53ef\u4ee5\u76f4\u89c2\u67e5\u770b\u5404\u79cd\u73af\u5883\u6570\u636e\u7684\u5f53\u524d\u6570\u503c\uff0c\u4f8b\u5982\u5f53\u524d\u6e29\u5ea6\u3001\u6e7f\u5ea6\u3001PM 2.5 \u4ee5\u53ca\u4e8c\u6c27\u5316\u78b3\u6d53\u5ea6\u3002<\/li>\n<li>\u5404\u9879\u6570\u636e\u7684\u5386\u53f2\u8d8b\u52bf\u6570\u636e\uff0c\u901a\u8fc7\u8bb0\u5f55\u8fc7\u53bb 12 \u5c0f\u65f6\u7684\u6570\u636e\u5e76\u901a\u8fc7\u56fe\u8868\u5c55\u793a\u73af\u5883\u6570\u636e\u7684\u53d8\u5316\u8d8b\u52bf\u3002<\/li>\n<li>\u7279\u5b9a\u4f20\u611f\u5668\u7684\u8be6\u60c5\u6570\u636e\uff0c\u4f8b\u5982\u6500\u85e4 PMS5003 \u53ef\u4ee5\u540c\u65f6\u68c0\u6d4b PM 1.0\u3001PM 2.5\u3001PM 10 \u6d53\u5ea6\uff0c\u5728\u6982\u89c8\u9875\u9762\u65e0\u6cd5\u5c55\u793a\u5b8c\u5168\uff0c\u5c31\u53ef\u4ee5\u5728\u8be6\u60c5\u9875\u9762\u5c55\u793a\u51fa\u6765\u3002<\/li>\n<li>\u8bbe\u5907\u4fe1\u606f\u754c\u9762\uff0c\u53ef\u4ee5\u5c55\u793a\u5f53\u524d\u8bbe\u5907\u7684\u540d\u79f0\u3001Wi-Fi \u8fde\u63a5\u60c5\u51b5\u3001\u8fd0\u884c\u65f6\u95f4\u7b49\u57fa\u7840\u4fe1\u606f\u3002<\/li>\n<li>\u6570\u636e\u4e0a\u62a5\u80fd\u529b\uff0c\u6211\u9700\u8981\u5c06\u6240\u6709\u73af\u5883\u6570\u636e\u91c7\u96c6\u5e76\u5b58\u50a8\u5230 InfluxDB \u4e2d\uff0c\u8fd9\u9700\u8981\u56fa\u4ef6\u80fd\u5c06\u6570\u636e\u4e0a\u62a5\u5230 Domoticz \u4e2d\uff0c\u7531 Domoticz \u5b58\u50a8\u5230 InfluxDB\u3002<\/li>\n<li>\u6279\u91cf\u90e8\u7f72\u80fd\u529b\uff0c\u56e0\u4e3a\u4f1a\u6709\u591a\u4e2a\u8282\u70b9\uff0c\u800c\u5728\u91cd\u65b0\u7f16\u5199\u80fd\u529b\u4e4b\u540e\uff0c\u9700\u8981\u80fd\u6279\u91cf\u5c06\u6240\u6709\u8282\u70b9\u7684\u56fa\u4ef6\u8fdb\u884c\u6279\u91cf\u66f4\u65b0\u3002<\/li>\n<\/ul>\n<p>\u5f53\u7136\u5728\u73b0\u5728\u5df2\u7ecf\u6709\u5f88\u591a IoT \u7684\u5f00\u6e90\u56fa\u4ef6\uff0c\u8981\u5b9e\u73b0\u8fd9\u4e9b\u529f\u80fd\uff0c\u5e76\u4e0d\u9700\u8981\u81ea\u5df1\u4ece\u5934\u5b9e\u73b0\uff0c\u800c\u6ee1\u8db3\u6211\u8fd9\u4e9b\u9700\u6c42\uff0c\u53c8\u5177\u5907\u6bd4\u8f83\u9ad8\u7075\u6d3b\u6027\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u5c31\u662f ESPHome \u4e86\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ESPHome\"><\/span>ESPHome<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<blockquote>\n<p>ESPHome is a system to control your ESP8266\/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/esphome.io\/\">ESPHome<\/a> \u662f\u4e00\u4e2a\u914d\u7f6e\u5316\u751f\u6210 ESP32\/ESP8266 \u56fa\u4ef6\u7684\u7cfb\u7edf\uff0c\u56e0\u6b64\u5b83\u5929\u7136\u5177\u5907\u4e86\u63d0\u524d\u914d\u7f6e\u4e14\u672c\u5730\u7f16\u8f91\u914d\u7f6e\u7684\u4f18\u52bf\uff0c\u53ef\u4ee5\u5728\u4f20\u611f\u5668\u786e\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0c\u76f4\u63a5\u5c06\u6240\u6709\u4f20\u611f\u5668\u914d\u7f6e\u597d\uff0c\u76f4\u63a5\u751f\u6210\u5bf9\u5e94\u7684\u56fa\u4ef6\uff0c\u5e76\u4e14\u5b83\u8fd8\u53ef\u4ee5\u76f4\u63a5\u7f16\u5199 Lambda \u4ee3\u7801\uff0c\u5bf9\u4e8e\u65e0\u6cd5\u76f4\u63a5\u4f7f\u7528\u914d\u7f6e\u6765\u751f\u6210\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u76f4\u63a5\u7f16\u5199\u4ee3\u7801\u6765\u5b8c\u6210\u3002<\/p>\n<p>ESPHome \u7684 Lambda \u4ee3\u7801\u5176\u5b9e\u5c31\u662f C++ \u4e2d\u7684 Lambda \u51fd\u6570\uff0c\u5728\u6700\u7ec8\u7f16\u8bd1\u9636\u6bb5\u4f1a\u76f4\u63a5\u6574\u5408\u5230\u9879\u76ee\u4e2d\u4e00\u8d77\u8fdb\u884c\u7f16\u8bd1\uff0c\u56e0\u6b64\u53ea\u8981\u4e86\u89e3\u4e86\u6700\u7ec8\u751f\u6210\u4ee3\u7801\u7684\u903b\u8f91\u7ed3\u6784\uff0c\u5c31\u53ef\u4ee5\u5c06\u8fd9\u4e2a Lambda \u5199\u7684\u5f88\u7075\u6d3b\uff0c\u4e0d\u53d7\u5236\u4e8e\u5b83\u81ea\u8eab\u63d0\u4f9b\u7684\u793a\u4f8b\u4e2d\u6240\u63d0\u4f9b\u7684\u683c\u5f0f\u3002<\/p>\n<p>\u4f8b\u5982\u50cf\u52a0\u5165\u5bf9 Domoticz \u7684\u652f\u6301\uff0c\u5c31\u662f\u4f7f\u7528\u4e86 Lambda + MQTT Publish \u7684\u80fd\u529b\u6765\u5b8c\u6210\uff0c<\/p>\n<p>\u53e6\u5916\u5c31\u50cf\u4e0a\u9762\u8bf4\u7684\uff0cESPHome \u7684 Lambda \u5b9e\u9645\u5c31\u662f C++ \u4ee3\u7801\uff0c\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e9b\u5947\u602a\u7684\u64cd\u4f5c\uff0c\u6765\u5b8c\u6210\u7279\u5b9a\u60c5\u51b5\u4e0b\u7684\u4ee3\u7801\u590d\u7528\uff0c\u4f8b\u5982\u5728\u4f20\u611f\u5668\u8be6\u7ec6\u6570\u636e\u9875\u9762\uff0c\u90fd\u9700\u8981\u7ed8\u5236\u5f53\u524d\u6570\u503c\u548c\u4e00\u4e2a\u5386\u53f2\u6570\u636e\u8d8b\u52bf\u56fe\uff0c\u8fd9\u4e2a\u65f6\u5019\u53ef\u4ee5\u901a\u8fc7 <code>globals<\/code> \u6765\u5b9e\u73b0\u4e00\u4e2a\u53ef\u590d\u7528\u7684\u7ed8\u56fe\u51fd\u6570\uff0c\u7136\u540e\u5728\u663e\u793a\u7ec4\u4ef6\u7684 Lambda \u4ee3\u7801\u4e2d\u76f4\u63a5\u53bb\u8c03\u7528\uff1a<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-lambda-draw-graph.png\" style=\"zoom:50%;\" \/><\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0cESPHome \u8fd8\u652f\u6301 <code>!include<\/code> \u8fd9\u6837\u7684\u6269\u5c55\u6307\u4ee4\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5c06\u5404\u79cd\u914d\u7f6e\u6587\u4ef6\u6a21\u5757\u5316\u5206\u5e03\uff0c\u901a\u8fc7\u6307\u4ee4\u6700\u7ec8\u7ec4\u5408\u8d77\u6765\uff0c\u5728\u6574\u4f53\u7ed3\u6784\u4e0a\u53ef\u4ee5\u66f4\u6e05\u6670\uff0c\u5e76\u4e14\u901a\u8fc7 <code>!include<\/code> \u8fd8\u53ef\u4ee5\u5b9e\u73b0\u5728\u7f16\u8bd1\u671f\u6307\u5b9a\u4f20\u611f\u5668\u53ef\u66ff\u6362\u578b\u53f7\u7684\u4e92\u76f8\u66ff\u6362\uff0c\u8fd9\u5bf9\u6279\u91cf\u90e8\u7f72\u6765\u8bf4\u53c8\u7701\u4e86\u4e00\u90e8\u5206\u5de5\u4f5c\u91cf\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E6%89%B9%E9%87%8F%E9%83%A8%E7%BD%B2\"><\/span>\u6279\u91cf\u90e8\u7f72<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ESPHome \u652f\u6301\u901a\u8fc7\u7f51\u7edc\u8fdb\u884c OTA \u66f4\u65b0\u56fa\u4ef6\uff0c\u4f46\u662f\u5982\u679c\u6bcf\u6b21\u914d\u7f6e\u6587\u4ef6\u6709\u66f4\u65b0\u65f6\uff0c\u901a\u8fc7 ESPHome \u81ea\u5e26\u7684\u547d\u4ee4\u884c\u53bb\u8fdb\u884c OTA \u66f4\u65b0\u64cd\u4f5c\u7684\u8bdd\uff0c\u8fd8\u662f\u4e00\u4e2a\u6bd4\u8f83\u9ebb\u70e6\u7684\u4e8b\u60c5\uff0c\u6bd5\u7adf\u5728\u5bb6\u91cc\u603b\u5171\u4e5f\u6709 5 \u4e2a\u8282\u70b9\uff0c\u800c\u4e14\u6bcf\u4e2a\u8282\u70b9\u7684\u4f20\u611f\u5668\u914d\u7f6e\u8fd8\u4f1a\u7a0d\u5fae\u6709\u4e00\u4e9b\u533a\u522b\uff0c\u56e0\u6b64\u6211\u5199\u4e86\u4e00\u4e2a\u811a\u672c\uff0c\u901a\u8fc7\u914d\u7f6e\u914d\u7f6e\u8282\u70b9\u8bbe\u5907\u914d\u7f6e CSV\uff0c\u6765\u81ea\u52a8\u7f16\u8bd1\u5bf9\u5e94\u7684\u56fa\u4ef6\u5e76\u8fdb\u884c OTA \u66f4\u65b0\u64cd\u4f5c\u3002<\/p>\n<p>\u5e76\u4e14\u901a\u8fc7\u8fd9\u6837\u4e00\u4e2a\u8bbe\u5907\u914d\u7f6e\u8868\u683c\uff0c\u4e5f\u80fd\u5f88\u6e05\u695a\u7684\u77e5\u9053\u76ee\u524d\u8fd9\u4e9b\u8282\u70b9\u6240\u4f7f\u7528\u7684\u4f20\u611f\u5668\u578b\u53f7\u662f\u4ec0\u4e48\uff0c\u8fd9\u6837\u5728\u540e\u7eed\u4f20\u611f\u5668\u5931\u6548\u7684\u60c5\u51b5\u4e0b\uff0c\u4e5f\u5f88\u5bb9\u6613\u53bb\u8d2d\u4e70\u5bf9\u5e94\u7684\u66ff\u4ee3\u578b\u53f7\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2022\/12\/aircube-device-table.png\" style=\"zoom:50%;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E7%BB%84%E8%A3%85\"><\/span>\u7ec4\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u62c6\u88c5\uff0cPCB \u548c\u5916\u58f3\u4ee5\u53ca\u80cc\u677f\uff0c\u90fd\u4f7f\u7528\u4e86 M2*5 \u7684\u81ea\u653b\u87ba\u4e1d\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%BC%80%E6%BA%90\"><\/span>\u5f00\u6e90<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u53ef\u4ee5\u5728 GitHub \u9879\u76ee\u4e2d\u627e\u5230\u76f8\u5173\u7684 ESPHome \u914d\u7f6e\u6587\u4ef6\u30013D \u6253\u5370\u5916\u58f3\u6a21\u578b\u548c PCB \u5236\u9020\u6587\u4ef6\u3002<\/p>\n<p>GitHub\uff1a<a href=\"https:\/\/github.com\/ohdarling\/AirCube\">AirCube<\/a><\/p>\n<p>\u710a\u63a5\u548c\u7ec4\u88c5\u65f6\u5efa\u8bae\u53c2\u8003 PCB \u6587\u4ef6\uff0c\u53ef\u4ee5\u5728 <a href=\"https:\/\/oshwhub.com\/wandaeda\/aircube\">\u7acb\u521b\u5f00\u6e90\u5e73\u53f0 AirCube<\/a> \u67e5\u770b\u6e90\u6587\u4ef6\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%85%B6%E4%BB%96\"><\/span>\u5176\u4ed6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u667a\u80fd\u5bb6\u5c45\u4e2d\uff0c\u5176\u4ed6\u4e00\u4e9b\u4f8b\u5982\u6570\u636e\u53ef\u89c6\u5316\u5c55\u793a\u3001\u667a\u80fd\u8054\u52a8\u7b49\u73a9\u6cd5\uff0c\u4e5f\u53ef\u4ee5\u53c2\u8003\u6211\u4ee5\u524d\u5206\u4eab\u7684\u6587\u7ae0 <a href=\"https:\/\/xujiwei.com\/blog\/tags\/%e7%8e%a9%e7%8e%a9%e6%99%ba%e8%83%bd%e5%ae%b6%e5%b1%85\/\">\u73a9\u73a9\u667a\u80fd\u5bb6\u5c45\u7cfb\u5217<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6e90\u7531 \u4e00\u76f4\u4ee5\u6765\u5bf9\u5bb6\u91cc\u7684\u73af\u5883\u72b6\u6001\u6bd4\u8f83\u5728\u610f\uff0c\u5728\u5f88\u591a\u5e74\u4ee5\u524d\uff0c\u5c31\u4f7f\u7528\u4e07\u7528\u677f + ESP8 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2022\/12\/aircube-diy-environment-monitor-station\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":1044,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[167],"tags":[169,251,328,258,327,279,335,336,254],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/1042"}],"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=1042"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/1042\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media\/1044"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=1042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=1042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}