Good evening, sorry, I don’t speak English I use a translator. I hope you understand me.
I have 2 small problems.
-1: The address of my montage changes regularly. I have to do a search to be able to use the application on the computer or my phone. What is the way to fix this address?
-2: My assembly includes 2 strips of 144 LEDs each. I managed to put a button to control my LEDs with presets. So far so good.
Now I have installed an IR receiver and I would like to control my LEDs with my remote control: a gray 24 button.
I got the JSON code for the latter, it works well for the colors, I can modify the values and change the rendering, ON and OFF or intensity works.
On the 4 gray buttons on the right, I would like to assign my presets to the remote control. If I activate a preset from the computer, I no longer have my hand on the remote control. I have to go through solid mode to find the color functions. I’m using Visual Studio Code to modify the Json of my remote.
As I have never programmed, if anyone could help me solve my problems that would be nice.
Thanking you in advance. Sincerely.
- you can fix the IP address under wifi settings or tell your router to always assign the same address to this device
- the question is unclear. to edit the json file you can also just directly edit it on the conroller, go to controllerIP/edit and edit the IR.json file.
Good evening, thank you for your response.
For the remote control, I will try to be more precise.
I have 2 144 LED strips that work very well with the Wled console on computer or my phone. I put a button to select presets, it works perfectly.
Now I have mounted an I/R receiver to control my assembly with a gray 24-key remote control. I took the code from this remote and uploaded it to wled. So far no worries, I can change the colors as I want.
On the remote control, there are 4 gray buttons on the right side, I would like to reprogram it with my presets, but I cannot do it, hence my request for help and explanations in order to achieve this.
Thanking you for your help. Sincerely.
you can edit the json file for the IR, see my last post. there are some example commands in the KB: Infrared - WLED Project
this sets preset number 5
"cmd": {"ps":"5"}
this for example cycles presets 1-6:
"cmd": {"ps":"1~6~"}
Good evening, first of all my apologies for not having replied to you sooner, I was absent for medical reasons.
Many thanks for your help, I was able to program one of the gray keys with one of my presets: “cmd”: {“ps”:“5”} and it works. Just a small problem, when I select the preset I can no longer choose a solid color so exit preset mode. I must be missing some punctuation at the end of the formula.
Another thing, I can’t find: controllerIP/edit; could you tell me where to find it?
Thank you for your help. Sincerely.
As far as
That’s a shorthand for the IP address of your ESP on your network.
For example, if your ESP has an address of “192.168.5.27”, you would get to the edit page by typing:
“192.168.5.27/edit” in your browser.
Once there you can see the various internal files saved on your ESP (configs/presets/IR/ledmaps, etc).
To get back to the WLED GUI, you’d type “192.168.5.27” in the browser (no /edit).
Just remember to replace the “192.168.5.27” with your actual IP address for your controller.