×

INDI Library v2.0.0 Released (01 Feb 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.

Execute script after each capture ?

  • Posts: 95
  • Thank you received: 9
Hello,
Is-it possible to execute a script (sh or py) after each capture in the scheduler ?
I would like to write in a file some information about the weather (from Openweathermap) for each capture.
Thank you,
Frank
Last edit: 10 months 1 week ago by Frank.
10 months 1 week ago #81704

Please Log in or Create an account to join the conversation.

  • Posts: 1284
  • Thank you received: 224
Not a feature that I know of. But would make for a good addition to the capture module as opposed to the scheduler. Maybe open a thread for it under Wishlist. Otherwise your next option is to write an external script that runs as the images are saved.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
10 months 1 week ago #81705

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 14
There is a Script Manager tool in the capture tool. You can have it execute a script pre or post Job or pre or post capture. I use it to execute a script after each capture to sync my captures to network storage from my PI4.
ES ED102 on Losmandy G11G
ASI071MC Pro, QHY5-III 178C
myFP2ESP focuser
Ubuntu 20.04 LTS on MeLE Quieter2Q
10 months 1 week ago #81710

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 14
Sorry about the multiple posts. I keep getting an error when I hit submit and hit submit a few times.
ES ED102 on Losmandy G11G
ASI071MC Pro, QHY5-III 178C
myFP2ESP focuser
Ubuntu 20.04 LTS on MeLE Quieter2Q
The following user(s) said Thank You: Jasem Mutlaq
10 months 1 week ago #81713

Please Log in or Create an account to join the conversation.

  • Posts: 1284
  • Thank you received: 224
Ah! 'Tunafish' is correct. I must be blind. Sorry for the bad advice.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
10 months 1 week ago #81742

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 9
Hello,
Sorry for this delay.
And yes, perfect, I didn't see that :blush:
Thank you so much,
Frank

PS. How can I get the name of the capture for a script ?
Last edit: 10 months 1 week ago by Frank.
10 months 1 week ago #81790

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 4
Mount: AZ-EQ6 GT
Scope: Skywatcher Esprit 100 super APO triplet
Guide: Tecnosky 60
Camera: Canon Ra
Camera guide: Zwo ASI 224MC
Stellarmate on RPI 4 8Gb
The following user(s) said Thank You: Frank
9 months 4 weeks ago #82088

Please Log in or Create an account to join the conversation.

Time to create page: 0.390 seconds