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

This happens even if I remove the config.xml completely. I'm wondering if this error is causing something not to get properly handled with properties from different devices.

Read More...

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

But the tabs in the control panel are Astrometry, SX Wheel, iOptron CEM40, ZWO CCD ASI294MC Pro, ZWO CCD ASI120MC-S, ASI EAF

Seems like the file name doesn't include the extra camera model name.

Without knowing too much about the code maybe a simple fix is to use the string used in the tab name for the file name. I might go poking around the code....

Thanks.

Read More...

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>


However sometimes I see only 1 or the other. And on shutting down Ekos/Kstars this file gets re-written.

I think I figured out that if in the Indi Control panel I load the config of one camera, make changes to it, save it, I have to load the config again for the other camera, before I save the second camera's settings for both camera settings to be saved in the config.xml. Otherwise one overwrites the other. But on shutdown whatever is re-writing the config is not loading what's already there so only one of the two camera's settings persist.

Is there something I can do about this or doing wrong?

I've built latest from source on my Raspberry Pi 4 on May 7th. However, I've had this issue for quite a while so it isn't new.

Hopefully someone has some tips to get around this.

Thanks.

Read More...