{"id":9798,"date":"2020-10-08T08:13:41","date_gmt":"2020-10-07T23:13:41","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=9798"},"modified":"2020-10-08T10:08:45","modified_gmt":"2020-10-08T01:08:45","slug":"post-9798","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2020\/10\/08\/post-9798.html","title":{"rendered":"Termux\u30b9\u30de\u30db\u306eCPU\u6e29\u5ea6\u3092ThingSpeak\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30fb\u30b0\u30e9\u30d5\u306b\u3057\u3066\u307f\u305f\uff01"},"content":{"rendered":"\n
\n\"\u3058\u3083\u3093\u304f\u306f\u3063\u304f\"\n<\/div><\/div><\/div>
\u3058\u3083\u3093\u304f\u306f\u3063\u304f<\/div><\/div>
<\/svg><\/div>
\n

Root\u5316\u3057\u305fPixel3\u306eTermux\u3067\u904a\u3093\u3067\u308b\u3093\u3060\u3051\u3069\u3001CPU\u3068\u304b\u30d0\u30c3\u30c6\u30ea\u30fc\u6e29\u5ea6\u3068\u304b\u53d6\u5f97\u3067\u304d\u308b\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u3088\uff01<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n\n\n\n

<\/svg><\/div>
\n

\u30b5\u30fc\u30d0\u306b\u3059\u308b\u3093\u3060\u3063\u305f\u3089\u3001\u6e29\u5ea6\u306f\u898b\u3066\u304a\u304d\u305f\u3044\u3067\u3059\u304b\u3089\u306d\uff01<\/p>\n<\/div><\/div><\/div><\/div><\/div>

\n\"\u3074\u30fc\"\n<\/div><\/div><\/div>
\u3074\u30fc<\/div><\/div><\/div><\/div><\/div>\n\n\n\n
\n\"\u3058\u3083\u3093\u304f\u306f\u3063\u304f\"\n<\/div><\/div><\/div>
\u3058\u3083\u3093\u304f\u306f\u3063\u304f<\/div><\/div>
<\/svg><\/div>
\n

UnixBench\u3067CPU\u6e29\u5ea6\u304c\u3069\u306e\u304f\u3089\u3044\u307e\u3067\u4e0a\u304c\u308b\u304b\u898b\u3066\u304a\u304d\u305f\u304b\u3063\u305f\u3093\u3067\u3059\u3002<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n\n\n\n

<\/svg><\/div>
\n

\u306d\u3047\u3001ThingSpeak\u3063\u3066\u306a\u3093\u306a\u306e\uff1f<\/p>\n<\/div><\/div><\/div><\/div><\/div>

\n\"\u3074\u30fc\"\n<\/div><\/div><\/div>
\u3074\u30fc<\/div><\/div><\/div><\/div><\/div>\n\n\n\n

\u5148\u65e5\u3001\u30e1\u30eb\u30ab\u30ea\u3067\u30b2\u30c3\u30c8\u3057\u305fPixel3\u3092root\u5316\u3057\u3066\u904a\u3093\u3067\u3044\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u3001\u4eca\u52d5\u3044\u3066\u3044\u308b\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30b5\u30fc\u30d0\u30de\u30b7\u30f3\u3068\u3057\u3066\u3001UmidigiF2\u304b\u3089\u4e00\u65e6\u7f6e\u304d\u63db\u3048\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002UmidigiF2\u3082\u3001root\u5316\u3057\u3066\u904a\u3093\u3067\u307f\u305f\u3044\u306a\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

\u3000\u3055\u3066\u3001\u4eca\u56de\u306f\u30b9\u30de\u30db\u306e\u4e2d\u306b\u3042\u308b\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc\u304b\u3089\u53d6\u5f97\u3057\u3066\u30b0\u30e9\u30d5\u63cf\u753b\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n

ThingSpeak\u3068\u306f<\/h3>\n\n\n\n

ThingSpeak Documentation – MathWorks \u65e5\u672c
\uff1a\uff1a
ThingSpeak<\/a>\u00a0\u306f\u00a0Internet of Things (IoT)<\/a>\u00a0\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3042\u308a\u3001\u30af\u30e9\u30a6\u30c9\u3067\u30bb\u30f3\u30b5\u30fc\u306e\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u304a\u3088\u3073\u4fdd\u5b58\u3057\u305f\u308a\u3001IoT \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<\/p>https:\/\/jp.mathworks.com\/help\/thingspeak\/index.html<\/a><\/cite><\/blockquote>\n\n\n\n

ThigSpeak\u306f\u3001\u7d50\u69cb\u6614\u304b\u3089\u3042\u3063\u3066IoT\u6a5f\u5668\u304b\u3089\u30c7\u30fc\u30bf\u3092\u6295\u3052\u3064\u3051\u308b\u5b9a\u756a\u306eWEB\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\uff14\u3001\uff15\u5e74\u304f\u3089\u3044\u524d\u306b\u3082\u4e00\u5ea6\u3055\u308f\u3063\u3066\u3044\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n

Soracom \u3067 IoT \u306f\u3058\u3081\u307e\u3057\u305f<\/p>https:\/\/hack.gpl.jp\/2016\/05\/29\/iot1\/<\/a><\/cite><\/blockquote>\n\n\n\n

\u3082\u3046\u3001Soracom\u306f\u3084\u3081\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u3053\u306e\u6642\u306fOrange PI \u306bUSB\u30c7\u30fc\u30bf\u901a\u4fe1\u30c9\u30f3\u30b0\u30eb\u3092\u3064\u3051\u3066soracom\u304b\u3089\u3001CPU\u6e29\u5ea6\u3092ThigSpeak\u306b\u9001\u4fe1\u3057\u3066\u30b0\u30e9\u30d5\u5316\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

Pixel3\u3067\u6e29\u5ea6\u306f\u3069\u3046\u3084\u3063\u3066\u53d6\u5f97\u3059\u308b\uff1f<\/h3>\n\n\n\n

root\u5316\u3057\u305f\u306e\u3067\u3001\u3044\u308d\u3093\u306a\u60c5\u5831\u304c\u898b\u308c\u307e\u3059\u3002\u901a\u5e38\u306eLinux\u3068\u306f\u5c11\u3057\u9055\u3046\u306e\u3067\u3001\u3042\u308c\u3053\u308c\u7269\u8272\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c Android \u3067\u3042\u308b Pixel3 \u306f\u3001Termux \u306e root \u30b7\u30a7\u30eb\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b android \u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u53d6\u5f97\u3067\u304d\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u4f8b\u3048\u3070\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u306e\u60c5\u5831\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n

# dumpsys battery\nCurrent Battery Service state:\n  AC powered: true\n  USB powered: false\n  Wireless powered: false\n  Max charging current: 750000\n  Max charging voltage: 5000000\n  Charge counter: 2569000\n  status: 5\n  health: 2\n  present: true\n  level: 100\n  scale: 100\n  voltage: 4355\n  temperature: 270\n  technology: Li-ion<\/code><\/pre>\n\n\n\n

temperature\u3068\u3044\u3046\u304c\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u81ea\u4f53\u306e\u6e29\u5ea6\u306e\u3088\u3046\u3067\u3059\u3002\u4ed6\u306b\u3082\u73fe\u5728\u3001AC\u96fb\u6e90\u304b\u3089\u7d66\u96fb\u3057\u3066\u3044\u308b\u3068\u304b\u3001\u72b6\u614b\uff08health\uff09\u3068\u304b\u308f\u304b\u308b\u3088\u3046\u3067\u3059\u3002\u30b7\u30a7\u30eb\u304b\u3089\u3060\u3068\u4ee5\u4e0b\u306b\u6e29\u5ea6\u304c\u5410\u304b\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

# cat \/sys\/devices\/platform\/soc\/c440000.qcom,spmi\/spmi-0\/spmi0-02\/c440000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2\/power_supply\/battery\/temp\n295\n# cat \/sys\/devices\/platform\/soc\/c440000.qcom,spmi\/spmi-0\/spmi0-02\/c440000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2\/power_supply\/usb\/temp\n284\n# cat \/sys\/devices\/platform\/soc\/c440000.qcom,spmi\/spmi-0\/spmi0-02\/c440000.qcom,spmi:qcom,pmi8998@2:qpnp,fg\/power_supply\/bms\/temp\n295\n# cat \/sys\/devices\/virtual\/thermal\/thermal_zone1\/temp\n34900<\/code><\/pre>\n\n\n\n

\u4e00\u756a\u6700\u5f8c\u306e\u304c\u3001CPU\u306e\u6e29\u5ea6\u306e\u3088\u3046\u3067\u3059\u3002\u672c\u5f53\u306bCPU\u6e29\u5ea6\u306a\u306e\u304b\u3001UnixBench\u3092\u52d5\u304b\u3057\u306a\u304c\u3089\u6e29\u5ea6\u304c\u4e0a\u304c\u308b\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f<\/h3>\n\n\n\n

\u4ee5\u524d\u3001OrengePi\u306e\u3068\u304d\u306b\u52d5\u304b\u3057\u305f Python\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u305d\u308c\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u3042\u306e\u6642\u306f\u3001Python version2\u3067\u66f8\u3044\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u306f\u3000Python Version3\u7cfb\u5217\u304c\u30e1\u30a4\u30f3\u3067\u3059\u30022to3\u3068\u3044\u3046\u30c4\u30fc\u30eb\u304cPython3\u5165\u308c\u308b\u3068\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u3067\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n\n\n\n

2to3 – Python 2 \u304b\u3089 3 \u3078\u306e\u81ea\u52d5\u30b3\u30fc\u30c9\u5909\u63db<\/p>https:\/\/docs.python.org\/ja\/3\/library\/2to3.html<\/a><\/cite><\/blockquote>\n\n\n\n

\u5909\u63db\u306f\u3001-w \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3068\u30aa\u30ea\u30b8\u30ca\u30eb\u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n

$ 2to3 -w temp.py \nRefactoringTool: Skipping optional fixer: buffer\nRefactoringTool: Skipping optional fixer: idioms\nRefactoringTool: Skipping optional fixer: set_literal\nRefactoringTool: Skipping optional fixer: ws_comma\nRefactoringTool: Refactored temp.py\n--- temp.py\t(original)\n+++ temp.py\t(refactored)\n@@ -13,9 +13,9 @@\n     temp = float(t) \/ 1000\n     payload = {'api_key': api_key, 'field1': float(temp)}\n     f.close()\n-    print \"CPU Temp is:%s\"%temp ,\n+    print(\"CPU Temp is:%s\"%temp, end=' ')\n     r = requests.get('http:\/\/api.thingspeak.com\/update', params=payload)\n-    print \"Result: \", r.text\n+    print(\"Result: \", r.text)\n     time.sleep(1.0)\n \n def main():\nRefactoringTool: Files that were modified:\nRefactoringTool: temp.py\n$ ls -l\ntotal 8\n-rw------- 1 u0_a218 u0_a218 573 Oct  8 06:53 temp.py\n-rw------- 1 u0_a218 u0_a218 564 Oct  8 06:52 temp.py.bak<\/code><\/pre>\n\n\n\n

\u5909\u63db\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u5168\u4f53\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002api_key\u306b\u306f\u3001\u66f8\u304d\u8fbc\u307f\u7528\u306eKey\u3092\u5165\u308c\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n

#!\/data\/data\/com.termux\/files\/usr\/bin\/python3\n# coding: utf-8\n\nimport requests\nimport time\napi_key='thingspeak\u3000Write API Key'\n\ndef sender():\n  while True:\n    f = open(\"\/sys\/class\/thermal\/thermal_zone0\/temp\",\"r\")\n    t = f.read()\n    temp = float(t) \/ 1000\n    payload = {'api_key': api_key, 'field1': float(temp)}\n    f.close()\n    print(\"CPU Temp is:%s\"%temp, end=' ')\n    r = requests.get('http:\/\/api.thingspeak.com\/update', params=payload)\n    print(\"Result: \", r.text)\n    time.sleep(1.0)\n\ndef main():\n    sender()\n\nif __name__ == '__main__':\n  main()<\/code><\/pre>\n\n\n\n

\u52d5\u304b\u3057\u3066\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

$ sudo python .\/temp.py\nCPU Temp is:43.1 Result:  236518\nCPU Temp is:31.3 Result:  0\nCPU Temp is:31.3 Result:  0\nCPU Temp is:31.3 Result:  0\nCPU Temp is:31.3 Result:  0\n\uff1a\uff1a<\/code><\/pre>\n\n\n\n

cron\u3067\u5b9a\u671f\u5b9f\u884c<\/h3>\n\n\n\n

Termux\u306bcron\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5165\u3063\u3066\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u5165\u308c\u3066\u8d77\u52d5\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n

$ pkg install cronie -y\n$ crond<\/code><\/pre>\n\n\n\n

\u52d5\u3044\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n

$ pgrep crond\n23817\n$ ps 23817\n  PID TTY      STAT   TIME COMMAND\n23817 ?        S<s    0:00 crond<\/code><\/pre>\n\n\n\n

\u3067\u306f\u3001\u30eb\u30fc\u30d7\u90e8\u5206\u3092\u524a\u9664\u3057\u3066\u3001cron\u306b\u767b\u9332\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\uff12\u5206\u306b1\u56de\u304f\u3089\u3044\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n

# CPU Temp to ThingSpeak\n# https:\/\/thingspeak.com\/channels\/123997\n*\/2 * * * * sudo \/data\/data\/com.termux\/files\/usr\/bin\/python3 \/data\/data\/com.termux\/files\/home\/.suroot\/temp.py<\/code><\/pre>\n\n\n\n

\u30b0\u30e9\u30b0\u3092\u898b\u3066\u898b\u308b\uff01<\/h3>\n\n\n\n

\u7121\u4e8b\u306b\u30c7\u30fc\u30bf\u304c\u6295\u3052\u3089\u308c\u3066\u3044\u308c\u3070\u3001\u30b0\u30e9\u30d5\u304c\u63cf\u753b\u3055\u308c\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002ThingSpeak\u306e\u30b0\u30e9\u30d5\u3092\u898b\u3066\u898b\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n

\"\"<\/a><\/figure><\/div>\n\n\n\n

\u307e\u3060\u767b\u9332\u3057\u305f\u3070\u304b\u308a\u306a\u306e\u3067\u3001\u30b0\u30e9\u30d5\u306e\u63cf\u753b\u306f\u4e2d\u9014\u534a\u7aef\u3067\u3059\u304c\u3001\u5927\u4e08\u592b\u306a\u3088\u3046\u3067\u3059\u3002\u4ee5\u524d\u306b\u30011\u5206\u3054\u3068\u306b\u8a08\u6e2c\u3057\u3066UnixBench\u3092\u52d5\u4f5c\u3055\u305b\u305f\u3068\u304d\u306e\u30b0\u30e9\u30d5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u300270\u5ea6\u304f\u3089\u3044\u307e\u3067\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

\u305d\u308c\u304b\u3089\u3001root\u5316\u3057\u305f\u306e\u3067htop\u304c\u6b63\u5e38\u306b8CPU\u898b\u308c\u3066\u3044\u307e\u3059\u3002\u30d9\u30f3\u30c1\u4e2d\u306f\u30d5\u30eb\u56de\u8ee2\u3067\u3059\u306d\uff01<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

\u3042\u3068\u3001UnixBench\u3092\u5168\u958b\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u305f\u3068\u304d\u306e\u6d88\u8cbb\u96fb\u529b\uff08USB-AC\u5145\u96fb\uff09\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u3067\u3057\u305f\u3002<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

4.2w\u301c6.8w\u304f\u3089\u3044\u3067\u3059\u30025w\u3068\u3057\u3066\u8a08\u7b97\u3057\u3066\u307f\u308b\u306824\u6642\u9593\u52d5\u304b\u3057\u30661\u30f6\u6708\u306e\u96fb\u6c17\u4ee3\u306f\u3001\u7d0497\u5186\u3067\u3057\u305f\u3002\u3068\u3066\u3082\u4f4e\u6d88\u8cbb\u3067\u9ad8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3067\u3059\uff01<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

UnixBench\u306f\u3001\u6c17\u6e29\u304c\u4f4e\u3044\u6642\u306b\u8a08\u6e2c\u3057\u305f\u3089\u306a\u3093\u3068\u30011700\u3092\u8d85\u3048\u3066\u3044\u307e\u3057\u305f\uff01<\/p>\n\n\n\n

\u30fbPixel3 Android11\u3000\u518d\u8a08\u6e2c<\/p>\n\n\n\n

\u30b7\u30f3\u30b0\u30eb\uff1a590.1
8CPU\uff1a1732.6<\/p><\/blockquote>\n\n\n\n

\u307e\u3068\u3081<\/h3>\n\n\n\n

\u4eca\u56de\u3001\u306a\u3093\u3068\u306a\u304f\u308f\u304b\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u30fbAndroid\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001dumpsys\u30b3\u30de\u30f3\u30c9\u3067\u5404\u7a2e\u60c5\u5831\u304c\u3068\u308c\u308b
\u30fb\u5404\u7a2e\u6e29\u5ea6\u306f\u6a5f\u7a2e\u306b\u3088\u3063\u3066\u5410\u304d\u51fa\u3055\u308c\u308b\u5834\u6240\u304c\u9055\u3046\u3088\u3046\u3060
\u30fb\/sys\/\u914d\u4e0b\u306b\u5410\u304b\u308c\u308b\u96fb\u6e90\u95a2\u9023\u306ebattery\u3001usb\u3001bms\u306e\u6e29\u5ea6\u306f\u30e2\u30cb\u30bf\u30fc\u3057\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3002\u5e38\u6642\u5145\u96fb\u3057\u3066\u3044\u308b\u304b\u3089
\u30fbThingSpeak\u306e\u30b0\u30e9\u30d5\u306f\u3001\u3042\u307e\u308a\u7dba\u9e97\u3058\u3083\u306a\u3044\u306e\u3067\u81ea\u5206\u81ea\u8eab\u3067\u63cf\u753b\u3059\u308b\u4ed5\u7d44\u307f\u3092\u4f5c\u308a\u305f\u3044\u3002
\u30fbMRTG\u3084\u3001RRDtool\u306a\u3069termux\u3067\u52d5\u4f5c\u3059\u308b\u30b0\u30e9\u30d5\u63cf\u753b\u30c4\u30fc\u30eb\u306f\u306a\u3044\u304b\uff1f
\u30fbsnmpd\u304ctermux\u3067\u52d5\u304b\u305b\u308c\u3070\u3082\u3063\u3068\u697d\u3067\u304d\u305d\u3046\u3060\u304c\u3001\u307e\u3060\u306a\u3055\u305d\u3046\u3002
\u30fb\u3057\u304b\u3057\u3001\u3053\u3053\u306e\u30b3\u30e1\u30f3\u30c8\u3067\u306f\u52d5\u304b\u305b\u308b\u611f\u3058
\u3000https:\/\/github.com\/net-snmp\/net-snmp\/issues\/155<\/p>\n\n\n\n

\u3042\u3068\u304c\u304d<\/h3>\n\n\n\n

\u30b9\u30de\u30db\u30b5\u30fc\u30d0\uff08AndroidOS+Termux\uff09\u306f\u6d88\u8cbb\u96fb\u529b\u3082\u5c11\u306a\u304f\u3066\u3001\u304a\u624b\u8efd\u3067\u5b89\u304f\u5165\u624b\u3067\u304dIoT\u30c7\u30d0\u30a4\u30b9\u306e\u60c5\u5831\u3092\u96c6\u3081\u308b\u5bb6\u5ead\u5185\u30b5\u30fc\u30d0\u3068\u3057\u3066\u3082\u4f7f\u3048\u308b\u5370\u8c61\u3092\u6301\u3061\u307e\u3057\u305f\u3002AndroidOS\u81ea\u4f53\u306f\u3001\u3059\u3054\u304f\u5b89\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u96fb\u6c60\u99c6\u52d5\u3001SIM\u99c6\u52d5\u3001\u3057\u304b\u3082\u30bf\u30c3\u30c1\u753b\u9762\u4ed8\u304d\u3067\u5927\u304d\u306a\u6226\u529b\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002\u3053\u308c\u304b\u3089\uff15G\u306e\u8cb7\u3044\u66ff\u3048\u9700\u8981\u3082\u767a\u751f\u3059\u308b\u306e\u3067\u3001\u307e\u3059\u307e\u3059\u5b89\u304f\u3066\u9ad8\u6027\u80fd\u306a\u30b9\u30de\u30db\u304c\u5165\u624b\u3067\u304d\u308b\u74b0\u5883\u306b\u306a\u308a\u307e\u3059\u3002\u7121\u9650\u306e\u53ef\u80fd\u6027\u3092\u611f\u3058\u307e\u3059\u306d\uff01<\/p>\n\n\n\n

\u8457\u8005\u306b\u30e1\u30c3\u30bb\u30fc\u30b8<\/h3>\n\n\n\n

\u30b3\u30e1\u30f3\u30c8\u3058\u3083\u306a\u304f\u3066\u3001\u500b\u4eba\u7684\u306b\u3084\u308a\u3068\u308a\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3061\u3089\u304b\u3089\u3069\u3046\u305e\u3002\u304a\u8fd4\u4e8b\u304c\u9045\u304f\u306a\u308b\u3068\u304d\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3054\u4e86\u627f\u3092\u3002<\/p>\n\n\n

\u9593\u9055\u3044\u306e\u3054\u6307\u6458\u306a\u3069\u3001\u30b3\u30e1\u30f3\u30c8\u3058\u3083\u306a\u304f\u3066\u3001\u500b\u4eba\u7684\u306b\u3084\u308a\u3068\u308a\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3061\u3089\u304b\u3089<\/a>\u3069\u3046\u305e\u3002\u304a\u8fd4\u4e8b\u304c\u9045\u304f\u306a\u308b\u3068\u304d\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3054\u4e86\u627f\u3092\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5148\u65e5\u3001\u30e1\u30eb\u30ab\u30ea\u3067\u30b2\u30c3\u30c8\u3057\u305fPixel3\u3092root\u5316\u3057\u3066\u904a\u3093\u3067\u3044\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u3001\u4eca\u52d5\u3044\u3066\u3044\u308b\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30b5\u30fc\u30d0\u30de\u30b7\u30f3\u3068\u3057\u3066\u3001UmidigiF2\u304b\u3089\u4e00\u65e6\u7f6e\u304d\u63db\u3048\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002UmidigiF2\u3082\u3001root\u5316\u3057\u3066\u904a\u3093 […]<\/p>\n","protected":false},"author":1,"featured_media":9799,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[8,47,83],"tags":[],"acf":[],"uagb_featured_image_src":{"full":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false],"thumbnail":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",96,96,false],"medium":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false],"medium_large":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false],"large":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false],"1536x1536":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false],"2048x2048":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false],"post-thumbnail":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/10\/9.png",598,596,false]},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"\u5148\u65e5\u3001\u30e1\u30eb\u30ab\u30ea\u3067\u30b2\u30c3\u30c8\u3057\u305fPixel3\u3092root\u5316\u3057\u3066\u904a\u3093\u3067\u3044\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u3001\u4eca\u52d5\u3044\u3066\u3044\u308b\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30b5\u30fc\u30d0\u30de…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/9798"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=9798"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/9798\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media\/9799"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=9798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=9798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=9798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}