Does anyone know how I would go about calling a local shell script from webcore (webcore and script hosted on same raspberry pi).
e.g. if button pressed execute ./myscript.sh
Cheers
D
Does anyone know how I would go about calling a local shell script from webcore (webcore and script hosted on same raspberry pi).
e.g. if button pressed execute ./myscript.sh
Cheers
D
I dont think you can - the dashboard is on the same Pi but the piston runs on the HE Hub
there may be ways (completely insecurely) to call bash from a webinterface and have webCore execute that way, but again it would be normally 'a bad thing' to do
Could you re-write the bash script in something that can execute via web? PHP? NodeJS? etc?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.