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

Add camera auto-select mode #291

Merged
merged 6 commits into from
Nov 23, 2020
Merged

Conversation

vidma
Copy link
Contributor

@vidma vidma commented Nov 21, 2020

e.g. useful for faster/easier setup using defaults, or if one has both cameras as uses headless mode.
@thomasjacquin

RPI camera is pretty bad, so quite obviously default should be ZWO.

seem to work ok.

@@ -0,0 +1 @@
export CAMERA=ZWO
Copy link
Contributor Author

@vidma vidma Nov 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p.s. this file is auto created each time the allsky service is (re)started and used only temporarily for the current "service session". seems like scripts read the config, and autoselection need to be saved somewhere (as e.g. lsusb or something related is not avail when camera is in-use)

@@ -5,7 +5,7 @@ After=multi-user.target
[Service]
User=pi
ExecStart=/home/pi/allsky/allsky.sh
StandardOutput=null
StandardOutput=syslog
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any good reason to silence stdout? makes debugging harder...

@thomasjacquin thomasjacquin merged commit 999e474 into AllskyTeam:master Nov 23, 2020
@thomasjacquin
Copy link
Collaborator

Thanks for that piece of code. That's pretty useful. I'll try this on my home camera.

@vidma vidma deleted the f-cam-autoselect branch November 25, 2020 10:55
@thomasjacquin
Copy link
Collaborator

@vidma Someone reported an issue that seems related to that new feature. Can you take a look?
This is the issue #293

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

Successfully merging this pull request may close these issues.

2 participants