{"id":105,"date":"2023-07-04T16:58:43","date_gmt":"2023-07-04T07:58:43","guid":{"rendered":"https:\/\/blog.smartlight.co.jp\/?p=105"},"modified":"2023-07-07T13:44:02","modified_gmt":"2023-07-07T04:44:02","slug":"node-red%e3%81%a7enocean%e3%81%ae%e3%82%b9%e3%82%a4%e3%83%83%e3%83%81%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%8f%97%e4%bf%a1%e3%81%99%e3%82%8b%ef%bc%882%e6%97%a5%e7%9b%ae%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.smartlight.co.jp\/?p=105","title":{"rendered":"Node-RED\u3067EnOcean\u306e\u30b9\u30a4\u30c3\u30c1\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b\uff082\u65e5\u76ee\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">EnOcean\uff08\u30a8\u30f3\u30aa\u30fc\u30b7\u30e3\u30f3\uff09\u3068\u306f<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-1024x576.webp\" alt=\"\" class=\"wp-image-109\" srcset=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-1024x576.webp 1024w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-300x169.webp 300w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-768x432.webp 768w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-1536x864.webp 1536w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-320x180.webp 320w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-640x360.webp 640w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-1280x720.webp 1280w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1.webp 2000w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/logo-eno-alliance-2000x1125-1-1024x576.webp 856w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u5f15\u7528\u5143\uff1a<a href=\"https:\/\/www.enocean-alliance.org\/ja\/portfolio\/enocean\/\">EnOcean GmbH<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<p>EnOcean\u306f\u30ef\u30a4\u30e4\u30ec\u30b9\u901a\u4fe1\u6280\u8853\u306e\u4e00\u7a2e\u3067\u3001\u30a8\u30cd\u30eb\u30ae\u30fc\u30cf\u30fc\u30d9\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u5229\u7528\u3057\u3066\u52d5\u4f5c\u3059\u308b\u7121\u7dda\u30bb\u30f3\u30b5\u30fc\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308b\u3002\u96fb\u6c60\u4e0d\u8981\u3067\u7701\u30a8\u30cd\u30eb\u30ae\u30fc\u306a\u30c7\u30d0\u30a4\u30b9\u3092\u4f7f\u7528\u3057\u3001\u30b9\u30a4\u30c3\u30c1\u3001\u30bb\u30f3\u30b5\u30fc\u3001\u30a2\u30af\u30c1\u30e5\u30a8\u30fc\u30bf\u30fc\u306a\u3069\u306e\u60c5\u5831\u3092\u9001\u53d7\u4fe1\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u7701\u914d\u7dda\u5316\u3084\u74b0\u5883\u306b\u512a\u3057\u3044\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u3001\u30b9\u30de\u30fc\u30c8\u30db\u30fc\u30e0\u3084\u30d3\u30eb\u30c7\u30a3\u30f3\u30b0\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u306e\u5206\u91ce\u3067\u6570\u591a\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u30a8\u30ca\u30b8\u30fc\u30cf\u30fc\u30d9\u30b9\u30c6\u30a3\u30f3\u30b0\uff08energy harvesting\uff09\u3068\u306f\u3001\u592a\u967d\u5149\u3084\u7167\u660e\u5149\u3001\u6a5f\u68b0\u306e\u767a\u3059\u308b\u632f\u52d5\u3001\u71b1\u306a\u3069\u306e\u30a8\u30cd\u30eb\u30ae\u30fc\uff08\u30a8\u30ca\u30b8\u30fc\uff09\u3092\u63a1\u53d6\uff08\u30cf\u30fc\u30d9\u30b9\u30c6\u30a3\u30f3\u30b0\uff09\u3057\u3001\u96fb\u529b\u3092\u5f97\u308b\u6280\u8853\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u7279\u306b\u8eab\u306e\u56de\u308a\u306b\u3042\u308b\u308f\u305a\u304b\u306a\u30a8\u30cd\u30eb\u30ae\u30fc\uff08\u30a8\u30ca\u30b8\u30fc\uff09\u3092\u96fb\u529b\u306b\u5909\u63db\u3057\u6d3b\u7528\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u305f\u6280\u8853\u3067\u3059\u3002<\/p>\n<cite><a href=\"https:\/\/mono-wireless.com\/jp\/tech\/eHarvest.html#:~:text=%E3%82%A8%E3%83%8A%E3%82%B8%E3%83%BC%E3%83%8F%E3%83%BC%E3%83%99%E3%82%B9%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0%EF%BC%88energy%20harvesting,%E7%9B%AE%E7%9A%84%E3%81%A8%E3%81%97%E3%81%9F%E6%8A%80%E8%A1%93%E3%81%A7%E3%81%99%E3%80%82\">\u30a8\u30ca\u30b8\u30fc\u30cf\u30fc\u30d9\u30b9\u30c6\u30a3\u30f3\u30b0\u3068\u306f\uff1f | \u74b0\u5883\u767a\u96fb\u306e\u610f\u5473<\/a><\/cite><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\u6e96\u5099<\/h2>\n\n\n\n<p>\u4eca\u56de\u3001EnOcean\u30ec\u30b7\u30fc\u30d0\u30fc\u306fUSB\u30c9\u30f3\u30b0\u30eb\u30bf\u30a4\u30d7\u3092\u5229\u7528\u3057\u305f\u3002<br>\u21e9<br><a href=\"https:\/\/www.switch-science.com\/products\/1845\">EnOcean USB\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4 USB400J<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>PC\u3084\u30df\u30cb\u30b5\u30fc\u30d0\u3067EnOcean\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u767a\u3059\u308b\u7121\u7dda\u30b9\u30a4\u30c3\u30c1\u3084\u7121\u7dda\u30bb\u30f3\u30b5\u30fc\u306e\u60c5\u5831\u3092\u30ad\u30e3\u30c3\u30c1\u3059\u308b\u306e\u306b\u4fbf\u5229\u306aUSB\u30c9\u30f3\u30b0\u30eb\u30bf\u30a4\u30d7\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u3059\u3002 \u5546\u54c1\u958b\u767a\u30fb\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u306b\u643a\u308f\u308b\u65b9\u304cEnOcean\u7121\u7dda\u30b9\u30a4\u30c3\u30c1\u30fb\u7121\u7dda\u30bb\u30f3\u30b5\u30fc\u306e\u52d5\u4f5c\u3092\u53ef\u8996\u5316\u3057\u305f\u3044\u5834\u5408\u306b\u304a\u624b\u8efd\u306b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<cite><a href=\"https:\/\/www.switch-science.com\/products\/1845\">\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9<\/a><\/cite><\/blockquote>\n\n\n\n<p>\u521d\u3081\u306b\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306bUSB\u30c9\u30f3\u30b0\u30eb\u3092\u633f\u5165\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"644\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-1024x644.jpg\" alt=\"\" class=\"wp-image-160\" srcset=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-1024x644.jpg 1024w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-300x189.jpg 300w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-768x483.jpg 768w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-1536x967.jpg 1536w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-2048x1289.jpg 2048w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/PXL_20230704_012916168-1-1024x644.jpg 856w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-medium-font-size\">\u6b21\u306b\u3001Node-RED\u3067USB\u30c9\u30f3\u30b0\u30eb\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3092\u5fc5\u8981\u3068\u3059\u308b\u305f\u3081\u3001<br>\u300cnode-red-node-serialport\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br><br>\u21e9\u8a73\u3057\u3044\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u3066\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-smartlight-interns-039-blog wp-block-embed-smartlight-interns-039-blog\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/blog.smartlight.co.jp\/?p=15\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"482\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-104751.jpg\" alt=\"\" class=\"wp-image-117\" srcset=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-104751.jpg 872w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-104751-300x166.jpg 300w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-104751-768x425.jpg 768w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-104751.jpg 856w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6210\u529f\u3059\u308b\u3068\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30ce\u30fc\u30c9\u6b04\u306bserial\u7cfb\u306e\u30ce\u30fc\u30c9\u304c\u51fa\u73fe\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"192\" height=\"283\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-105809.jpg\" alt=\"\" class=\"wp-image-126\"\/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">\u30b9\u30a4\u30c3\u30c1\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b<\/h2>\n\n\n\n<p>\u300cserial in\u300d\u30ce\u30fc\u30c9\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3001\u30d5\u30ed\u30fc\u306b\u8ffd\u52a0\u3059\u308b\u3002<br>\u306a\u304a\u3001\u30d5\u30ed\u30fc\u306b\u8ffd\u52a0\u3055\u308c\u308b\u3055\u3044\u306f\u300cserial in\u300d\u304b\u3089\u300cserial\u300d\u3068\u8868\u793a\u304c\u5909\u308f\u308b\u304c\u554f\u984c\u306a\u3044\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"753\" height=\"347\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-110253.jpg\" alt=\"\" class=\"wp-image-130\"\/><\/figure>\n<\/div>\n\n\n<p>\u6b21\u306b\u30d5\u30ed\u30fc\u306b\u8a2d\u7f6e\u3057\u305fserial\u30ce\u30fc\u30c9\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u30ce\u30fc\u30c9\u306e\u7de8\u96c6\u3092\u884c\u3046\u3002<br>\u521d\u3081\u3066\u30dd\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u8d64\u4e38\u90e8\u5206\u306e\u30da\u30f3\u30de\u30fc\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"286\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-112958.jpg\" alt=\"\" class=\"wp-image-155\"\/><\/figure>\n<\/div>\n\n\n<p>\u8d64\u4e38\u90e8\u5206\u306e\u300c\u866b\u773c\u93e1\u30de\u30fc\u30af\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u901a\u4fe1\u3092\u884c\u3046USB\u30c9\u30f3\u30b0\u30eb\u304c\u633f\u5165\u3055\u308c\u305f\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"737\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-113344.jpg\" alt=\"\" class=\"wp-image-157\"\/><\/figure>\n<\/div>\n\n\n<p>\u3053\u306e\u6642\u3001\u300cCOM~\u300d\u307e\u305f\u306f\/dev\/cu.usbserial~~\u304c\u51fa\u3066\u304f\u308b\u304c\u3001\u5f8c\u8005\u3067\u3042\u308c\u3070usbserial\u306e\u65b9\u3092\u9078\u629e\u3001\u524d\u8005\u3067\u3042\u308c\u3070\u633f\u5165\u3057\u3066\u3044\u308b\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u9078\u629e\u3059\u308b\u3002\u30dd\u30fc\u30c8\u756a\u53f7\u304c\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u30c7\u30d0\u30a4\u30b9\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304b\u3089\u30dd\u30fc\u30c8\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u826f\u3044\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u4ee5\u5916\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a\u306f\u753b\u50cf\u306e\u69d8\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u51fa\u6765\u305f\u3089\u4e00\u5ea6\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u307f\u3066\u3001\u7121\u4e8b\u306bserialport\u8a2d\u5b9a\u304c\u3067\u304d\u3066\u3044\u308c\u3070serial\u30ce\u30fc\u30c9\u306e\u4e0b\u306b\u300c\u63a5\u7d9a\u6e08\u307f\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">EnOcean\u3067\u30b9\u30a4\u30c3\u30c1\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b<\/h2>\n\n\n\n<p>\u30ce\u30fc\u30c9\u306e\u8a2d\u5b9a\u307e\u3067\u5b8c\u4e86\u3057\u305f\u3089\u3001debug\u30ce\u30fc\u30c9\u3092serial\u30ce\u30fc\u30c9\u306b\u7e4b\u3052\u308b\u3002<br>\u30c7\u30d7\u30ed\u30a4\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u5b8c\u4e86\u3057\u305f\u3089\u30c7\u30fc\u30bf\u306e\u53d7\u4fe1\u5f85\u3061\u72b6\u614b\u306b\u5165\u308b\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306fEnOcean\u5bfe\u5fdc\u306e\u30b9\u30a4\u30c3\u30c1\u3001\u300cEasyfit Single\u300d\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"458\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/EWSxZ___EWSxZG_Easyfit_Wall_Switches_Zigbee.jpg\" alt=\"\" class=\"wp-image-169\"\/><figcaption class=\"wp-element-caption\">\u5f15\u7528\u5143\uff1a<a href=\"https:\/\/www.easyfit-controls.com\/portfolio\/easyfit-single-double-rocker-wall-switch-zigbee-ewsx\/\">Easyfit<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u30b9\u30a4\u30c3\u30c1\u3092\u62bc\u3057\u3066\u8a71\u3059\u3068\u3001\u753b\u9762\u53f3\u5074\u306b\u6570\u5b57\u306e\u914d\u5217\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u51fa\u73fe\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-134324-1024x587.jpg\" alt=\"\" class=\"wp-image-166\" srcset=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-134324-1024x587.jpg 1024w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-134324-300x172.jpg 300w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-134324-768x440.jpg 768w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-134324.jpg 1138w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-134324-1024x587.jpg 856w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>\u3057\u304b\u3057\u3001\u3053\u308c\u3067\u306f\u30c7\u30fc\u30bf\u306e\u5185\u5bb9\u304c\u5206\u304b\u3089\u306a\u3044\u305f\u3081\u3001function\u30ce\u30fc\u30c9\u3092\u52a0\u3048\u3066\u53d7\u4fe1\u3057\u305f\u30c7\u30fc\u30bf\u3092(\u203b1)\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u3002<br>(\u203b1)\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u60c5\u5831\u3092\u5143\u306e\u5f62\u5f0f\u306b\u623b\u3059\u51e6\u7406\u3002\u30c7\u30fc\u30bf\u304c\u5727\u7e2e\u3084\u6697\u53f7\u5316\u3055\u308c\u305f\u308a\u3001\u5225\u306e\u5f62\u5f0f\u306b\u5909\u63db\u3055\u308c\u305f\u308a\u3059\u308b\u3068\u3001\u305d\u308c\u3092\u5143\u306e\u5f62\u5f0f\u306b\u623b\u3059\u305f\u3081\u306b\u5fc5\u8981\u3068\u306a\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"330\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-135043.jpg\" alt=\"\" class=\"wp-image-170\"\/><\/figure>\n<\/div>\n\n\n<p>EnOcean telegram decoder\u3092\u4f5c\u6210\u3057\u3001\u53d7\u4fe1\u30c7\u30fc\u30bf\u3092\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u8fbc\u3080\u3002<br>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u30a2\u30fc\u30df\u30f3\u682a\u5f0f\u4f1a\u793e\u306e\u670d\u90e8\u3055\u3093\u304c\u516c\u958b\u3057\u3066\u3044\u308b\u3082\u306e\u3092\u4f7f\u7528\u3057\u305f\u3002<br>\u53c2\u7167\uff1a<a href=\"https:\/\/ermine.co.jp\/2017\/10\/08\/node-red_enocean\/\">Node-RED\u3067EnOcean\u306e\u96fb\u6587\u3092\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u30ce\u30fc\u30c9\u3092\u8a66\u4f5c\u3057\u307e\u3057\u305f<\/a><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\/\/EnOcean telegram decoder\n\/\/2017.10.8 created\n\/\/\nvar date = new Date();\n\/\/\nvar ESP3_Packet = msg.payload;\n\/\/\nvar Header = ESP3_Packet.slice(1, 5);\nvar DataLength = 256 * ESP3_Packet<img decoding=\"async\" class=\"ranking-number\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/themes\/jin\/img\/rank01.png\" \/> + ESP3_Packet<img decoding=\"async\" class=\"ranking-number\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/themes\/jin\/img\/rank02.png\" \/>;\n\/\/\nvar RawData = ESP3_Packet.slice(6, 6 + DataLength);\nvar ERP2_Header = RawData.slice(0, 1).toString(&quot;hex&quot;);\nvar EEP = &quot;RPS&quot;;\nvar OriginatorID = &quot;00000000&quot;;\nvar Data1 = &quot;00&quot;;\nvar Data4 = &quot;00000000&quot;;\n\/\/\nvar OptionalData = ESP3_Packet.slice(6 + DataLength, 8 + DataLength);\nvar SubTelNum = OptionalData.slice(0, 1);\nvar dBm = OptionalData.slice(1, 2);\n\/\/\nswitch (ERP2_Header) {\n    \/\/normal telegram\n    case &quot;20&quot;:\/\/RPS telegram\n        EEP = &quot;RPS&quot;;\n        OriginatorID = RawData.slice(1, 5).toString(&quot;hex&quot;);\n        Data1 = RawData.slice(5, 6).toString(&quot;hex&quot;);\n        break;\n    case &quot;21&quot;:\/\/1BS normal telegram\n        EEP = &quot;1BS&quot;;\n        OriginatorID = RawData.slice(1, 5).toString(&quot;hex&quot;);\n        Data1 = RawData.slice(5, 6).toString(&quot;hex&quot;);\n        break;\n    case &quot;22&quot;:\/\/4BS normal telegram\n        EEP = &quot;4BS&quot;;\n        OriginatorID = RawData.slice(1, 5).toString(&quot;hex&quot;);\n        Data4 = RawData.slice(5, 9).toString(&quot;hex&quot;);\n        break;\n    \/\/teach-in telegram\n    case &quot;61&quot;:\/\/1BS teach-in telegram\n        EEP = &quot;1BS teach-in&quot;;\n        OriginatorID = RawData.slice(3, 7).toString(&quot;hex&quot;);\n        Data1 = RawData.slice(7, 8).toString(&quot;hex&quot;);\n        break;\n    case &quot;62&quot;:\/\/4BS teach-in telegram\n        EEP = &quot;4BS teach-in&quot;;\n        OriginatorID = RawData.slice(3, 7).toString(&quot;hex&quot;);\n        Data4 = RawData.slice(7, 11).toString(&quot;hex&quot;);\n        break;\n    default:\n        break;\n}\n\nmsg.payload = {\n    Time: date.toString(),\n    OriginatorID: OriginatorID,\n    EEP: EEP,\n    Data1: Data1,\n    Data4: Data4,\n    SubTelNum: SubTelNum,\n    dBm: dBm\n};\n\nreturn msg;<\/code><\/pre><\/div>\n\n\n\n<p>\u30c7\u30d7\u30ed\u30a4\u3092\u3057\u3001\u518d\u3073\u30b9\u30a4\u30c3\u30c1\u30c7\u30fc\u30bf\u306e\u53d7\u4fe1\u3092\u884c\u3046\u3068\u3001\u6574\u7406\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304cjson\u5f62\u5f0f\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"455\" height=\"617\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-135630.jpg\" alt=\"\" class=\"wp-image-171\"\/><\/figure>\n<\/div>\n\n\n<p>OriginatorID\u3067\u30b9\u30a4\u30c3\u30c1\u3092\u5224\u5225\u3057\u3066\u304a\u308a\u3001Data1\u3067\u30b9\u30a4\u30c3\u30c1\u306e\u72b6\u614b\uff08\u62bc\u4e0b\/\u89e3\u653e\uff09\u3092\u8868\u3057\u3066\u3044\u308b\u3002<br>Data1: &#8220;84&#8221; \u306e\u6642\u306f\u30b9\u30a4\u30c3\u30c1\u62bc\u4e0b\u3001Data1: &#8220;00&#8221;  \u306e\u6642\u306f\u30b9\u30a4\u30c3\u30c1\u89e3\u653e\u3068\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">EnOcean\u5bfe\u5fdc\u30ea\u30fc\u30c9\u30bb\u30f3\u30b5\u3001\u96c6\u96fb\u30bb\u30f3\u30b5\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/image-37.png\" alt=\"\" class=\"wp-image-158\" width=\"402\" height=\"402\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"768\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/image-38.png\" alt=\"\" class=\"wp-image-159\"\/><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<p>Easyfit Single\u306e\u30c7\u30fc\u30bf\u53d7\u4fe1\u3068\u540c\u3058\u304f\u3001\u30ea\u30fc\u30c9\u30bb\u30f3\u30b5\u3067\u306f\u78c1\u77f3\u3092\u8fd1\u3065\u3051\u308b\u3068\u3001\u96c6\u96fb\u30bb\u30f3\u30b5\u3067\u306f\u4eba\u3092\u691c\u77e5\u3059\u308b\u3068\u30c7\u30fc\u30bf\u304c\u9001\u4fe1\u3055\u308c\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"616\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-142318.jpg\" alt=\"\" class=\"wp-image-175\"\/><\/figure>\n<\/div>\n\n\n<p>\u5148\u307b\u3069\u306eOriginatorID\u3068\u306f\u5225\u3067\u3001&#8221;05002334&#8243;\u3068\u8b58\u5225\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u5225\u306e\u30b9\u30a4\u30c3\u30c1\u30c7\u30fc\u30bf\u3068\u3057\u3066\u6b63\u3057\u304f\u533a\u5225\u3055\u308c\u3066\u3044\u308b\u3002<br>\u307e\u305f\u3001Data1: &#8220;09&#8221; \u306e\u6642\u306f\u78c1\u77f3\u3092\u8fd1\u3065\u3051\u305f\u3068\u304d\u3001Data1: &#8220;08&#8221; \u306e\u6642\u306f\u78c1\u77f3\u3092\u3068\u9060\u3056\u3051\u305f\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EnOcean\uff08\u30a8\u30f3\u30aa\u30fc\u30b7\u30e3\u30f3\uff09\u3068\u306f EnOcean\u306f\u30ef\u30a4\u30e4\u30ec\u30b9\u901a\u4fe1\u6280\u8853\u306e\u4e00\u7a2e\u3067\u3001\u30a8\u30cd\u30eb\u30ae\u30fc\u30cf\u30fc\u30d9\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u5229\u7528\u3057\u3066\u52d5\u4f5c\u3059\u308b\u7121\u7dda\u30bb\u30f3\u30b5\u30fc\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308b\u3002\u96fb\u6c60\u4e0d\u8981\u3067\u7701\u30a8\u30cd\u30eb\u30ae\u30fc\u306a\u30c7\u30d0\u30a4\u30b9\u3092\u4f7f\u7528\u3057\u3001\u30b9\u30a4\u30c3\u30c1\u3001\u30bb<\/p>\n","protected":false},"author":2,"featured_media":106,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mory"],"jetpack_featured_media_url":"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-04-102259.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=105"}],"version-history":[{"count":12,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions\/670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/media\/106"}],"wp:attachment":[{"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}