×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

INDI Web Manager

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.
7 years 11 months ago #7916

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

  • Posts: 454
  • 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
7 years 11 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.
7 years 11 months ago #7929

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

  • Posts: 454
  • 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: 7 years 11 months ago by Patrick.
7 years 11 months ago #7982
Attachments:

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

  • Posts: 2247
  • Thank you received: 223

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#
7 years 10 months ago #8028

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Update your XML file (tindi_gonzobox.xml) to the new DTD schema. add <driversList> check the other XML files for where to put them.
Last edit: 7 years 10 months ago by Jasem Mutlaq.
7 years 10 months ago #8029

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic INDI Web Manager

ok thanks, let me google out this DTD stuff, sounds intriguing.

Going to download the RPI files and decompress the content of the deb files and figure this one out.
Last edit: 7 years 10 months ago by Gonzothegreat.
7 years 10 months ago #8030

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

Replied by Jasem Mutlaq on topic INDI Web Manager

just add <driversList> before <devGroup> and </driversList> after </devGroup>
The following user(s) said Thank You: Gonzothegreat
7 years 10 months ago #8031

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic INDI Web Manager

oh ok, it works. Testing this tool now.
7 years 10 months ago #8032

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic INDI Web Manager

So far it works well. I do get the following message:
"Not all profile drivers are running. Make sure all devices are powered and connected."

It would be nice to have an option in this tool to power on/off the devices.
For example, in my case I use the following switchable USB board to correctly disconnected my devices: www.yepkit.com/products/ykush
I also control the GPIO pins to turn on some relays.

So, maybe have the option to run a custom user script to turn on/off devices.
7 years 10 months ago #8033

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

  • Posts: 29
  • Thank you received: 2

Replied by Clément on topic INDI Web Manager


Same here, in both Chrome on Windows 7, and Firefox on Kubuntu. I noticed that this does not happen when my machine is connected to the internet (which is a problem, because my Raspberry Pi is on a separate network).

I also noticed that my browser is really slowly loading the page (sometimes more than 10 seconds), and is looking up for either of these two sites:
looking up fonts.googleapis.com
looking up ajax.googleapis.com
Does it mean the webpage is trying to load its fonts from the Google API website? Then it is normal that it does not work, because my machine is not connected to the internet :P

I also mention that I have the latest INDI package (1.2.0) on my Raspberry Pi. And I also tested on the Kubuntu VM with the latest INDI.

The logs produced by the Python program show nothing anormal:
192.168.2.1 - - [02/May/2016 05:51:01] "GET / HTTP/1.1" 200 12643
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/css/bootstrap.css HTTP/1.1" 304 0
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 304 0
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/css/schoolhouse.css HTTP/1.1" 304 0
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 0
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/js/bootstrap-select.min.js HTTP/1.1" 304 0
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/js/jquery-ui.min.js HTTP/1.1" 304 0
192.168.2.1 - - [02/May/2016 05:51:02] "GET /static/js/indi.js HTTP/1.1" 304 0
Last edit: 7 years 10 months ago by Clément.
7 years 10 months ago #8322

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

Replied by Jasem Mutlaq on topic INDI Web Manager

I removed the calls to any external sources, please 'git pull' or download the zip again and try.
7 years 10 months ago #8329

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

Time to create page: 0.882 seconds