Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File "./allsky.py", line 97, in <module> #1

Closed
ptson92 opened this issue Sep 8, 2021 · 4 comments
Closed

File "./allsky.py", line 97, in <module> #1

ptson92 opened this issue Sep 8, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ptson92
Copy link

ptson92 commented Sep 8, 2021

Hi.
I tried to install with QHY5 but got this error:
2021-09-08 18:02:40,568 [INFO] MainProcess _initialize() #255: Set BLOB mode
2021-09-08 18:02:40,570 [INFO] MainProcess newMessage() #129: new Message 2021-09-08T11:02:40: [ERROR] Connecting to camera failed (QHY5LII-M-6077e8602ac8994f3).
2021-09-08 18:02:40,572 [INFO] MainProcess configureDevice() #234: Setting switch FRAME_FORMAT
2021-09-08 18:02:40,573 [INFO] MainProcess newSwitch() #116: new Switch CONNECTION for device QHY CCD QHY5LII-M-6077e
Traceback (most recent call last):
File "./allsky.py", line 97, in
action_func(*args_list)
File "/home/pi/indi-allsky/indi_allsky/allsky.py", line 393, in run
self._initialize()
File "/home/pi/indi-allsky/indi_allsky/allsky.py", line 258, in _initialize
self.indiclient.configureDevice(self.ccdDevice, self.config['INDI_CONFIG_DEFAULTS'])
File "/home/pi/indi-allsky/indi_allsky/indi.py", line 235, in configureDevice
self.set_switch(device, k, on_switches=v['on'], off_switches=v.get('off', []))
File "/home/pi/indi-allsky/indi_allsky/indi.py", line 403, in set_switch
c = self.get_control(device, name, 'switch')
File "/home/pi/indi-allsky/indi_allsky/indi.py", line 377, in get_control
raise TimeOutException('Timeout finding control {0}'.format(name))
indi_allsky.exceptions.TimeOutException: Timeout finding control FRAME_FORMAT
2021-09-08 18:02:50,585 [INFO] MainProcess info() #54: process shutting down

@aaronwmorris
Copy link
Owner

If you are willing to be a tester for me I can make sure QHY cameras work correctly. Every vendor can use slightly different property names for things like gain. I just do not have a QHY camera to test with.

I just need the output of indi_getprop with the camera connected and indiserver running.

@aaronwmorris
Copy link
Owner

Also, can you send the contents of your config.json file?

@aaronwmorris aaronwmorris added the enhancement New feature or request label Sep 10, 2021
@aaronwmorris aaronwmorris self-assigned this Sep 10, 2021
@aaronwmorris
Copy link
Owner

I managed to get my hands on a used QHY camera to test and it happens to be the same model QHY5LII-M. I have updated the code to support QHY cameras.

There is also an example config file in the examples/ folder for the QHY5LII-M.

@aaronwmorris
Copy link
Owner

QHY support is merged. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants