

{"id":416,"date":"2015-06-29T11:25:10","date_gmt":"2015-06-29T02:25:10","guid":{"rendered":"https:\/\/curecode.jp\/tech\/?p=416"},"modified":"2015-07-03T14:54:25","modified_gmt":"2015-07-03T05:54:25","slug":"kadecot_websocketapi_remocon_emu_1","status":"publish","type":"post","link":"https:\/\/curecode.jp\/tech\/kadecot_websocketapi_remocon_emu_1\/","title":{"rendered":"Kadecot\u3000WebSocket API\u3092\u4f7f\u7528\u3057\u3066\u5bb6\u96fb\uff08\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\uff09\u306e\u72b6\u614b\u3092\u8868\u793a\uff06\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u2460\uff0d\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u4f5c\u6210\u7de8"},"content":{"rendered":"<p>Kadecot\u306eWebSocket API\u3092\u4f7f\u3063\u3066\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3084\u5b9f\u6a5f\u306e\u5bb6\u96fb\u306e\u72b6\u614b\u3092\u8868\u793a\u3057\u305f\u308a\u3001\u64cd\u4f5c\u3057\u305f\u308a\u3067\u304d\u308bWeb\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u6210\u3059\u308b\u624b\u9806\u3067\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n\u9577\u304f\u306a\u308a\u307e\u3059\u306e\u30672\u56de\u306b\u5206\u3051\u307e\u3059\u3002\u307e\u305a\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u306e\u4f5c\u6210\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u958b\u767a\u74b0\u5883\u306feclipse\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7528\u610f\u3059\u308b\u3082\u306e\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n\u3000\t<\/p>\n<li>Xampp\u304c\u4f7f\u3048\u308b\u958b\u767a\u7528PC\uff08\u30ea\u30e2\u30b3\u30f3\u306eWeb\u30b5\u30fc\u30d0\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u305f\u3081\uff09<\/li>\n<p>\u3000\t<\/p>\n<li>Android\u7aef\u672b\uff08Kadecot\u30b5\u30fc\u30d0\u7528\uff09<\/li>\n<p>\u3000\t<\/p>\n<li>Android\u7aef\u672b\uff08\u30ea\u30e2\u30b3\u30f3\u3068\u3057\u3066\u4f7f\u7528\uff09<\/li>\n<\/ul>\n<p>\u203b<a title=\"WebSocket API (1) \u6700\u5c0f\u9650\u306e\u30ea\u30e2\u30b3\u30f3\u30b5\u30f3\u30d7\u30eb\"  href=\"http:\/\/kadecot.net\/blog\/2754\/\" target=\"_blank\">Kadecot\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u3088\u308b\u3068\u3001Web\u30b5\u30fc\u30d0\u306f\u3069\u3053\u3067\u3082\u3044\u3044\u3088\u3046\u306a\u306e\u3067\u3001\u3069\u3053\u304b\u306eWeb\u30b5\u30fc\u30d0\u306b\u9593\u501f\u308a\u3067\u304d\u308b\u306a\u3089Xampp\u304c\u306a\u304f\u3066\u3082OK\u3067\u3059\u3002<br \/>\n\u203bAndroid\u7aef\u672b\u306f\uff11\u3064\u3067\u3082\u53ef\u80fd\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u517c\u7528\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\uff11\uff0eKadecot\u30b5\u30fc\u30d0\u3092\u7528\u610f<\/strong><br \/>\nAndroid\u7aef\u672b\u3067Google Play\u304b\u3089Kadecot\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n\u8a73\u3057\u304f\u306f\u3053\u3061\u3089\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3000\u2192\u3000<a title=\"Kadecot\u30a2\u30d7\u30ea\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\" href=\"http:\/\/kadecot.net\/install\/\" target=\"_blank\">Kadecot\u30a2\u30d7\u30ea\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\uff08Kadecot\u30b5\u30a4\u30c8\u3078\uff09<\/a><\/p>\n<p><strong>\uff12\uff0e\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u4f5c\u6210\uff06\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u8d77\u52d5<\/strong><br \/>\n<a title=\"Kadecot\" href=\"http:\/\/kadecot.net\/\" target=\"_blank\">Kadecot\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u3042\u308b\u3088\u3046\u306b\u3001\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3092<a title=\"\u840c\u5bb6\u96fb\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\" href=\"http:\/\/kadecot.net\/blog\/1479\/\" target=\"_blank\">\u840c\u5bb6\u96fb<\/a>\u3067\u4ee3\u7528\u3057\u3066\u3082OK\u3067\u3059\u304c\u3001\u5b9f\u6a5f\u3068\u3064\u306a\u3050\u3068\u3053\u3092\u898b\u8d8a\u3057\u3066\u81ea\u4f5c\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<br \/>\n\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3068\u3057\u3066\u3001\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc\uff08\u5024\u8868\u793a\u7528\uff09\u3001\u6247\u98a8\u6a5f\uff08\u64cd\u4f5c\u7528\uff09\u3092\u4f5c\u308a\u307e\u3059\u3002<br \/>\n\u4f7f\u7528\u8a00\u8a9e\u306fJava\u3068\u306a\u308a\u307e\u3059\uff08Java\u306e\u5b9f\u884c\u74b0\u5883\u306f\u6574\u3063\u3066\u3044\u308b\u524d\u63d0\u3067\u3059\uff09\u3002\u4ee5\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>OpenECHO<\/li>\n<\/ul>\n<p>\u307e\u305a\u306fMain.java\u3067\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \" title=\"Main.java\">import java.io.IOException;\r\n\r\nimport com.sonycsl.echo.Echo;\r\nimport com.sonycsl.echo.eoj.device.DeviceObject;\r\nimport com.sonycsl.echo.processing.defaults.DefaultNodeProfile;\r\n\r\npublic class Main {\r\n    \/\/ \u5404\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u306e\u5ba3\u8a00\r\n    static private ThermometerEmulator thermometer;  \/\/ \u6e29\u5ea6\u8a08\r\n    static private ElectricFanEmulator electricfan;  \/\/ \u6247\u98a8\u6a5f\r\n \r\n    public static void main(String[] args) {\r\n        Echo.addEventListener( new Echo.Logger(System.out)); \/\/ \u30ed\u30b0\u51fa\u529b\r\n        \r\n        try {\r\n            thermometer = new ThermometerEmulator();\r\n            electricfan = new ElectricFanEmulator();\r\n            \r\n            Echo.start(new DefaultNodeProfile(), new DeviceObject[]{thermometer,electricfan});\r\n        } catch (IOException e) {\r\n            e.printStackTrace();\r\n\t}\r\n    }\r\n}\r\n<\/pre>\n<p>\u6b21\u306b\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc\u7528\u306eThermometerEmulator.java\u3067\u3059\u3002<br \/>\ncom.sonycsl.echo.eoj.device.sensor.TemperatureSensor\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u8a08\u6e2c\u6e29\u5ea6\u3092\u4eee\u306b\u56fa\u5b9a\u3067\u30bb\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u304c\u30012byte\u914d\u5217\u3067\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u304c\u30b3\u30c4\u3067\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \" title=\"ThermometerEmulator.java\">import java.io.IOException;\r\nimport com.sonycsl.echo.eoj.device.sensor.TemperatureSensor;\r\npublic class ThermometerEmulator extends TemperatureSensor {\r\n\tbyte[] mActualTempl = {0,(byte)250};\t\/\/ \u8a08\u6e2c\u6e29\u5ea6\u3092\u683c\u7d0d\t\u3000\/\/ \u2190\u3053\u306e\u5834\u540825\u2103\r\n\r\n\tpublic ThermometerEmulator(){\r\n\t}\r\n\t@Override\r\n\tprotected byte[] getMeasuredTemperatureValue() {\r\n\t\tSystem.out.println(\"getMeasuredTemperatureValue() is called.\");\r\n\t\tSystem.out.println(\"mActualTempl = \"+ mActualTempl);\r\n\t\treturn mActualTempl;\r\n\t\t\r\n\t}\r\n\t@Override\r\n\tprotected byte[] getOperationStatus() {\r\n\t\t\/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n\t\treturn null;\r\n\t}\r\n\r\n\r\n\t@Override\r\n\tprotected byte[] getFaultStatus() {\r\n\t\t\/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n\t\treturn null;\r\n\t}\r\n\r\n\r\n\t@Override\r\n\tprotected byte[] getInstallationLocation() {\r\n\t\t\/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n\t\treturn null;\r\n\t}\r\n\r\n\r\n\t@Override\r\n\tprotected byte[] getManufacturerCode() {\r\n\t\t\/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n\t\treturn null;\r\n\t}\r\n\r\n\r\n\t@Override\r\n\tprotected boolean setInstallationLocation(byte[] arg0) {\r\n\t\t\/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n\t\treturn false;\r\n\t}\r\n}\r\n<\/pre>\n<p>\u6700\u5f8c\u306b\u6247\u98a8\u6a5f\u7528\u306eElectricFanEmulator.java\u3067\u3059\u3002<br \/>\ncom.sonycsl.echo.eoj.device.airconditioner.VentilationFan\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u53c2\u8003\u30b5\u30a4\u30c8\uff09<a title=\"Raspberry Pi + OpenECHO\u3067ECHOENT Lite\u6a5f\u5668\u3092\u81ea\u4f5c\u3059\u308b\u3010\u5b8c\u5168\u7248\u3011\u305d\u306e\u2460 | MUDA\u306a\u3053\u3068\u3092\u3057\u3088\u3046\u3002\" href=\"http:\/\/make-muda.weblike.jp\/2015\/01\/2338\/\" target=\"_blank\">Raspberry Pi + OpenECHO\u3067ECHOENT Lite\u6a5f\u5668\u3092\u81ea\u4f5c\u3059\u308b\u3010\u5b8c\u5168\u7248\u3011\u305d\u306e\u2460 | MUDA\u306a\u3053\u3068\u3092\u3057\u3088\u3046\u3002<\/a><br \/>\n\u2191\u3053\u3061\u3089\u306e\u30bd\u30fc\u30b9\u3092\u6d41\u7528\u3055\u305b\u3066\u9802\u304d\u3001\u4e00\u90e8\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \" title=\"ElectricFanEmulator.java\">import java.io.IOException;\r\n\r\nimport com.sonycsl.echo.eoj.device.airconditioner.VentilationFan;\r\n \r\npublic class ElectricFanEmulator extends VentilationFan {\r\n    byte[] mStatus = {0x31}; \/\/ \u96fb\u6e90\u72b6\u614b\u3092\u683c\u7d0d\u3059\u308b\u5909\u6570\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f OFF \u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002\r\n    byte[] mLocation = {0x00}; \/\/ \u6a5f\u5668\u306e\u7f6e\u304d\u5834\u6240\u3092\u683c\u7d0d\u3059\u308b\u5909\u6570\u3067\u3059\u3002\r\n    byte[] mFaultStatus = {0x42}; \/\/ \u6a5f\u5668\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u6642\u306b\u3001\u305d\u306e\u30b3\u30fc\u30c9\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002\r\n    byte[] mManufacturerCode = {0, 0, 0}; \/\/ \u30d9\u30f3\u30c0\u30fc\u56fa\u6709\u306e\u30e1\u30fc\u30ab\u30fc\u30b3\u30fc\u30c9\u3067\u3059\u3002\r\n \r\n    @Override\r\n    protected boolean setOperationStatus(byte[] edt) {\r\n        mStatus[0] = edt[0] ; \/\/\u96fb\u6e90\u72b6\u614b\u304c\u5909\u5316\u3057\u305f\u3053\u3068\u3092\u4ed6\u306e\u30ce\u30fc\u30c9\u306b\u901a\u77e5\u3057\u307e\u3059\r\n        try{\r\n            \/\/ ------------------------------------------------------------------\r\n            \/\/ \u3053\u306e\u90e8\u5206\u306b\u3001\u5b9f\u969b\u306b\u6247\u98a8\u6a5f\u306e\u7a3c\u52d5\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3002\r\n            \/\/ \uff08Raspberry Pi\u306eGPIO\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\uff09\r\n            \/\/ \u3068\u308a\u3042\u3048\u305a\u306f\u3001\u30ed\u30b0\u3060\u3051\u51fa\u3059\u3088\u3046\u306b\u3059\u308b\r\n            if(mStatus[0] == 0x30){\r\n                System.out.println(\"Fan ON!\");\r\n                inform().reqInformOperationStatus().send();\r\n            }else if(mStatus[0] == 0x31){\r\n                System.out.println(\"Fan OFF!\");\r\n                inform().reqInformOperationStatus().send();\r\n            }else{\r\n                System.out.println(\"Parameter Error: Can NOT operate status\");\r\n            }\r\n            \/\/ ------------------------------------------------------------------       \r\n        }catch(IOException e){\r\n            e.printStackTrace();\r\n        }\r\n        return true;\r\n    }\r\n \r\n    @Override\r\n    protected byte[] getOperationStatus() {\r\n        return mStatus;\r\n    }\r\n \r\n    @Override\r\n    protected byte[] getFaultStatus() {\r\n        \/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n        return mFaultStatus;\r\n    }\r\n \r\n    @Override\r\n    protected byte[] getInstallationLocation() {\r\n        \/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n        return mLocation;\r\n    }\r\n \r\n    @Override\r\n    protected byte[] getManufacturerCode() {\r\n        \/\/ TODO \u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u30fb\u30b9\u30bf\u30d6\r\n        return mManufacturerCode;\r\n    }\r\n \r\n    @Override\r\n    protected boolean setInstallationLocation(byte[] edt) {\r\n        mLocation[0] = edt[0];\r\n        try{\r\n            inform().reqInformInstallationLocation().send();\r\n        }catch (IOException e) {\r\n            e.printStackTrace();\r\n        }\r\n        return true;\r\n    }\r\n}\r\n<\/pre>\n<p>\u4e0a\u8a18\uff13\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u968e\u5c64\u306b\u8a2d\u7f6e\u3057\u3001Main.java\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u304c\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/curecode.jp\/tech\/kadecot_websocketapi_remocon_emu_2\/\" title=\"Kadecot\u3000WebSocket API\u3092\u4f7f\u7528\u3057\u3066\u5bb6\u96fb\uff08\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\uff09\u306e\u72b6\u614b\u3092\u8868\u793a\uff06\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u2461\uff0dWeb\u30ea\u30e2\u30b3\u30f3\u4f5c\u6210\u7de8\">\u6b21\u56de<\/a>\u306f\u5b9f\u969b\u306b\u898b\u305f\u308a\u64cd\u4f5c\u3057\u305f\u308a\u3059\u308bWeb\u30ea\u30e2\u30b3\u30f3\u306e\u4f5c\u6210\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<h3>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u4e2d\uff01<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u5c11\u4eba\u6570\u306e\u8077\u5834\u306a\u306e\u3067\u3001\u4e0a\u6d41\u30fb\u4e0b\u6d41\u3084\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5bfe\u5fdc\u306e\u57a3\u6839\u306a\u304f\u3001\u3042\u306a\u305f\u306e\u5f37\u307f\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089 \u3044\u308d\u3044\u308d\u306a\u3053\u3068\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u53ef\u80fd\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u672a\u7d4c\u9a13\u306e\u65b9\u3001\u7d4c\u9a13\u304c\u5c11\u306a\u3044\u65b9\u3082\u6b53\u8fce\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u3088\u308aIT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u306e\u63a1\u7528\u60c5\u5831\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/curecode.jp\/recruit\/itengineer\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/it_recruit.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n<h3>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u516c\u5f0f\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306e\u65b0\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u3084\u3001\u30aa\u30d5\u30a3\u30b9\u30e9\u30a4\u30d5\u306e\u7d20\u6575\u306a\u77ac\u9593\u307e\u3067\u3002\u79c1\u305f\u3061\u306e\u65e5\u3005\u306e\u55b6\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/curecode\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/insta_bn.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Kadecot\u306eWebSocket API\u3092\u4f7f\u3063\u3066\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3084\u5b9f\u6a5f\u306e\u5bb6\u96fb\u306e\u72b6\u614b\u3092\u8868\u793a\u3057\u305f\u308a\u3001\u64cd\u4f5c\u3057 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":590,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,55],"tags":[65,54,66,67,53,52],"class_list":["post-416","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hems","category-java","tag-hems","tag-kadecot","tag-openecho","tag-websocket","tag-web","tag-52"],"_links":{"self":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/comments?post=416"}],"version-history":[{"count":87,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/416\/revisions"}],"predecessor-version":[{"id":512,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/416\/revisions\/512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media\/590"}],"wp:attachment":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media?parent=416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/categories?post=416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/tags?post=416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}