# Start 8x8 Matrix - with json

**URL:** <https://wled.discourse.group/t/start-8x8-matrix-with-json/12093>\
**Category:** Integrations\
**Created:** [June 21, 2024, 5:07am UTC](https://wled.discourse.group/t/start-8x8-matrix-with-json/12093 "2024-06-21T05:07:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Friedhofsblond](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/friedhofsblond/32/9743_2.png) [@Friedhofsblond](https://wled.discourse.group/u/Friedhofsblond)\
**Post date:** [June 21, 2024, 5:07am UTC](https://wled.discourse.group/t/start-8x8-matrix-with-json/12093/1 "2024-06-21T05:07:37Z")

</div>

Hello,  
I would like to start my 8x8 matrix with a json file.

```auto
{"on":true,"bri":4,"seg":{"id":0,"i":[0,2,"4ffffd",2,6,"f9fe1b",6,9,"4ffffd","f9fe1b",10,14,"000000","f9fe1b","4ffffd",16,18,"f9fe1b",18,22,"000000",22,24,"f9fe1b","4ffffd",25,31,"000000",31,33,"4ffffd",33,39,"000000",39,41,"4ffffd",41,47,"000000",47,49,"4ffffd",49,55,"000000",55,57,"4ffffd",57,63,"000000","4ffffd"]}}

```

Sorry - I have no idea 🙄  
What can I do?

Vielen Dank 😉

Mein Projekt:  
#ttps://community.homey.app/t/app-pro-d-a-l-o-r-digitally-addressable-leds-on-rest/42127/122  
#ttps://community.homey.app/t/alternative-statusanzeige-gesucht/103486/40

---

<div class="post-metadata">

**Author:** ![Magig\_Wled](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Magig\_Wled](https://wled.discourse.group/u/Magig_Wled)\
**Post date:** [June 21, 2024, 6:23am UTC](https://wled.discourse.group/t/start-8x8-matrix-with-json/12093/2 "2024-06-21T06:23:17Z")

</div>

@Friedhofsblond

versuchs mal damit  
IP = deine IP des controllers

```auto
curl -X POST "http://IP/json/state" -d '{"on":true,"bri":4,"seg":{"id":0,"i":[0,2,"4ffffd",2,6,"f9fe1b",6,9,"4ffffd","f9fe1b",10,14,"000000","f9fe1b","4ffffd",16,18,"f9fe1b",18,22,"000000",22,24,"f9fe1b","4ffffd",25,31,"000000",31,33,"4ffffd",33,39,"000000",39,41,"4ffffd",41,47,"000000",47,49,"4ffffd",49,55,"000000",55,57,"4ffffd",57,63,"000000","4ffffd"]}} -H "Content-Type: application/json"

```

---

<div class="post-metadata">

**Author:** ![Friedhofsblond](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/friedhofsblond/32/9743_2.png) [@Friedhofsblond](https://wled.discourse.group/u/Friedhofsblond)\
**Post date:** [June 21, 2024, 9:51am UTC](https://wled.discourse.group/t/start-8x8-matrix-with-json/12093/3 "2024-06-21T09:51:29Z")

</div>

Hallo,  
ja Danke habe dann hier im Forum doch noch was gefunden:

> [@How do I send JASON API commands from Node red?](https://wled.discourse.group/t/how-do-i-send-jason-api-commands-from-node-red/5108):
>
> Newbie, with a noob question here. I saw in the WLED documentation that commands can be send to set colors individually to each LED using the JSON API To set individual LEDs starting from the beginning, use an array of Color arrays. {"seg":{"i":[[255,0,0], [0,255,0], [0,0,255]]}} will set the first LED red, the second green and the third blue. Now, how can I send this commands from Node Red? My idea is to write a “function” node that create custom effects but I don’t know how to send those…

 ![wled9](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/529841dffab9d54cb5af4ddac905bb13b121b03e.png)

---

<div class="post-metadata">

**Author:** ![Magig\_Wled](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Magig\_Wled](https://wled.discourse.group/u/Magig_Wled)\
**Post date:** [June 21, 2024, 11:19am UTC](https://wled.discourse.group/t/start-8x8-matrix-with-json/12093/4 "2024-06-21T11:19:43Z")

</div>

Und hat das gleich funktioniert ?

---

<div class="post-metadata">

**Author:** ![Friedhofsblond](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/friedhofsblond/32/9743_2.png) [@Friedhofsblond](https://wled.discourse.group/u/Friedhofsblond)\
**Post date:** [June 21, 2024, 12:32pm UTC](https://wled.discourse.group/t/start-8x8-matrix-with-json/12093/5 "2024-06-21T12:32:51Z")

</div>

Ja, komischerweise - habe ich mal Glück gehabt. 🤷‍♂️ 😉  
Es gibt ja viele Möglichkeiten hier:

 ![wled999](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/0/02e962f7b2e7f7dbad43e6a0df1f3bcfa0270318.png)
