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 ?
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 ?
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.