AirBourn replied to the topic 'Optec Flip-Flat Automation?' in the forum. 2 years ago

I've tried a number of things. I wrote a python script that uses the indiclient (PyIndi) to connect to the server, watch my FlipFlat device, check the CAP_PARK property, and if it's UNPARK, then set the property to PARK and send the new switch to close the cap. It works perfectly from the command line. I set up just a one capture sequence job in Ekos (capture three short light frames) and setting that .py file as the Post-Job script. When I run the job, I get zero indication that Ekos did anything with the script and the file path disappears in the Scripts Manager dialog. I don't see anything in the status area or the logs or anything.

I tried a .sh shell script to call "python script.sh" with full pathnames, tried all four of the script boxes in the Scripts Manager, anything I could think of. I just get zero indication anywhere and the script path disappears.

I'd like to see just the simplest of examples of a script that works in the Scripts Manager. There's got to be something simple I'm missing - specific path or file suffix or ?

Read More...