@dc42 Thank you for your answer.
So for the moment, I will wire the serial port to the IO_1 of the mainboard 6XD as it is working and move my button (in this io for the moment) toward the expansion board. It is not a problem I think.
The commands that I send to the UART are just json data.
The WLED support json API via Serial : https://kno.wled.ge/interfaces/json-api/
JSON over Serial
You can send commands to the WLED instance via Serial using the JSON API.
To request a JSON response containing the state and info objects, send {"v":true}.
for example I send such command :
; TURN ON ALL THE STRIPS
M118 P5 S"{""on"":true}"
;LAUNCH HOMING ANIMATION
M118 P5 S"{""ps"":1}"
; LAUNCH ALERT ANIMATION
M118 P5 S"{""ps"":99}"
; PUT BRIGHTNESS TO 255
M118 P5 S"{""bri"":255}"