I tried this:
Before starting kstars/ekos, I deleted both ZWO CCD files. I then started kstars and connected Ekos. The console logging warns that no previous configurations are found.
I then go to the ASI294MC tab and change my settings and save. The two ZWO CCD files seen before are re-created. They actually seem to contain a mix of ASI294MC and ASI120MC properties which seems correct.
I then go to the ASI120MC tab and change my settings there and save. I then look at the ZWO CCD_config.xml file and it now only contains ASI120MC options. The ASI294MC options are lost (but they are still in the defaults file).
I then go to the ASI294MC tab again and click save. If I look at the ZWO CCD_config.xml file I again see a mix of ASI294MC and ASI120MC properties.
I then stop Ekos. The ZWO CCD_config.xml file is again updated and now it contains only ASI120MC properties.
Next time I restart everything my ASI294MC settings are gone.
From looking through the code, I see that each Driver has a config.xml. Each driver can support multiple devices. For each device there can be multiple properties. Each property belongs to a device. So a config.xml can contain properties for different devices that are handled by the driver. I didn't see a simple way to make it so that the device name would be used for the config files, thereby having a config per device. However, it does seem like the code should be able to handle this case, it just seems like something with the ASI120MC-S configuration is somehow not following convention and overwriting the already existing properties.
One thing I noticed is that there is an error on the terminal console upon startup of ekos:
Dispatch command error(-1): INDI: Could not find property CCD_TEMPERATURE in ZWO CCD ASI120MC-S
Thanks!
It does seem like a file naming issue. If I look at the .indi directory I see:
ASI EAF_config.xml
ASI EAF_config.xml.default
Astrometry_config.xml
Astrometry_config.xml.default
iOptron CEM40_config.xml
iOptron CEM40_config.xml.default
SX Wheel_config.xml
SX Wheel_config.xml.default
ZWO CCD_config.xml
ZWO CCD_config.xml.default
Hi,
I've been using Ekos for about 6 mo now and really enjoy all its features. However there is a 'small' issue that I keep on running into that I would really like to find a fix for.
I have two ZWO cameras, a 120MC-S for guiding and a 294MC Pro for imaging. For my 120MC I set the format to Luma (still trying to determine if this is best). For my 294MC Pro I set some custom WB settings, set the format to RAW 16-bit, and set the temperature to -5 with the cooler on, along with a few other settings about which is the Primary camera, Guide camera, etc.
I save the configs individually. Try to re-load them. All is well.
I then shutdown Ekos and Kstars. When I reopen everything, I've lost some of the settings, even if I manually Load the configs. I've had it happen that I wasn't paying close attention on startup and ended up doing a night's session in 8-bit mode rather than 16-bit mode....
In poking around, I found that there is a file with all the config settings in ~/.indi/ZWO CCD_config.xml. When I save the config I sometimes see entries for both cameras. For instance:
<newSwitchVector device='ZWO CCD ASI120MC-S' name='CCD_VIDEO_FORMAT'>
<oneSwitch name='ASI_IMG_RAW8'>
Off
</oneSwitch>
<oneSwitch name='ASI_IMG_RGB24'>
Off
</oneSwitch>
<oneSwitch name='ASI_IMG_Y8'>
On
</oneSwitch>
<oneSwitch name='ASI_IMG_RAW16'>
Off
</oneSwitch>
</newSwitchVector>
<newSwitchVector device='ZWO CCD ASI294MC Pro' name='CCD_VIDEO_FORMAT'>
<oneSwitch name='ASI_IMG_RAW8'>
Off
</oneSwitch>
<oneSwitch name='ASI_IMG_RGB24'>
Off
</oneSwitch>
<oneSwitch name='ASI_IMG_Y8'>
Off
</oneSwitch>
<oneSwitch name='ASI_IMG_RAW16'>
On
</oneSwitch>
</newSwitchVector>