indilib / indi-3rdparty

INDI 3rd Party drivers repository
https://www.indilib.org/devices.html
GNU Lesser General Public License v2.1
123 stars 208 forks source link

Uranus-c PRO PlayerOne cooling not working #919

Closed kris969 closed 3 months ago

kris969 commented 3 months ago

Describe the bug From Ekos, buttons to turn on and of camera cooling are greyed, so not usable. When trying to set temperature at indi driver level, the set temperature command is sent to the driver, but no information are given back. With the actual behavior, the camera temperature is unknown

My setup ==Raspberry==

==Laptop==

To Reproduce From the laptop, connection to playerone is ok: image

General informations are: image

From Ekos : impossible to activate the temperature cooling process : button is greyed: image

On the laptop, from PlayerOne indi driver, i did the following steps: -1- when setting temperature to -5°C, the following text is present in the log file on the raspberry. -2- when setting Max dT to: 1 °C/mn and Threshold to: 0.2°C, the following text is added in the log file on the raspberry. -3- when waiting with no action, the following lines are added in the log file on the raspberry. Log: image

On the latptop the indi driver interface is still showing a temperature of 0.00 image

It seems nothing is working about cooling...

Expected behavior Just to have cooling working. I haven't done yet all detailed tests for this indi driver, but it seems other functions are working.

Indi version used indi-bin: image

indi-playerone: image

kris969 commented 3 months ago

I started trying to locate where this issue could be coming from...

To do this:

My idea was to add some debug log, if needed, to try to understand the origin of this issue.

From my laptop, first of all, I checked the driver information at the indi driver interface. It appears that the version number is exactly the same but:

But a major difference is that: IT WORKS !!! Maybe, the only remaining minor issues concern for "cooling power" and "refroidisseur". For me, if I am wrong let me know, these LED should be green. Here is the view from the indi driver interface: image

At the Ekos level, everything is OK, as you can see in the following screenshot: image

So to conclude:

I hope my modest contribution will help? Have fun, looking at the sky ;)

knro commented 3 months ago

Looks like many issues with packages in last release. The compiled version works OK but there is an issue with the Debian packages which is so far unknown. I could rebuild all packages but this could be disruptive at this stage. In 3 weeks we will rebuild all package for next INDI release.

kris969 commented 3 months ago

Great decision! I can continue so far with my workaround. If you want I will be able to test the next release on my side to check if this issue will be effectively fixed. Let me know ;)

kris969 commented 3 months ago

Another point that could be useful to know: it's mandatory to install the libplayerone library.

kris969 commented 3 months ago

Update... On compiling the indi-playerone on a fresh Ubuntu 24.04 LTS on raspberry pi 4, when strictly following the howto as describe on 3rdparty repo, I got this: image

on this Ubuntu version, the libPlayerOneCamera isn't available!

I was able to compile after havind done this:

then: image

Remark: So far, I haven't done full test yet, it will be done later...

what's your point off view on this?

;)

hiro3110i commented 3 months ago

@kris969 Thank you for reporting the issue. I have same issue with my Poseidon-C Pro (cooled camera) on RasPi4 (Ubuntu 22.04). Deb repository of indi v2.0.7 seems have some issues for cooling control. I also build it from source code, it works well. Although it doesn't solve the issue, but I have updated the SDK version to the latest v3.6.2. Please check it on your side.

However, some model of PlayerOne cameras can't finish exposure on Ubuntu 24.04. So please wait a little longer before using Ubuntu 24.04. (Ubuntu 22.04 and 23.10 has no issue as far as i know) I don't have Uranus-C Pro, so I'd appreciate if you could help me test it.

knro commented 3 months ago

It's a packaging issue that affected many drivers. Hopefully resolved by 2.0.8 release due June 1st.