{"id":2875,"date":"2023-08-06T18:09:08","date_gmt":"2023-08-06T10:09:08","guid":{"rendered":"https:\/\/104.es\/?p=2875"},"modified":"2023-08-06T18:09:09","modified_gmt":"2023-08-06T10:09:09","slug":"nodemcu-wifi","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2023\/08\/06\/nodemcu-wifi\/","title":{"rendered":"\u3010NodeMCU\u3011WiFi\u8207\u7db2\u8def\u9023\u7dda"},"content":{"rendered":"\n<p>\u548cArduino\u6700\u4e0d\u4e00\u6a23\u7684\u5730\u65b9\u5728\u65bc\uff0cNodeMCU\u672c\u8eab\u5c31\u5167\u5efaWi-Fi\u6676\u7247\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f4\u63a5\u9a45\u52d5\u4f7f\u7528\uff0c\u800c\u5728MicroPython\u4e2d\u4e5f\u6709\u5167\u5efa\u7684\u6307\u4ee4\u53ef\u4ee5\u8b93\u4f60\u7684NodeMCU\u79d2\u8b8a\u9023\u7db2\u88dd\u7f6e\uff0c\u73fe\u5728\u5c31\u8b93\u6211\u5011\u4f86\u770b\u770b\u5427\uff01<\/p>\n\n\n\n<p>\u5728Wi-Fi\u7684\u7db2\u8def\u74b0\u5883\u4e2d\u4e3b\u8981\u6709\u5169\u7a2e\u8a2d\u5099\uff0c\u5206\u5225\u662f\u4f5c\u70ba\u5b58\u53d6\u7bc0\u9ede\u7684Access Point\uff08AP\uff09\uff0c\u4e5f\u5c31\u662f\u4e00\u822c\u6211\u5011\u5e38\u8aaa\u7684\u57fa\u5730\u53f0\uff0c\u4ee5\u53ca\u50cf\u662f\u6211\u5011\u7684\u624b\u6a5f\u6216\u662f\u7b46\u96fb\u5728\u4e0a\u7db2\u6642\u6240\u626e\u6f14\u7684\u89d2\u8272Station\uff08STA\uff09\u3002\u5982\u679c\u4f60\u662fAP\uff0c\u5c31\u53ef\u4ee5\u7576\u505a\u662f\u57fa\u5730\u53f0\u5171\u5176\u5b83\u7684\u8a2d\u5099\u9023\u63a5\uff0c\u63d0\u4f9b\u7db2\u8def\u8cc7\u8a0a\uff0c\u5982\u679c\u662fSTA \u7684\u8a71\uff0c\u5247\u662f\u7528\u4f86\u9023\u63a5\u5230\u5225\u4eba\u53d6\u5f97\u8cc7\u8a0a\u6216\u628aAP\u7576\u505a\u662f\u4e0a\u7db2\u7684\u7ba1\u9053\u7684\u88dd\u7f6e\u3002<\/p>\n\n\n\n<p>\u7c21\u55ae\u5730\u8aaa\uff0cAP\u53ef\u4ee5\u88ab\u5225\u4eba\u9023\u5165\uff0c\u800cSTA\u5247\u662f\u7528\u4f86\u9023\u5225\u4eba\u7684\uff0c\u5225\u4eba\u4e0d\u80fd\u9023\u4e0aSTA\u3002NodeMCU\u7684\u677f\u5b50\u652f\u63f4\u4e0a\u8ff0\u5169\u7a2e\u89d2\u8272\u8b93\u6211\u5011\u81ea\u5df1\u9078\u64c7\u4f7f\u7528\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ba-nodemcu-dang-zuo-shi-ji-di-tai-ap\">\u628aNodeMCU\u7576\u505a\u662f\u57fa\u5730\u53f0AP<a href=\"#ba-nodemcu-dang-zuo-shi-ji-di-tai-ap\"><\/a><\/h2>\n\n\n\n<p>\u901a\u5e38\u5982\u679c\u6c92\u6709\u7279\u5225\u8a2d\u5b9a\u7684\u8a71\uff0cNodeMCU\u5728MicroPython\u7684\u97cc\u9ad4\u5b89\u88dd\u5b8c\u7562\u4e4b\u5f8c\uff0c\u5728\u9023\u63a5\u4e0a\u96fb\u6e90\u555f\u52d5\u4e4b\u5f8c\uff0c\u5c31\u662f\u4ee5AP\u7684\u6a21\u5f0f\u904b\u4f5c\uff0c\u4e5f\u5c31\u662f\u5b83\u6703\u88ab\u52d5\u5730\u7b49\u5f85\u5176\u5b83\u88dd\u7f6e\u7684\u9023\u7dda\uff0c\u800c\u4e14\u5b83\u6703\u6bcf\u9694\u4e00\u6bb5\u6642\u9593\u5c31\u5728Wi-Fi\u4fe1\u865f\u4e0a\u767c\u4f48\u5b83\u7684\u8b58\u5225\u540d\u7a31\uff08Service Set IDentifier\uff0cSSID\uff09\uff0c\u9810\u8a2d\u7684SSID\u662f\u4ee5MicroPython\u5b57\u4e32\u4f5c\u70ba\u555f\u59cb\uff0c\u900f\u904e\u624b\u6a5f\u7684Wi-Fi\u641c\u5c0b\u5c31\u53ef\u4ee5\u770b\u5230\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/104.es\/wp-content\/uploads\/2023\/08\/image-52-576x1024.png\" alt=\"\" class=\"wp-image-2876\" width=\"280\" height=\"498\" srcset=\"https:\/\/104.es\/wp-content\/uploads\/2023\/08\/image-52-576x1024.png 576w, https:\/\/104.es\/wp-content\/uploads\/2023\/08\/image-52-169x300.png 169w, https:\/\/104.es\/wp-content\/uploads\/2023\/08\/image-52-600x1067.png 600w, https:\/\/104.es\/wp-content\/uploads\/2023\/08\/image-52.png 750w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/figure>\n<\/div>\n\n\n<p>\u6b64\u6642\u5982\u679c\u4f60\u7684\u96fb\u8166\u6216\u662f\u7b46\u96fb\u7b49\u7b49\u88dd\u7f6e\u5c31\u53ef\u4ee5\u9078\u7528\u90a3\u500bMicroPython-b4525d\u7684\u57fa\u5730\u53f0\uff0c\u76f4\u63a5\u9023\u7dda\u5c31\u53ef\u4ee5\u4e86\u3002\u9810\u8a2d\u7684\u5bc6\u78bc\u662fmicropythoN\u3002\u9023\u63a5\u4e4b\u5f8c\u6703\u53d6\u5f97\u4e00\u500b192.168.4.2\u7684IP\u4f4d\u5740\uff0c\u800c\u57fa\u5730\u53f0\u7684IP\u5247\u662f192.168.4.1\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\uff0c\u56e0\u70ba\u5b83\u63d0\u4f9b\u7684\u529f\u80fd\u4e26\u4e0d\u80fd\u76f4\u63a5\u5f9e\u700f\u89bd\u5668\u4e2d\u64cd\u4f5c\u4f7f\u7528\uff0c\u800c\u662f\u8981\u900f\u904eWebREPL\u9032\u884c\u9023\u7dda\u64cd\u4f5c\uff0c\u56e0\u70ba\u9084\u53bb\u53bbGitHub\u4e2d\u4e0b\u8f09\u652f\u63f4\u7684\u7db2\u9801\uff08<a href=\"https:\/\/github.com\/micropython\/webrepl\">https:\/\/github.com\/micropython\/webrepl<\/a>\uff09\uff0c\u6709\u8208\u8da3\u7684\u540c\u5b78\u5c31\u81ea\u5df1\u7df4\u7fd2\u770b\u770b\u5427\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ba-nodemcu-dang-zuo-shi-lian-xian-zhuang-zhi-sta\">\u628aNodeMCU\u7576\u505a\u662f\u9023\u7dda\u88dd\u7f6eSTA<a href=\"#ba-nodemcu-dang-zuo-shi-lian-xian-zhuang-zhi-sta\"><\/a><\/h2>\n\n\n\n<p>\u7531\u65bc\u628aNodeMCU\u7576\u6210\u57fa\u5730\u53f0\u7684\u65b9\u5f0f\u5c31\u6c92\u6709\u8fa6\u6cd5\u4e0a\u9023\u4e0a\u7db2\u969b\u7db2\u8def\u4e86\uff0c\u6240\u4ee5\u5728\u5be6\u7528\u4e0a\uff0c\u5927\u5bb6\u9084\u662f\u6bd4\u8f03\u5e38\u628aNodeMCU\u7576\u505a\u662f\u9023\u7dda\u88dd\u7f6eSTA\u4f86\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u8981\u628aNodeMCU\u7576\u505a\u662fSTA\uff0c\u9700\u8981\u5148\u532f\u5165network\u6a21\u7d44\uff0c\u7136\u5f8c\u900f\u904e\u6b64\u6a21\u7d44\u555f\u7528STA\u6a21\u5f0f\uff0c\u8acb\u57f7\u884c\u4ee5\u4e0b\u7684\u7a0b\u5f0f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import network\r\nwlan = network.WLAN(network.STA_IF)\r\nwlan.active(True)\r\nwlan.scan()\r\nwlan.ifconfig()\r\nwlan.connect('YourSSID', 'YourPassword')\r\nwlan.ifconfig()<\/code><\/pre>\n\n\n\n<p>\u5728\u4f60\u8f38\u5165\u4e86\u6b63\u78ba\u7684SSID\u548c\u5bc6\u78bc\u4e4b\u5f8c\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u5982\u4e0b\u6240\u793a\u7684\u7db2\u8def\u4f4d\u5740\u8cc7\u8a0a\u4e86\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>> wlan.ifconfig()\r\n('192.168.43.150', '255.255.255.0', '192.168.43.1', '192.168.43.1')<\/code><\/pre>\n\n\n\n<p>\u6709\u4e86\u9019\u500b\u4f4d\u5740\uff0c\u4e5f\u4ee3\u8868\u4f60\u7684NodeMCU\u5df2\u7d93\u80fd\u5920\u900f\u904e\u57fa\u5730\u53f0\u9023\u7dda\u5230\u7db2\u969b\u7db2\u8def\u4e0a\u7684\u6240\u6709\u670d\u52d9\u4e86\uff0c\u5176\u5b83\u7684\u90e8\u4efd\u5c31\u770b\u4f60\u7684Python\u7a0b\u5f0f\u8a2d\u8a08\u529f\u529b\u56c9\u3002<\/p>\n\n\n\n<p>\u9664\u4e86ifconfig()\u53ef\u4ee5\u67e5\u8a62\u76ee\u524d\u7684\u7db2\u8def\u9023\u7dda\u72c0\u614b\u4e4b\u5916\uff0c\u5982\u679c\u55ae\u7d14\u53ea\u662f\u60f3\u77e5\u9053\u76ee\u524d\u7684\u9023\u7dda\u662f\u5426\u6b63\u5e38\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u7684\u51fd\u6578\u4f86\u67e5\u8a62\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>> wlan.status()\r\n5<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528status()\u65b9\u6cd5\u51fd\u6578\u6709\u5e7e\u500b\u53ef\u80fd\u7684\u50b3\u56de\u503c\uff0c\u5206\u8ff0\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0\uff1a\u6c92\u6709\u9023\u7dda\u6216\u662f\u6c92\u6709\u555f\u7528<\/li>\n\n\n\n<li>1\uff1a\u9023\u7dda\u4e2d<\/li>\n\n\n\n<li>2\uff1a\u56e0\u5bc6\u78bc\u932f\u8aa4\u800c\u7121\u6cd5\u9023\u7dda<\/li>\n\n\n\n<li>3\uff1a\u56e0\u627e\u4e0d\u5230\u57fa\u5730\u53f0\u800c\u7121\u6cd5\u9023\u7dda<\/li>\n\n\n\n<li>4\uff1a\u56e0\u5176\u5b83\u932f\u8aa4\u800c\u7121\u6cd5\u9023\u7dda<\/li>\n\n\n\n<li>5\uff1a\u5df2\u9023\u7dda\uff0c\u4e26\u5df2\u53d6\u5f97IP\u4f4d\u5740<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"xiao-zheng-nodemcu-de-shi-jian\">\u6821\u6b63NodeMCU\u7684\u6642\u9593<a href=\"#xiao-zheng-nodemcu-de-shi-jian\"><\/a><\/h2>\n\n\n\n<p>\u5728\u9023\u7dda\u4e0a\u7db2\u4e4b\u5f8c\u7684\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u8981\u6821\u6b63NodeMCU\u7684\u6642\u9593\u3002\u56e0\u70baNodeMCU\u672c\u8eab\u4e26\u6c92\u6709RTC\u6a21\u7d44\uff0c\u56e0\u6b64\u5b83\u4e0d\u80fd\u5920\u8a18\u4f4f\u6642\u9593\uff0c\u4e5f\u5c31\u662f\u6bcf\u4e00\u6b21\u53ea\u8981\u901a\u96fb\u7684\u6642\u5019\u624d\u6703\u958b\u59cb\u8a08\u6642\uff0c\u7576\u96fb\u6e90\u5207\u65b7\u4e0b\u6b21\u518d\u901a\u96fb\u6642\uff0c\u6240\u8a2d\u5b9a\u7684\u6642\u9593\u53c8\u6703\u5168\u90e8\u9084\u539f\uff0c\u56e0\u6b64\uff0c\u6211\u5011\u9700\u8981\u900f\u904e\u7db2\u8defNTP\u670d\u52d9\u4f86\u6821\u6b63NodeMCU\u7684\u6642\u9418\u3002<\/p>\n\n\n\n<p>MicroPython\u652f\u63f4\u7684\u6642\u9593\u51fd\u6578\u6a21\u7d44\u6700\u57fa\u672c\u7684\u662ftime\uff0c\u4f7f\u7528time.time ()\u53ef\u4ee5\u53d6\u5f97\u5f9eNodeMCU\u63a5\u4e0a\u96fb\u6e90\u4e4b\u5f8c\u5230\u76ee\u524d\u70ba\u6b62\u7d93\u904e\u7684\u79d2\u6578\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>> import time\r\n>>> time.time()\r\n5\r\n>>> import network\r\n>>> wlan = network.WLAN(network.STA_IF)\r\n>>> wlan.active(True)\r\n>>> wlan.connect('Z3Skynet', '********')\r\n>>> wlan.ifconfig()\r\n('192.168.43.150', '255.255.255.0', '192.168.43.1', '192.168.43.1')\r\n>>> import time\r\n>>> time.time()\r\n74\r\n>>> now = time.time()\r\n>>> time.localtime(now)\r\n(2000, 1, 1, 0, 1, 18, 5, 1)<\/code><\/pre>\n\n\n\n<p>\u5728\u4e0a\u9762\u7684\u64cd\u4f5c\u904e\u7a0b\u4e2d\uff0c\u6211\u5011\u4f7f\u7528time.time()\u5f97\u5230\u7684\u662f74\u79d2\uff0c\u63a5\u8457\u53ef\u4ee5\u5229\u7528time.localtime(now)\u9019\u500b\u51fd\u6578\u628a\u76ee\u524d\u7684\u79d2\u6578\u63db\u6210\u4eba\u5011\u53ef\u4ee5\u89e3\u8b80\u7684\u5167\u5bb9\uff0c\u5f9e2000\u5e74\u958b\u59cb\u8d77\u7b97\uff0c(2000, 1, 1, 0, 1, 18, 5, 1)\u5206\u5225\u5c31\u4ee3\u8868\u4e862000\u5e741\u67081\u65e50\u66421\u520618\u79d2\u661f\u671f\u4e94\u4ee5\u53ca\u662f\u4eca\u5e74\u7684\u7b2c1\u5929\u3002<\/p>\n\n\n\n<p>\u7576\u7136\u6211\u5011\u53ef\u4ee5\u900f\u904e\u7a0b\u5f0f\u7684\u65b9\u5f0f\u53bb\u624b\u52d5\u5730\u8a2d\u5b9a\u76ee\u524d\u7684\u6b63\u78ba\u6642\u9593\uff0c\u4e0d\u904e\uff0c\u65e2\u7136\u5df2\u7d93\u9023\u4e0a\u7db2\u8def\u4e86\uff0c\u70ba\u4f55\u4e0d\u7528\u7db2\u8def\u4e0a\u7684\u6642\u9593\u4f86\u76f4\u63a5\u8a2d\u5b9a\u5462\uff1f\uff01MicroPython\u5176\u5be6\u63d0\u4f9b\u4e86\u53ef\u4ee5\u76f4\u63a5\u7531\u7db2\u8def\u4f86\u6821\u6b63NodeMCU\u6642\u7684\u51fd\u6578\u6a21\u7d44ntptime\uff0c\u5176\u4e2d\u7684settime()\u51fd\u6578\u5373\u53ef\u81ea\u52d5\u9023\u4e0a\u7db2\u8def\u8a2d\u5b9a\u672c\u5730\u6642\u9593\u3002\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>> from ntptime import settime\r\n>>> settime()\r\n(2018, 11, 12, 7, 51, 0, 0, 316)\r\n>>> time.localtime()\r\n(2018, 11, 12, 7, 51, 4, 0, 316)<\/code><\/pre>\n\n\n\n<p>\u53ea\u8981\u8a2d\u5b9a\u904e\u4e00\u6b21settime()\uff0c\u5c31\u53ef\u4ee5\u5373\u6642\u628a\u672c\u5730\u6642\u9593\u8a2d\u5b9a\u70ba\u6700\u6b63\u78ba\u7684\u6642\u523b\u4e86\u3002\u4e0d\u904e\uff0c\u6709\u4e00\u9ede\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5b83\u662f\u683c\u6797\u5a01\u6cbb\u6642\u9593\uff0c\u53f0\u7063\u7684\u5340\u57df\u6642\u9593\uff08\u4e2d\u539f\u6a19\u6e96\u6642\u9593\uff09\u9084\u8981\u518d\u52a0\u4e0a8\u5c0f\u6642\u624d\u884c\uff0c\u70ba\u4e86\u8a2d\u5b9a\u70ba\u672c\u5730\u7684\u6642\u9593\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u7684\u6280\u5de7\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>> utc = time.mktime(time.localtime())\r\n>>> time.localtime(utc+28800)\r\n(2018, 11, 12, 15, 54, 17, 0, 316)<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d\u7b2c\u4e00\u884c\u4f7f\u7528mktime()\u51fd\u6578\u628a\u76ee\u524d\u7684\u672c\u5730\u6642\u9593\u8f49\u63db\u6210\u79d2\u6578\u653e\u5230utc\u8b8a\u6578\u4e2d\uff0c\u4e4b\u5f8c\u628autc\u52a0\u4e0a28800\uff088\u5c0f\u6642\u7684\u79d2\u6578\uff09\uff0c\u518d\u900f\u904elocaltime()\u51fd\u6578\u628a\u5b83\u8a2d\u5b9a\u56de\u672c\u5730\u6642\u9593\u5373\u53ef\u3002\u6700\u5f8c\uff0c\u6bcf\u6b21\u4f7f\u7528time.localtime()\u5c31\u53ef\u4ee5\u67e5\u8a62\u5230\u76ee\u524d\u7684\u6b63\u78ba\u6642\u9593\u4e86\u3002\u4ee5\u4e0b\u65b9\u6cd5\u53ef\u4ee5\u628a\u6bcf\u4e00\u500b\u55ae\u9805\u5167\u5bb9\uff08\u5e74\u6708\u65e5\u3001\u6642\u5206\u79d2\uff09\u5206\u5225\u53d6\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>> time.localtime()\r\n(2018, 11, 12, 7, 56, 41, 0, 316)\r\n>>> year, month, day, hour, minute, second, week, days = time.localtime()\r\n>>> year\r\n2018\r\n>>> month\r\n11\r\n>>> day\r\n12<\/code><\/pre>\n\n\n\n<p>\u6709\u4e86\u6b63\u78ba\u7684\u6642\u9593\u8cc7\u6599\uff0c\u5728\u8a18\u9304\u6211\u5011\u7684\u611f\u6e2c\u8cc7\u8a0a\u6642\u5c31\u66f4\u6709\u611f\u89ba\u4e86\u3002<\/p>\n\n\n\n<p>\u9019\u4e9b\u7a0b\u5f0f\u78bc\u90fd\u53ef\u4ee5\u5beb\u5728boot.py\u4e2d\uff0c\u8b93NodeMCU\u4e00\u958b\u6a5f\u7684\u6642\u5019\u5c31\u6703\u81ea\u52d5\u5730\u57f7\u884c\u9019\u4e9b\u9023\u7dda\u4ee5\u53ca\u6642\u9593\u7684\u6821\u6b63\u5594\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u548cArduino\u6700\u4e0d\u4e00\u6a23\u7684\u5730\u65b9\u5728\u65bc\uff0cNodeMCU\u672c\u8eab\u5c31\u5167\u5efaWi-Fi\u6676\u7247\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f4\u63a5\u9a45\u52d5\u4f7f\u7528\uff0c\u800c\u5728MicroPython\u4e2d\u4e5f\u6709\u5167\u5efa\u7684\u6307\u4ee4\u53ef\u4ee5\u8b93\u4f60\u7684NodeMCU\u79d2\u8b8a\u9023\u7db2\u88dd\u7f6e\uff0c\u73fe\u5728\u5c31\u8b93\u6211\u5011\u4f86\u770b\u770b\u5427\uff01<\/p>\n","protected":false},"author":1,"featured_media":2877,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13,15],"tags":[],"class_list":["post-2875","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nodemcu","category-python"],"jetpack_featured_media_url":"https:\/\/104.es\/wp-content\/uploads\/2023\/08\/cax85x-ddbk.jpg","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/2875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=2875"}],"version-history":[{"count":1,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/2875\/revisions"}],"predecessor-version":[{"id":2878,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/2875\/revisions\/2878"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media\/2877"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=2875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=2875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=2875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}