i try to force the template lookup with
""" return template('form.tpl', allProfiles=allProfiles, allDrivers=allDrivers, port=port, saved_profile=saved_profile, template_lookup=[dirname+"/views",".","./views"]) """
Updated web manager to support custom drivers. Now you can start INDI server and chain it to other drivers. Also documenting the API since you can use tools like curl to control all aspects of the application which is useful in scripts.
I think i touch another bug related to path loading.
When i launch the indiserver via the webmanager (started as daemon) on the remote server,
the gphoto_ccd client cannot load the saved configuration.
As this is working when i launch the indiserver manually, i guess it's a path related issue in webmanager/indiserver launch command.
I will try to debug that but if you have any hints, it's welcome
hmmm most likely because it is run as root, it tries to load config from ~/.indi which would be /root/.indi but for a normal user it is loaded from /home/username/.indi which is where you had all your previous configs.
Thank you for this elegant tool. I developed a python app very similar but so more complex.
I added to it a function to upload pictures stored on the remote device. Do you mind it could be useful to add it to your server ?
By the way learned how to make a service without using /etc/init.d mechanisms.
Hey Patrick, I'm trying to keep the tool as simple as possible. Might provide a separate tool to manage the drivers themselves (there is already one developed by Jean-Luc) along with other functionalities such as the one you suggest.