Add custom script execution functionality with menu integration#128
Conversation
|
Nice, i like the fact that it returns actual script output, wanted to do this myself. Did you know that there already is a "custom script" support ?
Does it make sense to merge these two pages/features ? Might confuse otherwise. |
|
Yeah i've used those actions before, but now you say it, imo it does make sense to merge those. I'll see if i can do something about the continious log output |
|
I would go with merge those 2 into the same menu and keep both functionalities. |
…ole output to the onscreen output
|
New commit merges the before newly created scripts menu into the existing Action menu. Also fixed the buffered output of the console. 2026-05-24.23-28-02.mp4 |
This pull request adds a new "Scripts" menu section to the UI. This scans the /media/dvr/scripts folder for .sh scripts and lists them. once selected it first asks for confirmation, and after shows the console output of the script in a new window.
This is made so it is easier to add custom functionality that is not nescesarily something we want to integrate directly into pixelpilot. Example would be a script that copies a binary for APFPV to the drone/vtx, and executes a sysupgrade on the drone side.
Or as shown in this video a script to do a firstboot on the vtx.
2026-05-22.14-49-14.mp4