{"id":6913,"date":"2025-07-14T15:37:14","date_gmt":"2025-07-14T06:37:14","guid":{"rendered":"https:\/\/blog.smartlight.co.jp\/?p=6913"},"modified":"2025-07-14T15:37:14","modified_gmt":"2025-07-14T06:37:14","slug":"node-red%e3%81%a8ledmx4-max%e3%81%a7led%e3%83%86%e3%83%bc%e3%83%97%e3%82%92%e8%99%b9%e8%89%b2%e3%81%ab%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/blog.smartlight.co.jp\/?p=6913","title":{"rendered":"Node-RED\u3068LeDMX4 MAX\u3067LED\u30c6\u30fc\u30d7\u3092\u8679\u8272\u306b\u3057\u3066\u307f\u305f"},"content":{"rendered":"\n<p>\u4eca\u56de\u306f <strong>LeDMX4 MAX<\/strong>\u3068\u3044\u3046ArtNet\u5bfe\u5fdc\u306eDMX\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3068\u3001<strong>Node-RED<\/strong>\u3092\u4f7f\u3063\u3066\u3001LED\u30c6\u30fc\u30d7\u306b\u8679\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5\u306b\u6311\u6226\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528\u6a5f\u6750\u30fb\u30bd\u30d5\u30c8\u4e00\u89a7<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u540d\u79f0<\/th><th>\u7528\u9014<\/th><th>\u5099\u8003<\/th><\/tr><\/thead><tbody><tr><td>LED\u30c6\u30fc\u30d7\uff08WS2812B\uff09<\/td><td>\u5149\u3089\u305b\u308b\u5bfe\u8c61<\/td><td>255\u30d4\u30af\u30bb\u30eb<\/td><\/tr><tr><td>LeDMX4 MAX<\/td><td>ArtNet\u2192LED\u51fa\u529b\u5909\u63db<\/td><td>LAN\u63a5\u7d9a\u3067\u5236\u5fa1<\/td><\/tr><tr><td>PC\uff08Windows\uff09<\/td><td>Node-RED\u52d5\u4f5c\u30fb\u9001\u4fe1\u5074<\/td><td>IP\u306f <code>192.168.1.100<\/code> \u306b\u8a2d\u5b9a<\/td><\/tr><tr><td>LAN\u30b1\u30fc\u30d6\u30eb<\/td><td>PC\u3068LeDMX4 MAX\u3092\u63a5\u7d9a<\/td><td>\u30eb\u30fc\u30bf\u30fc\u4e0d\u8981\uff08\u76f4\u63a5\u63a5\u7d9a\uff09<\/td><\/tr><tr><td>Node-RED<\/td><td>\u30ce\u30fc\u30b3\u30fc\u30c9\u7cfb\u958b\u767a\u74b0\u5883<\/td><td>\u30d6\u30e9\u30a6\u30b6\u64cd\u4f5c<\/td><\/tr><tr><td>eDMX MAX Configuration v2.5<\/td><td>LeDMX4 MAX\u306e\u8a2d\u5b9a\u30c4\u30fc\u30eb<\/td><td>\u5fc5\u9808<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>eDMX MAX Configuration v2.5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<p><a href=\"https:\/\/dmx.lasens.com\/download\/edmxconfiguration-win\/\">\u3010\u8a2d\u5b9a\u30bd\u30d5\u30c8\u3011Windows\u30fbMAX\u30b7\u30ea\u30fc\u30ba\u7528 \u2013 DMXking \u6b63\u898f\u4ee3\u7406\u5e97 \u682a\u5f0f\u4f1a\u793e\u30e9\u30bb\u30f3\u30b9<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6a5f\u6750\u306e\u63a5\u7d9a<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>LED\u30c6\u30fc\u30d7\u3092LeDMX4 MAX\u306ePORT 1\u306b\u63a5\u7d9a<\/strong><\/li>\n\n\n\n<li><strong>PC\u3068LeDMX4 MAX\u3092LAN\u30b1\u30fc\u30d6\u30eb\u3067\u76f4\u7d50<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u30eb\u30fc\u30bf\u30fc\u3092\u4ecb\u3055\u305a\u3001PC\u3068\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30921\u5bfe1\u3067\u63a5\u7d9a<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\uff08PC\u5074\uff09<\/h2>\n\n\n\n<p>LeDMX4 MAX\u3068<strong>\u30eb\u30fc\u30bf\u30fc\u3092\u4ecb\u3055\u305a\u306b\u76f4\u63a5\u63a5\u7d9a\u3059\u308b<\/strong>\u305f\u3081\u3001<strong>PC\u306b\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udcbb Windows\u3067\u306e\u8a2d\u5b9a\u624b\u9806\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u300d\u2192\u300c\u30a2\u30c0\u30d7\u30bf\u30fc\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u300d<\/li>\n\n\n\n<li>\u4f7f\u7528\u4e2d\u306eLAN\u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u53f3\u30af\u30ea\u30c3\u30af \u2192\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d<\/li>\n\n\n\n<li>\u300c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30d7\u30ed\u30c8\u30b3\u30eb \u30d0\u30fc\u30b8\u30e7\u30f34\uff08TCP\/IPv4\uff09\u300d\u3092\u9078\u629e \u2192\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d<\/li>\n\n\n\n<li>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\uff1a<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u9805\u76ee<\/th><th>\u8a2d\u5b9a\u5024<\/th><\/tr><\/thead><tbody><tr><td>IP\u30a2\u30c9\u30ec\u30b9<\/td><td><code>192.168.1.100<\/code><\/td><\/tr><tr><td>\u30b5\u30d6\u30cd\u30c3\u30c8\u30de\u30b9\u30af<\/td><td><code>255.255.255.0<\/code><\/td><\/tr><tr><td>\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u30fbDNS<\/td><td>\u7a7a\u6b04\u3067OK<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">LeDMX4 MAX\u306e\u8a2d\u5b9a\uff08eDMX Configuration\uff09<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"214\" height=\"179\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-14.png\" alt=\"\" class=\"wp-image-6917\" \/><\/figure>\n\n\n\n<p>networkmode\u3092StaticIP\u306b\u3059\u308b<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"223\" height=\"123\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-15.png\" alt=\"\" class=\"wp-image-6918\" style=\"width:209px;height:auto\" \/><\/figure>\n\n\n\n<p>Scene Stream\u3092ArtNet\u306b\u3059\u308b(\u4f7f\u7528\u3059\u308b\u30ce\u30fc\u30c9\u306b\u3088\u3063\u3066\u5909\u3048\u308b)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"367\" height=\"182\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-16.png\" alt=\"\" class=\"wp-image-6919\" \/><\/figure>\n\n\n\n<p>Port Operation Mode\u3092DXM-OUT\u306b\u3059\u308b<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Node-RED\u30d5\u30ed\u30fc\uff08\u8679\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\uff09<\/h2>\n\n\n\n<p>\u4eca\u56de\u306fchatgpt\u306b\u805e\u3044\u3066\u4f5c\u3089\u305b\u3066\u307f\u307e\u3057\u305f<\/p>\n\n\n\n<p>Node-RED\u53f3\u4e0a\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30a4\u30f3\u30dd\u30fc\u30c8\u300d\u2192\u4ee5\u4e0b\u306eJSON\u3092\u8cbc\u308a\u4ed8\u3051\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"244\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-17.png\" alt=\"\" class=\"wp-image-6920\" srcset=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-17.png 867w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-17-300x84.png 300w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-17-768x216.png 768w, https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-17.png 856w\" sizes=\"auto, (max-width: 867px) 100vw, 867px\" \/><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>[&lt;br&gt;{&lt;br&gt;&quot;id&quot;: &quot;1a2b3c4d5e6f7g8h&quot;,&lt;br&gt;&quot;type&quot;: &quot;tab&quot;,&lt;br&gt;&quot;label&quot;: &quot;Rainbow Flow&quot;,&lt;br&gt;&quot;disabled&quot;: false,&lt;br&gt;&quot;info&quot;: &quot;&quot;&lt;br&gt;},&lt;br&gt;{&lt;br&gt;&quot;id&quot;: &quot;inject_rainbow&quot;,&lt;br&gt;&quot;type&quot;: &quot;inject&quot;,&lt;br&gt;&quot;z&quot;: &quot;1a2b3c4d5e6f7g8h&quot;,&lt;br&gt;&quot;name&quot;: &quot;Start Rainbow&quot;,&lt;br&gt;&quot;props&quot;: [&lt;br&gt;{&lt;br&gt;&quot;p&quot;: &quot;payload&quot;&lt;br&gt;}&lt;br&gt;],&lt;br&gt;&quot;repeat&quot;: &quot;0.1&quot;,&lt;br&gt;&quot;crontab&quot;: &quot;&quot;,&lt;br&gt;&quot;once&quot;: true,&lt;br&gt;&quot;onceDelay&quot;: &quot;0.5&quot;,&lt;br&gt;&quot;topic&quot;: &quot;&quot;,&lt;br&gt;&quot;payload&quot;: &quot;&quot;,&lt;br&gt;&quot;payloadType&quot;: &quot;date&quot;,&lt;br&gt;&quot;x&quot;: 150,&lt;br&gt;&quot;y&quot;: 100,&lt;br&gt;&quot;wires&quot;: [&lt;br&gt;[&lt;br&gt;&quot;function_rainbow&quot;&lt;br&gt;]&lt;br&gt;]&lt;br&gt;},&lt;br&gt;{&lt;br&gt;&quot;id&quot;: &quot;function_rainbow&quot;,&lt;br&gt;&quot;type&quot;: &quot;function&quot;,&lt;br&gt;&quot;z&quot;: &quot;1a2b3c4d5e6f7g8h&quot;,&lt;br&gt;&quot;name&quot;: &quot;Rainbow Generator&quot;,&lt;br&gt;&quot;func&quot;: &quot;\/\/ 255\u30d4\u30af\u30bb\u30eb\u00d74ch = 1020ch \u2192 2\u30e6\u30cb\u30d0\u30fc\u30b9\u4f7f\u7528\\nconst PIXELS = 255;\\nconst CHANNELS_PER_PIXEL = 4;\\nconst TOTAL_CHANNELS = PIXELS * CHANNELS_PER_PIXEL;\\n\\nlet dmx = new Array(TOTAL_CHANNELS).fill(0);\\nlet offset = context.get(\\&quot;offset\\&quot;) || 0;\\n\\nfunction hsvToRgb(h, s, v) {\\n let c = v * s;\\n let x = c * (1 - Math.abs((h \/ 60) % 2 - 1));\\n let m = v - c;\\n let r, g, b;\\n\\n if (h &lt; 60) [r, g, b] = [c, x, 0];\\n else if (h &lt; 120) [r, g, b] = [x, c, 0];\\n else if (h &lt; 180) [r, g, b] = [0, c, x];\\n else if (h &lt; 240) [r, g, b] = [0, x, c];\\n else if (h &lt; 300) [r, g, b] = [x, 0, c];\\n else [r, g, b] = [c, 0, x];\\n\\n return [\\n Math.floor((r + m) * 255),\\n Math.floor((g + m) * 255),\\n Math.floor((b + m) * 255)\\n ];\\n}\\n\\nfor (let i = 0; i &lt; PIXELS; i++) {\\n const hue = (i * 360 \/ PIXELS + offset) % 360;\\n const [r, g, b] = hsvToRgb(hue, 1, 0.7);\\n dmx[i * 4 + 0] = r;\\n dmx[i * 4 + 1] = g;\\n dmx[i * 4 + 2] = b;\\n dmx[i * 4 + 3] = 0; \/\/ W\u30c1\u30e3\u30f3\u30cd\u30eb\u306f\u672a\u4f7f\u7528\\n}\\n\\noffset = (offset + 3) % 360;\\ncontext.set(\\&quot;offset\\&quot;, offset);\\n\\nconst u0 = dmx.slice(0, 512);\\nlet u1 = dmx.slice(512, 1020);\\nwhile (u1.length &lt; 512) u1.push(0);\\n\\nfunction createArtDMX(universe, data) {\\n const header = Buffer.from([\\n 0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,\\n 0x00, 0x50,\\n 0x00, 0x0e,\\n 0x00,\\n 0x00,\\n universe &amp; 0xff, (universe &gt;&gt; 8) &amp; 0xff,\\n (data.length &gt;&gt; 8) &amp; 0xff, data.length &amp; 0xff\\n ]);\\n return Buffer.concat([header, Buffer.from(data)]);\\n}\\n\\nreturn [\\n { payload: createArtDMX(0, u0), ip: \\&quot;192.168.1.83\\&quot;, port: 6454 },\\n { payload: createArtDMX(1, u1), ip: \\&quot;192.168.1.83\\&quot;, port: 6454 }\\n];&quot;,&lt;br&gt;&quot;outputs&quot;: 2,&lt;br&gt;&quot;timeout&quot;: &quot;&quot;,&lt;br&gt;&quot;noerr&quot;: 0,&lt;br&gt;&quot;initialize&quot;: &quot;&quot;,&lt;br&gt;&quot;finalize&quot;: &quot;&quot;,&lt;br&gt;&quot;libs&quot;: [],&lt;br&gt;&quot;x&quot;: 360,&lt;br&gt;&quot;y&quot;: 100,&lt;br&gt;&quot;wires&quot;: [&lt;br&gt;[&lt;br&gt;&quot;udp_out&quot;&lt;br&gt;],&lt;br&gt;[&lt;br&gt;&quot;udp_out&quot;&lt;br&gt;]&lt;br&gt;]&lt;br&gt;},&lt;br&gt;{&lt;br&gt;&quot;id&quot;: &quot;udp_out&quot;,&lt;br&gt;&quot;type&quot;: &quot;udp out&quot;,&lt;br&gt;&quot;z&quot;: &quot;1a2b3c4d5e6f7g8h&quot;,&lt;br&gt;&quot;name&quot;: &quot;ArtNet\u9001\u4fe1&quot;,&lt;br&gt;&quot;addr&quot;: &quot;&quot;,&lt;br&gt;&quot;iface&quot;: &quot;&quot;,&lt;br&gt;&quot;port&quot;: &quot;&quot;,&lt;br&gt;&quot;ipv&quot;: &quot;udp4&quot;,&lt;br&gt;&quot;x&quot;: 580,&lt;br&gt;&quot;y&quot;: 100,&lt;br&gt;&quot;wires&quot;: []&lt;br&gt;}&lt;br&gt;]<\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7d50\u679c<\/h2>\n\n\n\n<p>LED\u30c6\u30fc\u30d7\u304c\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u63cf\u304d\u306a\u304c\u3089\u3001\u6ed1\u3089\u304b\u306b\u8272\u3092\u5909\u5316\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/image-18-768x1024.png\" alt=\"\" class=\"wp-image-6921\" style=\"width:291px;height:auto\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>Node-RED\u3068LeDMX4 MAX\u3092\u4f7f\u3048\u3070\u3001<strong>\u8907\u96d1\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u306a\u3057\u306b\u672c\u683c\u7684\u306aLED\u6f14\u51fa<\/strong>\u304c\u4f5c\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f LeDMX4 MAX\u3068\u3044\u3046ArtNet\u5bfe\u5fdc\u306eDMX\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3068\u3001Node-RED\u3092\u4f7f\u3063\u3066\u3001LED\u30c6\u30fc\u30d7\u306b\u8679\u8272\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5\u306b\u6311\u6226\u3057\u307e\u3057\u305f\u3002 \u4f7f\u7528\u6a5f\u6750\u30fb\u30bd\u30d5\u30c8\u4e00\u89a7 \u540d\u79f0 \u7528\u9014 \u5099\u8003 LED\u30c6\u30fc\u30d7<\/p>\n","protected":false},"author":21,"featured_media":6914,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/thumbnails-ogp-6913.png","_jin_last_featured_id":6914,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-intern"],"jetpack_featured_media_url":"https:\/\/blog.smartlight.co.jp\/wp-content\/uploads\/2025\/07\/thumbnails-featured-6913.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/6913","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6913"}],"version-history":[{"count":1,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/6913\/revisions"}],"predecessor-version":[{"id":6922,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/6913\/revisions\/6922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=\/wp\/v2\/media\/6914"}],"wp:attachment":[{"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.smartlight.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}