apertus-open-source-cinema / webui

A webui for AXIOM cameras. Interacting with nctrl.
https://apertus-open-source-cinema.github.io/webui/
15 stars 8 forks source link

feature request: basic commands as buttons #31

Open se6astian-pi opened 2 years ago

se6astian-pi commented 2 years ago

Oscar: I was wondering if it's possible to have basic operating commands such as rebooting the camera, HDMI start/stop and shutdown in the webui?

rroohhh commented 2 years ago

Well with the current backend this is basically trivial, as we can just execute arbitrary shell commands as root :)

@Bandit1983 might want to take a look?

se6astian-pi commented 2 years ago

Excellent :D

BAndiT1983 commented 2 years ago

Can do. A bit dangerous to send plain shell commands, but maybe it can be wrapped later in nctrl, with a allow list of commands.