×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

2x QHY cameras

  • Posts: 207
  • Thank you received: 14

2x QHY cameras was created by Nick Birkett

Hi - trying to set up  configuration files for QHY294M main camera and QHY178M guide camera. These are connected via Raspberry pi4 running ubuntu server 20.
When I attach 1 camera with no configuration it creates a file called 'QHY CCD_config.xml'. I then hit Save and all is fine it saves the config. I then attach the other camera
and it loads same file and trashes the config file as the Gain offset is all wrong. ok I save 2 files one called 'QHY CCD QHY294PROM-8afa_config.xml'
'QHY CCD QHY5III178M-dae_config.xml' with correct settings and merge these together deleting <INDIDriver> </INDIDriver> in between. It now says "No previous configuration found" and makes up 
a default - now incorrect. However if I hit save in each camera tab it saves each camera config to the 'QHY CCD_config.xml'  it claimed didn't exist at startup !
I had this issue before using 2 ZWO cameras but managed to fix it by merging 2 files as above and setting it read only so wasn't trashed at shutdown.
I notice if I run things locally on my Intel workstation running Mint 19.3  it creates a separate file for each camera  'QHY CCD QHY294PROM-8afa_config.xml' , 'QHY CCD QHY5III178M-dae_config.xml'
and all is well. Not sure why this doesn't work on RPi.
Anyone had the same issue ?
Thanks.
 
 
 
3 years 2 days ago #70173

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic 2x QHY cameras

Ok the issue seems to be something to do with indiwebserver . If I install and start indiwebmanager.service
on my local workstation but then put my local hostname in the profile editor tab and set to remote the same
issue ensues. When set to local it reads a separate config file for each camera but can't find one and uses a single 'QHY CCD_config.xml ' for both cameras when going through remote which leads to conflict.
Is this a known bug or a feature ?
3 years 2 days ago #70179

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic 2x QHY cameras

Ok another step closer.
If I skip the Autoconnect via Indi Webserver on remote server (RPi in this case ) and start the indi drivers by
hand on the RPi:
indiserver -l -v -p 7624 -m 300 -r 0 indi_eqmod_telescope indi_qhy_ccd indi_asi_wheel indi_moonlite_focus
Then everything now works.
QHY294M reads the config file 'QHY CCD QHY294PROM-8afa_config.xml'
QHY178M reads the config file 'QHY CCD QHY5III178M-dae_config.xml' .
If I use the Save button in the indi control panel tabs then they save the correct information to the separate files.
So it seems to be some sort of issue with using indi_web. I guess temporary workaround found but would be nice to fix properly.
I saw exactly the same issue using 2x ZWO cameras so it is some sort of issue with 2 devices using same indi driver and indi_web.
3 years 2 days ago #70181

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic 2x QHY cameras

My guess is that it is some sort of permissions problem. Maybe starting as wrong user (eg root ) ?
Can't see where I can set the config file paths. This what I get when starting indi-web by hand:
2021-04-17 15:10:07,469 - DEBUG: command line arguments: {'indi_port': 7624, 'port': 8624, 'host': '0.0.0.0', 'fifo': '/tmp/indiFIFO', 'conf': '/home/nick/.indi', 'xmldir': '/usr/share/indi/', 'verbose': True, 'logfile': None, 'server': 'standalone'}
2021-04-17 15:10:07,482 - INFO: pkill -9 indiserver
2021-04-17 15:10:07,496 - WARNING: terminating indiserver failed code 1
2021-04-17 15:10:07,517 - INFO: using Bottle as standalone server
2021-04-17 15:10:11,940 - INFO: pkill -9 indiserver
2021-04-17 15:10:11,955 - WARNING: terminating indiserver failed code 1
2021-04-17 15:10:11,960 - WARNING: Profile name EQMod+QHY294M+QHY5III178M already exists.
2021-04-17 15:10:12,059 - INFO: Deleting fifo /tmp/indiFIFO
2021-04-17 15:10:12,070 - INFO: indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /tmp/indiserver.log 2>&1 &
2021-04-17 15:10:12,075 - INFO: echo "start indi_qhy_ccd -c \"/home/nick/.indi/QHY CCD_config.xml\" -n \"QHY CCD\"" > /tmp/indiFIFO
2021-04-17 15:10:12,080 - INFO: echo "start indi_asi_wheel -c \"/home/nick/.indi/ASI EFW_config.xml\" -n \"ASI EFW\"" > /tmp/indiFIFO
2021-04-17 15:10:12,086 - INFO: echo "start indi_moonlite_focus -c \"/home/nick/.indi/MoonLite_config.xml\" -n \"MoonLite\"" > /tmp/indiFIFO
2021-04-17 15:10:12,093 - INFO: echo "start indi_eqmod_telescope -c \"/home/nick/.indi/EQMod Mount_config.xml\" -n \"EQMod Mount\"" > /tmp/indiFIFO

Picks up the wrong config files for QHY cameras.
????
3 years 2 days ago #70188

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

  • Posts: 207
  • Thank you received: 14

Replied by Nick Birkett on topic 2x QHY cameras

The problem is that on my ubuntu 20.x server dists only python3 was installed but some of the code for indi-web
has #!/usr/bin/python scripts.
I made a link:
cd /usr/bin
sudo ln -s python3 python

Now indi-web reads and writes the correct configs .

This explains why it was working both locally and remotely when starting indiserver manually
but broke when using indi-web.
2 years 8 months ago #73876

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

Time to create page: 0.670 seconds