×

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.

INDI Web Manager

  • Posts: 18
  • Thank you received: 3

Replied by hugues obolonsky on topic INDI Web Manager

hello knro,

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"]) """

it work but in this case, we loose tw bootstrap.

So i finally end up with a more ugly
os.chdir

will send you a pull request
--
Regards
Hoxca
The following user(s) said Thank You: Jasem Mutlaq
6 years 9 months ago #7883

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Thanks, this seems to work for now. I'm sure there are more bugs here and there so let's see how it goes.

Make sure your Raspberry PI INDI package is updated to the latest release.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 9 months ago #7884

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

  • Posts: 565
  • Thank you received: 56

Replied by Magnus Larsson on topic INDI Web Manager

OK, great. Working after update of indi on the Pi.

Magnus

Losmandy G11, Celestron CGE-Pro
Celestron C11, C8
Skywatcher 100 ED Pro
QHY268m, Atik 383L+, ASI294
Lowspec, Star'Ex
6 years 9 months ago #7893

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

Replied by Jasem Mutlaq on topic INDI Web Manager

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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 9 months ago #7896

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

  • Posts: 18
  • Thank you received: 3

Replied by hugues obolonsky on topic INDI Web Manager

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 ;)
6 years 9 months ago #7911

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

Replied by Jasem Mutlaq on topic INDI Web Manager

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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 9 months ago #7912

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

  • Posts: 18
  • Thank you received: 3

Replied by hugues obolonsky on topic INDI Web Manager

Nope !
As far as the gphoto_cdd driver is only working as root,
i was launching the indiserver manually as root...

Config saves are allready in /root/.indi
Last edit: 6 years 9 months ago by hugues obolonsky.
6 years 9 months ago #7914

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Ok, you need to put your username in the service. I updated the service file. Make sure to delete /tmp/indiFIFO before restarting the service.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 9 months ago #7916

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

  • Posts: 441
  • Thank you received: 51

Replied by Patrick on topic INDI Web Manager

Thank you Jasem,

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.

Patrick
6 years 9 months ago #7926

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

Replied by Jasem Mutlaq on topic INDI Web Manager

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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 9 months ago #7929

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

  • Posts: 441
  • Thank you received: 51

Replied by Patrick on topic INDI Web Manager

Found a little problem with the web manager. Trying to access to the web manager I get very often a partial page.
Driver box line is missing and the button start is inactive.
I join a picture of it there.

Last edit: 6 years 9 months ago by Patrick.
6 years 9 months ago #7982
Attachments:

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

  • Posts: 2161
  • Thank you received: 206

Replied by Gonzothegreat on topic INDI Web Manager

Just noticed this thread, interesting and useful tool.
I'm having the following issue and with all indi drivers updated.:
root@heidenrod-obs:/opt/indiwebmanager/servermanager# python drivermanager.py 
/usr/share/indi/indi_sx.xml
/usr/share/indi/indi_gonzobox.xml
/usr/share/indi/indi_gonzobox_rainsensor.xml
/usr/share/indi/indi_atik.xml
/usr/share/indi/indi_qhy.xml
/usr/share/indi/indi_eqmod.xml
/usr/share/indi/drivers.xml
/usr/share/indi/indi_shoestring.xml
Parsing XML file: /usr/share/indi/indi_sx.xml
Parsing XML file: /usr/share/indi/indi_gonzobox.xml
Traceback (most recent call last):
  File "drivermanager.py", line 4, in <module>
    from servermanager import startServer, stopServer, isServerRunning, getRunningDrivers
  File "/opt/indiwebmanager/servermanager/servermanager.py", line 4, in <module>
    from parsedrivers import driversList
  File "/opt/indiwebmanager/servermanager/parsedrivers.py", line 35, in <module>
    family = group.attrib['group']
KeyError: 'group'
root@heidenrod-obs:/opt/indiwebmanager/servermanager#
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
6 years 9 months ago #8028

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

Time to create page: 0.241 seconds