Ok, I experimented with the starup script and scheduler but still need some help. This is what I did:

1) Created a startup script:

# -*- coding: utf-8 -*-
 
import os
import time
import sys
 
print "Start indiserver in FIFO mode..."
sys.stdout.flush()
os.system('mkfifo /tmp/myFIFO')
os.system('indiserver -v -f /tmp/myFIFO')
time.sleep(5)
 
print "Start mount simulator driver"
sys.stdout.flush()
os.system('echo "start indi_simulator_telescope" > /tmp/myFIFO')
time.sleep(5)

print "Start ccd simulator driver"
sys.stdout.flush()
os.system('echo "start indi_simulator_ccd" > /tmp/myFIFO') 
 
exit(0)

2) I started the scheduler with a simple esq file and the startup script. I did not start Ekos (hit the play button on the Ekos setup page) before launging the scheduler, because I wanted the startup script to start indiserver and the (simulation) drivers.
3) This is the output:
2021-01-09T12:51:38 Mount already unparked.
2021-01-09T12:51:36 INDI devices connected.
2021-01-09T12:51:35 Ekos started.
2021-01-09T12:51:05 Start ccd simulator driver
2021-01-09T12:49:34 Start mount simulator driver
2021-01-09T12:49:29 Start indiserver in FIFO mode...
2021-01-09T12:49:29 Executing script /home/sternwarte/Schreibtisch/startup_script.py...
2021-01-09T12:49:27 Scheduler started.

4) So the startup script is starting the indiserver in FIFO mode and the drivers. But after executing the startup script, Ekos is starting the selected profile and tells me, that another indiserver is already running (the one I started with the script, I guess).
5) The devices are only showing up in the INDI Control panel after Ekos starts the profile and not when I start the devices in the startup script.

Can anyone please tell me what I am doing wrong? Thanks a lot!

Simon

Read More...