# Artnet dmx output

**URL:** https://discourse.nodered.org/t/artnet-dmx-output/79710
**Category:** General
**Created:** [10 July 2023 19:31 UTC](https://discourse.nodered.org/t/artnet-dmx-output/79710 "2023-07-10T19:31:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sweetpeet](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sweetpeet/32/81246_2.png) [@Sweetpeet](https://discourse.nodered.org/u/Sweetpeet)
#### Post date: [10 July 2023 19:31 UTC](https://discourse.nodered.org/t/artnet-dmx-output/79710/1 "2023-07-10T19:31:51Z")

</div>

Hi There,

I'm trying to send a DMX value to my Showtec Net 2/3 device so I can control my lights by a dimmer.

Im using the flow below, but what happens if I send value 255 to channel 1, all the DMX channels get a (random?) value which difference in the times I click on sent. Hope someone can give me a clue what happens here?

```auto
[{"id":"bb383bf9f390c3c0","type":"tab","label":"DMX","disabled":false,"info":""},{"id":"022cf68d56957801","type":"inject","z":"bb383bf9f390c3c0","name":"1 to 255","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"channel\":1,\"value\":255}","payloadType":"json","x":340,"y":400,"wires":[["79dce660123c69ba","f6e6539d89cd3783"]]},{"id":"b3f028c457e3c1a8","type":"inject","z":"bb383bf9f390c3c0","name":"1 to 0","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"channel\":1,\"value\":0}","payloadType":"json","x":330,"y":440,"wires":[["79dce660123c69ba","f6e6539d89cd3783"]]},{"id":"79dce660123c69ba","type":"artnet-command","z":"bb383bf9f390c3c0","name":"","artnetnode":"e4103b586a926093","x":990,"y":440,"wires":[]},{"id":"f6e6539d89cd3783","type":"debug","z":"bb383bf9f390c3c0","name":"debug 97","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":960,"y":360,"wires":[]},{"id":"e4103b586a926093","type":"artnet-node","host":"192.168.2.61","port":"6454","universe":"0"}]

```

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [11 July 2023 01:25 UTC](https://discourse.nodered.org/t/artnet-dmx-output/79710/2 "2023-07-11T01:25:01Z")

</div>

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<div class="post-metadata">

### Author: ![Sweetpeet](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sweetpeet/32/81246_2.png) [@Sweetpeet](https://discourse.nodered.org/u/Sweetpeet)
#### Post date: [11 July 2023 13:18 UTC](https://discourse.nodered.org/t/artnet-dmx-output/79710/3 "2023-07-11T13:18:14Z")

</div>

Okay, txs! I did it 😉

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [9 September 2023 13:18 UTC](https://discourse.nodered.org/t/artnet-dmx-output/79710/4 "2023-09-09T13:18:35Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
