I made a usermod for a specific project (maybe I will make it more universal and propose as an official usermod).
The usermod needs commands to be send to the WLED esp32. At this moment everything works using the WLED websockets. I can send commands and my usermod respons correctly.
When I open the control html file from the local drive, it works. But local html is hard to do on mobile devices. So I put the html on a webserver.
Now it doesn’t work, because the site has to run on http, when the webserver is https it cannot load the presets due to mixed content (only http from the WLED device). And it can’t connect to the websocket, because only wss is supported.
When I maken an exeption to treat the ip from the WLED as secure (flag in chrome), the control html works find. But everytime I start the browser I get a warning for this flag exception.
Another problem is that the WLED should work offline, so a hosted html file is not a good option anyways.
No I saw this: Web GUI Sitemap - WLED Project there is a /u route, “Custom usermod page”
This would fix my problem, if I could run the command html within WLED, and just surf to my custom html. Or better, within the WLED GUI.
But I can’t find anymore info about this. Does anyone ever did this? Or any clue how I could get this running?