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

Version 2023.05.01_01 #2797

Merged
merged 480 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
480 commits
Select commit Hold shift + click to select a range
308588c
Merge pull request #2724 from thomasjacquin/Add-warning-to-SSL-docume…
EricClaeys May 31, 2023
f5eacc1
Improved log messages in install.sh
EricClaeys May 31, 2023
3a3ea24
Update install.sh: shellcheck fix
EricClaeys May 31, 2023
8e08f6f
Update install.sh: real shellcheck fix
EricClaeys May 31, 2023
6881925
Merge pull request #2725 from thomasjacquin/Improved-log-messages-in-…
EricClaeys May 31, 2023
245bfea
Fix install.sh bug when updating settings file
EricClaeys May 31, 2023
3e84570
Merge pull request #2726 from thomasjacquin/Fix-install.sh-bug-when-u…
EricClaeys May 31, 2023
9fc2cdd
Changes as requested on #2717
Alex-developer May 31, 2023
d5ce7fd
Merge pull request #2727 from Alex-developer/dev
Alex-developer May 31, 2023
c39fa49
Correct scl/sda on dew heater circuit #2728
Alex-developer May 31, 2023
b9cacd7
Merge branch 'thomasjacquin:dev' into dev
Alex-developer May 31, 2023
468fc77
Merge pull request #2729 from Alex-developer/dev
Alex-developer May 31, 2023
0ce579d
install.sh: fix bug #2 with unlink of settings files
EricClaeys Jun 1, 2023
b8a5f6f
Merge pull request #2730 from thomasjacquin/install.sh-fix-bug-#2-wit…
EricClaeys Jun 1, 2023
a340569
README.md: mention Ubuntu and fix links
EricClaeys Jun 1, 2023
3385bd1
Delete WebUI.png - not needed
EricClaeys Jun 1, 2023
12e8b3d
capture_ZWO.cpp: initial changes for experimental mode
EricClaeys Jun 2, 2023
cfe09b3
Update allsky_common.h: add useExpirementalExposure
EricClaeys Jun 2, 2023
a571e1e
Update allsky_common.h: fix spelling of Experimental
EricClaeys Jun 2, 2023
c5d650e
Update allsky_common.cpp: add experimentalExposure
EricClaeys Jun 2, 2023
6e26f12
Update capture_ZWO.cpp: use global variable
EricClaeys Jun 2, 2023
1f21638
Update options.json.repo: add experimentalExposure
EricClaeys Jun 2, 2023
e5eb908
Update ASI_functions.cpp: add experimentalExposure
EricClaeys Jun 2, 2023
77b607c
Update ASI_functions.cpp: fix bug: %s vs %d
EricClaeys Jun 2, 2023
e41a4bb
Update allsky_common.cpp: add useExperimentalExposure
EricClaeys Jun 2, 2023
f5030b4
Update capture_ZWO.cpp: fix name misspelling
EricClaeys Jun 2, 2023
97b0cb8
Update allsky_common.cpp: display day/night mean settings for ZWO
EricClaeys Jun 2, 2023
8b3c361
Update ASI_functions.cpp: Allow ModeMean and MeanThreshold for ZWO
EricClaeys Jun 2, 2023
7cf0455
Update allsky_common.cpp: align output
EricClaeys Jun 2, 2023
eeef623
Update allsky_common.cpp: fix: arguments need to be lowercase
EricClaeys Jun 2, 2023
4a234e0
Update capture_ZWO.cpp: no need to check if histogram is NULL
EricClaeys Jun 2, 2023
54d9b2c
Update capture_ZWO.cpp: move histogram definition to where it's needed
EricClaeys Jun 2, 2023
52a01dd
Update capture_RPi.cpp
EricClaeys Jun 2, 2023
016e03f
Update options.json.repo: default mean targets should be based on camera
EricClaeys Jun 2, 2023
e90c286
Update allsky.html: remove "RPi only" for Target Mean
EricClaeys Jun 2, 2023
678f9cd
Update functions.sh: bug fix: don't assume SETTINGS_FILE
EricClaeys Jun 2, 2023
33342f9
Update allsky_common.h: change ZWO mean defaults to decimal
EricClaeys Jun 2, 2023
4ae97a5
Update allsky_common.cpp: minor wording change
EricClaeys Jun 2, 2023
be6dfaa
Update allsky_common.h: set day target mean values to old values
EricClaeys Jun 2, 2023
09bc75e
Update ASI_functions.cpp: see description
EricClaeys Jun 2, 2023
62fdcf3
Update capture_ZWO.cpp: multiply min/max mean by 255
EricClaeys Jun 2, 2023
54e21fe
Update createAllskyOptions.php: major updates
EricClaeys Jun 2, 2023
1cfc43b
Update options.json.repo: see description
EricClaeys Jun 2, 2023
7a3511d
Update Makefile: bug fix: "sunwait" needs to depend on "patchsunwait"
EricClaeys Jun 2, 2023
c4ec37a
Update allsky.html: "Mean Threshold" is also available on ZWO
EricClaeys Jun 2, 2023
5aab229
Update changeLog.html: add 3 new ZWO settings
EricClaeys Jun 2, 2023
a5debba
Merge pull request #2731 from thomasjacquin/Implement-"experimental"-…
EricClaeys Jun 2, 2023
30a7089
src/Makefile: temporarily break dependency on patchsunwait
EricClaeys Jun 2, 2023
806de6c
Merge pull request #2732 from thomasjacquin/src/Makefile-temporarily-…
EricClaeys Jun 2, 2023
58343a1
allsky_common.cpp: remove unnecessary checks
EricClaeys Jun 2, 2023
486d173
Merge pull request #2733 from thomasjacquin/allsky_common.cpp-remove-…
EricClaeys Jun 2, 2023
cadee5c
Update allsky_common.h: update values
EricClaeys Jun 2, 2023
0ee7181
Update allsky_common.cpp: always display target means
EricClaeys Jun 2, 2023
1e42ef7
Update allsky_common.cpp: minor wording change
EricClaeys Jun 2, 2023
2083d71
Merge pull request #2734 from thomasjacquin/Mention-Ubuntu-isn't-supp…
EricClaeys Jun 2, 2023
e12bdde
Update allsky_common.cpp: don't multiple nightExposure by 1000
EricClaeys Jun 2, 2023
b354578
Update ASI_functions.cpp: Set default brightness
EricClaeys Jun 2, 2023
aabf733
Update capture_ZWO.cpp: set defaults, then grab arguments.
EricClaeys Jun 2, 2023
05d8b8c
Merge pull request #2735 from thomasjacquin/capture-changes
EricClaeys Jun 2, 2023
af7cbde
Remove sunwait patch #2738
Alex-developer Jun 3, 2023
f956b87
Remove sunwait patch #2738
Alex-developer Jun 3, 2023
7e57376
Merge pull request #2739 from Alex-developer/dev
EricClaeys Jun 3, 2023
e73ca60
Update allskySettings.php
EricClaeys Jun 3, 2023
322b962
Update options.json.repo: use "integer", "float", and "boolean"
EricClaeys Jun 3, 2023
0e838d4
Update options.json.repo: put space after ":" for consistency
EricClaeys Jun 3, 2023
2fb4d68
Update allskySettings.php: handle "boolean" and "percent"
EricClaeys Jun 3, 2023
22e82b0
Update index.php: don't pass WLAN interface name
EricClaeys Jun 3, 2023
85cd9d3
Update dashboard_WLAN.php: add function to display a single interface
EricClaeys Jun 3, 2023
25ab518
Update changeLog.html: add multiple Wi-Fi interfaces supported.
EricClaeys Jun 3, 2023
7a9df61
Merge pull request #2740 from thomasjacquin/Allow-multiple-WLAN-inter…
EricClaeys Jun 3, 2023
0528e92
functions.php fix: don't assume $result[1] exists
EricClaeys Jun 3, 2023
56c8af5
Merge pull request #2741 from thomasjacquin/parse_ifconfig()-fix-and-…
EricClaeys Jun 3, 2023
ce23ff3
Merge pull request #2742 from thomasjacquin/Settings-distinguish-betw…
EricClaeys Jun 3, 2023
61e36f5
index.php: Display messages from functions if needed
EricClaeys Jun 4, 2023
1c22b71
Update functions.php: check if numbers used in math are numeric
EricClaeys Jun 4, 2023
73b93e4
status_messages.php: add $highlight argument
EricClaeys Jun 4, 2023
40d93b3
Update index.php: display messages if needed
EricClaeys Jun 4, 2023
c14f745
Update allskySettings.php: validate numbers
EricClaeys Jun 4, 2023
c73efd3
Update functions.php: set daydelay to -1 instead of delay
EricClaeys Jun 4, 2023
98657c1
Update changeLog.html: mention validating numbers
EricClaeys Jun 4, 2023
b27dba9
Update allskySettings.php: state if fractions are allowed or not
EricClaeys Jun 4, 2023
f9f9cee
Update custom.css: make alert-danger class more obvious
EricClaeys Jun 4, 2023
ea1420c
Merge pull request #2744 from thomasjacquin/Check-for-valid-numbers
EricClaeys Jun 4, 2023
553a506
Update install.sh: misc changes
EricClaeys Jun 7, 2023
7c5bb33
Update functions.sh: add update_json_file()
EricClaeys Jun 7, 2023
e8c25f7
Merge pull request #2752 from thomasjacquin/New-update_json_file()-fu…
EricClaeys Jun 7, 2023
49afd2e
Automatically fix broken settings links
EricClaeys Jun 7, 2023
ae14ddf
Merge pull request #2753 from thomasjacquin/Automatically-fix-broken-…
EricClaeys Jun 7, 2023
5e57d7f
Update options.json.repo
EricClaeys Jun 7, 2023
bd080f7
Update allsky_common.cpp
EricClaeys Jun 7, 2023
549bbc6
Update capture_ZWO.cpp
EricClaeys Jun 7, 2023
d59d659
Update allsky.html: add New Exposure Algorithm
EricClaeys Jun 7, 2023
3347543
Update options.json.repo: rename option
EricClaeys Jun 7, 2023
ef1a177
Update allsky_common.cpp: rename option
EricClaeys Jun 7, 2023
0fdd98f
Merge pull request #2754 from thomasjacquin/Rename-Experimental-to-New
EricClaeys Jun 7, 2023
73a0eb2
Update installUpgradeFunctions.sh: only save 1st line of branch
EricClaeys Jun 7, 2023
3793e35
Update install.sh: check for multiple branches in .git/config file
EricClaeys Jun 7, 2023
42ff26a
Merge pull request #2755 from thomasjacquin/(Attempt-to)-fix-branch-f…
EricClaeys Jun 7, 2023
fdcf59b
Update variables.sh: add ALLSKY_ABORTEDSAVEIMAGE
EricClaeys Jun 8, 2023
b4af368
Update functions.sh: add one_instance()
EricClaeys Jun 8, 2023
893bce5
Update upload.sh: use one_instance() instead of our own code
EricClaeys Jun 8, 2023
29900c9
Update upload.sh: remove unused variable
EricClaeys Jun 8, 2023
0006948
Update timelapse.sh: use one_instance() instead of our own code
EricClaeys Jun 8, 2023
1e9d40c
Update functions.sh: use "ps -fp"
EricClaeys Jun 8, 2023
a75b87d
Update saveImage.sh: use one_instance()
EricClaeys Jun 8, 2023
6e50c08
Merge pull request #2756 from thomasjacquin/Add-one_instance()-function
EricClaeys Jun 8, 2023
8ddbc26
check_settings_link(): use settings()
EricClaeys Jun 8, 2023
c405514
Merge pull request #2757 from thomasjacquin/check_settings_link()-use…
EricClaeys Jun 8, 2023
b8e7cc2
install.sh: get convert_settings() working, plus more
EricClaeys Jun 8, 2023
690d23e
Merge pull request #2758 from thomasjacquin/install.sh-get-convert_se…
EricClaeys Jun 8, 2023
d6fd72d
determineCommandToUse(): send errors to stderr
EricClaeys Jun 8, 2023
af1f6f2
Merge pull request #2759 from thomasjacquin/determineCommandToUse()-s…
EricClaeys Jun 8, 2023
2d7fcfb
SSL clarifications
EricClaeys Jun 8, 2023
bbe008e
Merge pull request #2760 from thomasjacquin/SSL-clarifications
EricClaeys Jun 8, 2023
bc82f41
saveImage.sh: bug fix: remove aborted image
EricClaeys Jun 8, 2023
af96378
Merge pull request #2761 from thomasjacquin/saveImage.sh-bug-fix-remo…
EricClaeys Jun 8, 2023
a50d938
functions.sh: run raspistill to check if it works
EricClaeys Jun 8, 2023
9cef8f8
Merge pull request #2762 from thomasjacquin/functions.sh-run-raspisti…
EricClaeys Jun 8, 2023
dfda9b0
Update variables.sh: rename 3 ABORTED... variables
EricClaeys Jun 10, 2023
0afdc0d
Update variables.sh: put aborted files in same directory
EricClaeys Jun 10, 2023
4438ca3
Update allsky.sh: use new directory for aborted info
EricClaeys Jun 10, 2023
c9ad588
Update saveImage.sh: new arguments to one_instance() and timelapse.sh
EricClaeys Jun 10, 2023
e633b0d
Update functions.sh: argument changes
EricClaeys Jun 10, 2023
9ed3253
Update saveImage.sh: don't use --process-name
EricClaeys Jun 10, 2023
bef3dc0
Update upload.sh: argument changes to one_instance()
EricClaeys Jun 10, 2023
cebe8c4
Update saveImage.sh: shellcheck fix
EricClaeys Jun 10, 2023
d4e0b87
Update darkCapture.sh: changes due to changes in saveImage.sh
EricClaeys Jun 10, 2023
50687c3
Update timelapse.sh: new arguments
EricClaeys Jun 10, 2023
a10fdbf
Update timelapse.sh: new arguments
EricClaeys Jun 10, 2023
96f7624
Update timelapse.sh: Fix/improve determination of input and output di…
EricClaeys Jun 10, 2023
a76ba1e
Update timelapse.sh: redo main loop
EricClaeys Jun 10, 2023
87e715a
Update generateForDay.sh: make_thumbnail() and others
EricClaeys Jun 10, 2023
aba72a6
Update timelapse.sh: shellcheck fix
EricClaeys Jun 10, 2023
15f5f03
Update endOfNight.sh: use preferred "--" arguments
EricClaeys Jun 10, 2023
f7bf1eb
Update functions.sh: add make_thumbnail()
EricClaeys Jun 10, 2023
a532b34
Merge pull request #2764 from thomasjacquin/Improvements-to-process-l…
EricClaeys Jun 10, 2023
d9ce729
Update saveImage.sh: use make_thumbnail()
EricClaeys Jun 10, 2023
7468af0
Merge pull request #2765 from thomasjacquin/Use-make_thumbnail()
EricClaeys Jun 10, 2023
bc32f97
Update install.sh: call check_new_exposure_algorithm()
EricClaeys Jun 10, 2023
6bc3518
Merge pull request #2766 from thomasjacquin/Prompt-ZWO-users-to-use-n…
EricClaeys Jun 10, 2023
f02210e
install.sh: Support restarting where left off
EricClaeys Jun 10, 2023
8227af4
Update save_file.php: Add "config" check
EricClaeys Jun 10, 2023
f4c9678
Merge pull request #2768 from thomasjacquin/save_file.php-handle-"con…
EricClaeys Jun 10, 2023
9af26e5
Update install.sh: Add get_connected_cameras()
EricClaeys Jun 11, 2023
ab7b10b
Update install.sh: better way to update STATUS_VARIABLES
EricClaeys Jun 11, 2023
29d3b82
Update install.sh: shellcheck fix
EricClaeys Jun 11, 2023
b6bcf56
Merge pull request #2769 from thomasjacquin/install.sh-Support-restar…
EricClaeys Jun 11, 2023
067b47a
Update install.sh
EricClaeys Jun 11, 2023
c9381e8
Update install.sh: rename LOCALE to DESIRED_LOCALE
EricClaeys Jun 11, 2023
9b44834
Update install.sh: minor wording changes.
EricClaeys Jun 12, 2023
2bfbbdc
timelapse.sh: check for missing or 0-length files.
EricClaeys Jun 12, 2023
6381f02
Merge pull request #2770 from thomasjacquin/timelapse.sh-check-for-mi…
EricClaeys Jun 12, 2023
cedf827
Update install.sh: use "git rev-parse --abbrev-ref HEAD" to determine…
EricClaeys Jun 12, 2023
e4531a3
Update install.sh: add extra "MORE_STATUS" argument to exit_installation
EricClaeys Jun 12, 2023
bf586b4
Update install.sh: Add more status lines.
EricClaeys Jun 12, 2023
971f3a4
Update install.sh: skip already performed Python dependency installat…
EricClaeys Jun 12, 2023
dee6c03
Update install.sh: hopefully last set of changes for restarting insta…
EricClaeys Jun 12, 2023
9807c67
Update functions.php: check for "" lastChanged
EricClaeys Jun 12, 2023
d92c1a1
Update allsky.sh: check for unconfigured settings
EricClaeys Jun 12, 2023
45a2470
Update install.sh: Reset lastChanged to force users to look at config…
EricClaeys Jun 12, 2023
accdeb3
Update install.sh: convert a few more old settings to new
EricClaeys Jun 12, 2023
5ca97a1
Merge pull request #2771 from thomasjacquin/Additional-install.sh-res…
EricClaeys Jun 12, 2023
9bf01b6
Delete flow-runner.py - accidently added to root
EricClaeys Jun 12, 2023
ff1b72f
Merge pull request #2772 from thomasjacquin/Delete-flow-runner.py---a…
EricClaeys Jun 12, 2023
d701de8
Update functions.sh: improve jq-related commands
EricClaeys Jun 12, 2023
0029374
Update install.sh: fix the "sed" line to break .json file into field …
EricClaeys Jun 12, 2023
544026c
Merge pull request #2773 from thomasjacquin/install.sh-bug-fix-conver…
EricClaeys Jun 12, 2023
7b7a025
Makefile: handle change to uname -m for VMs
EricClaeys Jun 13, 2023
2d1c577
Update changeLog.html: mention bug fix
EricClaeys Jun 13, 2023
b265ee2
Merge pull request #2774 from thomasjacquin/Makefile-handle-change-to…
EricClaeys Jun 13, 2023
c6631c3
Update install.sh: use $CAMERA instead of $CAMERA_TYPE
EricClaeys Jun 13, 2023
462c670
Merge pull request #2775 from thomasjacquin/install.sh-use-$CAMERA-in…
EricClaeys Jun 13, 2023
62e36c1
functions.sh: Don't do "ls -l" of FILE
EricClaeys Jun 13, 2023
734496d
Merge pull request #2776 from thomasjacquin/functions.sh-Don't-do-"ls…
EricClaeys Jun 13, 2023
571ba3d
Update functions.sh: better error messages and return codes
EricClaeys Jun 13, 2023
427dca0
Update install.sh: 2 bug fixes
EricClaeys Jun 13, 2023
7ab0432
Update install.sh: Save status on interrupt
EricClaeys Jun 13, 2023
b203e60
Merge pull request #2777 from thomasjacquin/install.sh-bug-fix-with-P…
EricClaeys Jun 13, 2023
8836f30
Update variables.sh: add ALLSKY_UPTIME_SINCE
EricClaeys Jun 13, 2023
b119aaa
Update functions.sh: add check_for_reboot
EricClaeys Jun 13, 2023
c36a9e9
Update functions.sh: reverse return code
EricClaeys Jun 13, 2023
1dd63e7
Update allsky.sh: check if a reboot is needed
EricClaeys Jun 13, 2023
0f85e8d
Update installUpgradeFunctions.sh: add get_allsky_branch
EricClaeys Jun 13, 2023
4cb9ac2
Update installUpgradeFunctions.sh: shellcheck fix
EricClaeys Jun 13, 2023
4659d2c
Update functions.sh: list invalid field
EricClaeys Jun 13, 2023
3570dbe
Update check_allsky.sh: check for reboot and config
EricClaeys Jun 13, 2023
128a7a0
Update install.sh: indicate when reboot needed.
EricClaeys Jun 13, 2023
963f1fc
Update install.sh: shellcheck fix
EricClaeys Jun 13, 2023
82c3a2c
Update functions.php: set lastChanged to "" if not there or blank
EricClaeys Jun 13, 2023
f300ccb
Update allskySettings.php: check for $lastChanged === ""
EricClaeys Jun 13, 2023
4f1b1bb
Update allsky.sh: fix doExit arguments
EricClaeys Jun 13, 2023
81c7a4a
Merge pull request #2778 from thomasjacquin/Determine-if-user-reboote…
EricClaeys Jun 13, 2023
28e2eca
Update functions.sh: output reason for stop
EricClaeys Jun 13, 2023
f0ba610
Update functions.sh: fix variable name
EricClaeys Jun 13, 2023
e9f947c
Update allsky.sh: add system messages
EricClaeys Jun 13, 2023
d1de0fc
Merge pull request #2779 from thomasjacquin/Improved-"Allsky-stopped"…
EricClaeys Jun 13, 2023
2c709fd
settings() bug fix
EricClaeys Jun 13, 2023
2297182
Merge pull request #2780 from thomasjacquin/settings()-bug-fix
EricClaeys Jun 13, 2023
500088c
removeBadImages.sh: shorten message so it fits in image
EricClaeys Jun 14, 2023
ac4eba6
Merge pull request #2781 from thomasjacquin/removeBadImages.sh-shorte…
EricClaeys Jun 14, 2023
7e52e10
Update variables.sh
EricClaeys Jun 14, 2023
115b45c
Update install.sh
EricClaeys Jun 14, 2023
6201460
Update functions.sh
EricClaeys Jun 14, 2023
61bc9c3
Merge pull request #2784 from thomasjacquin/Rename-ALLSKY_UPTIME_SINC…
EricClaeys Jun 14, 2023
5ebaefa
Update upgrade.sh
EricClaeys Jun 14, 2023
3274a8b
Update variables.sh: delete ALLSKY_BRANCH_FILE
EricClaeys Jun 14, 2023
ca7ce85
Update installUpgradeFunctions.sh: see description
EricClaeys Jun 14, 2023
84b439c
Update install.sh: don't append "/" to PRIOR_WEBSITE
EricClaeys Jun 14, 2023
70c9e50
Update install.sh: use get_branch() instead of get_allsky_branch()
EricClaeys Jun 14, 2023
9224228
Update upgrade.sh: use get_branch(), not get_allsky_branch()
EricClaeys Jun 14, 2023
17dcf14
Update check_allsky.sh: use get_branch(), not get_allsky_branch()
EricClaeys Jun 14, 2023
bfdb774
Update check_allsky.sh: shellcheck fix
EricClaeys Jun 14, 2023
f2ace36
Merge pull request #2785 from thomasjacquin/Use-get_allsky_branch()
EricClaeys Jun 14, 2023
da52a5a
Update install.sh
EricClaeys Jun 14, 2023
a4b9da7
Update install.sh: improve look of "Restoring prior:" output
EricClaeys Jun 14, 2023
a7b04ad
Merge pull request #2786 from thomasjacquin/install.sh-better-log-mes…
EricClaeys Jun 14, 2023
548b5de
Update allsky_common.h: add variables for next version
EricClaeys Jun 14, 2023
dd63a1d
Update allsky_common.h: change night values
EricClaeys Jun 14, 2023
c59a5f2
Update mode_mean.h: change two comments
EricClaeys Jun 14, 2023
09fd715
Update allsky_common.cpp: improve Log() messages
EricClaeys Jun 14, 2023
93e74d1
Update allsky_common.cpp: replace spaces with tab
EricClaeys Jun 14, 2023
effd888
Update options.json.repo: "Brightness" is deprecated
EricClaeys Jun 14, 2023
a3bf068
Update ASI_functions.cpp: improve Log() messages
EricClaeys Jun 14, 2023
e4019f3
Update capture_RPi.cpp: better Log() messages
EricClaeys Jun 14, 2023
0eafc5c
Update capture_ZWO.cpp: better Log() messages
EricClaeys Jun 14, 2023
b9880cf
Update allsky_common.h
EricClaeys Jun 14, 2023
7fadd55
Merge pull request #2787 from thomasjacquin/capture-commands-better-L…
EricClaeys Jun 14, 2023
f87ecf3
Rename and move "meanValue"
EricClaeys Jun 14, 2023
509da39
Update capture_RPi.cpp
EricClaeys Jun 14, 2023
19c7f87
Update capture_ZWO.cpp
EricClaeys Jun 14, 2023
f23fcbc
Update mode_mean.h: remove meanValue
EricClaeys Jun 14, 2023
585c377
Merge pull request #2788 from thomasjacquin/Rename-and-move-"meanValue"
EricClaeys Jun 14, 2023
66bafa9
Update mode_mean.h: remove mean_threshold
EricClaeys Jun 14, 2023
e4a8ab5
Update capture_RPi.cpp: remove myModeMeanSetting.mean_threshold
EricClaeys Jun 14, 2023
ed8a64c
Update mode_mean.cpp: rename mean_threshold to currentMean_threshold
EricClaeys Jun 14, 2023
96d8edd
Merge pull request #2789 from thomasjacquin/Rename-and-move-"mean_thr…
EricClaeys Jun 14, 2023
1f704a3
Update mode_mean.h: remove mean_p[012]
EricClaeys Jun 14, 2023
84c60fc
Update mode_mean.cpp: use cg->myModeMeanSetting instead of currentMod…
EricClaeys Jun 14, 2023
08ccb67
Update capture_RPi.cpp: deleted unneeded lines
EricClaeys Jun 14, 2023
72a3e0e
Update allsky.html: Brightness has been deprecated
EricClaeys Jun 14, 2023
5981cfb
Merge pull request #2790 from thomasjacquin/Brightness-has-been-depre…
EricClaeys Jun 14, 2023
8825721
Merge pull request #2791 from thomasjacquin/Use-mean_p012]-in-allsky_…
EricClaeys Jun 14, 2023
0f5a641
install.sh: add a couple log entries
EricClaeys Jun 15, 2023
d646d71
Merge pull request #2792 from thomasjacquin/install.sh-add-a-couple-l…
EricClaeys Jun 15, 2023
f86a065
Update install.sh: use convert_json_to_tabs
EricClaeys Jun 15, 2023
89e8c66
Update functions.sh: add convert_json_to_tabs()
EricClaeys Jun 15, 2023
dcd96e1
Update allsky.sh: use convert_json_to_tabs
EricClaeys Jun 15, 2023
53bc40e
Merge pull request #2793 from thomasjacquin/install.sh-use-convert_js…
EricClaeys Jun 15, 2023
47787f9
check_allsky.sh: remove duplicate checks
EricClaeys Jun 15, 2023
5a3717c
Merge pull request #2794 from thomasjacquin/check_allsky.sh-remove-du…
EricClaeys Jun 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 20 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
# Allsky Camera ![Release](https://img.shields.io/badge/Version-v2023.05.01-green.svg) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MEBU2KN75G2NG&source=url)
# Allsky Camera ![Release](https://img.shields.io/badge/Version-v2023.05.01_01-green.svg) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MEBU2KN75G2NG&source=url)

This is the source code for the Allsky Camera project described [on Instructables](http://www.instructables.com/id/Wireless-All-Sky-Camera/).
 
<p align="center">
<img src="https://github.com/thomasjacquin/allsky/blob/master/assets/allsky_camera.png" width="50%" title="Example of an allsky camera">
</p>

> **This README and the [Allsky documentation](https://github.com/thomasjacquin/allsky/wiki) will help get your allsky camera up and running.**
> **This README and the [Allsky documentation](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/index.html) will help get your allsky camera up and running.**

&nbsp;

<!-- =============================================================================== -->
## Requirements

You will need the following hardware:
You will need the following:

* A camera (Raspberry Pi HQ, Module 3 or compatible, or ZWO ASI)
* A Raspberry Pi (2, 3, 4 or Zero 2 W).
* A Raspberry Pi (Zero 2, 2, 3, 4) running Pi OS.
* A camera (Raspberry Pi HQ, Module 3, or RPi compatible, or ZWO ASI)


&nbsp;
> **NOTES:**
> - The ZWO ASI120-series cameras are not recommended due to somewhat poor quality. See the [Troubleshooting --> ZWO Cameras](https://github.com/thomasjacquin/allsky/wiki) documentation for notes on the ASI120-series and related T7 / T7C cameras.
> - The Pi Zero and Pi Zero W, with their limited memory and _very_ limited CPU power (single CPU core), are not recommended. You will likely not be able to create keograms, startrails, or timelapse videos.
> - The Pi Zero 2 and Pi Zero 2 W, with their limited memory and somewhat limited CPU power, are not recommended unless cost is a major concern. Creating keograms, startrails, and timelapse videos may or may not be possible.
> - We have not found any "Pi-compatible" boards that are actually compatible, so buyer beware.
> - Only the Raspberry Pi OS is supported. Other operating systems like Ubuntu are NOT supported.
> - The ZWO ASI120-series cameras are not recommended due to somewhat poor quality. See [Troubleshooting --> ZWO Cameras](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/troubleshooting/ZWOCameras.html) for notes on the ASI120-series and related T7 / T7C cameras.
> - The Pi Zero with its limited memory and _very_ limited CPU power (single CPU core), is not recommended. You will likely not be able to create keograms, startrails, or timelapse videos.
> - The Pi Zero 2 with its limited memory and somewhat limited CPU power, is not recommended unless cost is the only concern. Creating keograms, startrails, and timelapse videos may or may not be possible.
> - The Le Potato is the only "Pi-compatible" board that we've found to actually be compatible, so buyer beware.
---


Expand All @@ -35,7 +36,7 @@ You will need the following hardware:
PatriotAstro created a great [video](https://www.youtube.com/watch?v=7TGpGz5SeVI) describing the installation steps below.
**We highly suggest viewing it before installing the software.**

Detailed installation instructions can be found in the [Installing / Upgrading --> Allsky](https://github.com/thomasjacquin/allsky/wiki) documentation.
Detailed installation instructions can be found at [Installing / Upgrading --> Allsky](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/installations/Allsky.html).

---

Expand All @@ -45,7 +46,7 @@ Detailed installation instructions can be found in the [Installing / Upgrading -
## Web User Interface (WebUI)

<p align="center">
<img src="https://github.com/thomasjacquin/allsky/blob/master/assets/WebUI.png" style="border: 1px solid black">
<img src="https://github.com/thomasjacquin/allsky/blob/master/html/documentation/settings/AllskySettingsPage.png" style="border: 1px solid black">
</p>

The WebUI is now installed as part of Allsky and is used to administer Allsky, and to a lesser extent, your Pi. It can also be used to view the current image as well as all saved images, keograms, startrails, and timelapse videos.
Expand All @@ -67,7 +68,7 @@ If it is behind a firewall consult the documentation for your network equipment

By installling the optional Allsky Website you can display your files on a website on the Pi, on another machine, or on both.

See the [Installation / Upgrading --> Website](https://github.com/thomasjacquin/allsky/wiki) documentation for information on how to install and configure an Allsky Website.
See [Installation / Upgrading --> Website](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/installations/AllskyWebsite.html) for information on how to install and configure an Allsky Website.

---

Expand All @@ -82,7 +83,7 @@ Allsky supports running "modules" after each picture is taken to change the imag

The Overlay Editor lets you easily specify what text and images you want in your overlay, and place them using drag-and-drop. Each field can be formatted however you want (font, color, size, position, rotation, etc.). The only limit is your imagination!!

See the [Explanations / How To -> Overlays](https://github.com/thomasjacquin/allsky/wiki) and [Explanations / How To -> Modules](https://github.com/thomasjacquin/allsky/wiki) documentation for more information.
See [Explanations / How To -> Overlays](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/overlays/overlays.html) and [Explanations / How To -> Modules](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/modules/modules.html) for more information.

---

Expand All @@ -93,7 +94,7 @@ See the [Explanations / How To -> Overlays](https://github.com/thomasjacquin/all

Dark frame subtraction removes hot pixels from images by taking images at different temperatures with a cover on your camera lens and subtracting those images from nighttime images.

See the [Explanations / How To -> Dark frames](https://github.com/thomasjacquin/allsky/wiki) documentation for more information.
See [Explanations / How To -> Dark frames](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/explanations/darkFrames.html) for more information.

---

Expand All @@ -120,7 +121,7 @@ By default, a timelapse video is generated at the end of nighttime from all of t
A **Keogram** is an image giving a quick view of the day's activity.
For each image a central vertical column 1 pixel wide is extracted. All these columns are then stitched together from left to right. This results in a timeline that reads from dawn to the end of nighttime (the image above only shows nighttime data since daytime images were turned off).

See the [Explanations / How To --> Keograms](https://github.com/thomasjacquin/allsky/wiki) documentation.
See [Explanations / How To --> Keograms](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/explanations/keograms.html).


---
Expand All @@ -137,7 +138,7 @@ See the [Explanations / How To --> Keograms](https://github.com/thomasjacquin/al
**Startrails** are generated by stacking all the images from a night on top of each other.
In the image above, Polaris is centered about one-fourth the way from the top.

See the [Explanations / How To --> Startrails](https://github.com/thomasjacquin/allsky/wiki) documentation.
See [Explanations / How To --> Startrails](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/explanations/startrails.html).


---
Expand All @@ -150,7 +151,7 @@ See the [Explanations / How To --> Startrails](https://github.com/thomasjacquin/
You can specify how many days worth of images to keep in order to keep the Raspberry Pi SD card from filling up. If you have the Allsky Website installed on your Pi, you can specify how many days worth of its imags to keep.


See the **DAYS_TO_KEEP** and **WEB_DAYS_TO_KEEP** settings in the [Settings --> Allsky Website](https://github.com/thomasjacquin/allsky/wiki) documentation.
See the **DAYS_TO_KEEP** and **WEB_DAYS_TO_KEEP** settings in [Settings --> Allsky](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/settings/allsky.html).

---

Expand All @@ -161,7 +162,7 @@ See the **DAYS_TO_KEEP** and **WEB_DAYS_TO_KEEP** settings in the [Settings -->
## Share your sky


If you want your allsky camera added to the [Allsky map](http://www.thomasjacquin.com/allsky-map), see the [Put your camera on Allsky Map](https://github.com/thomasjacquin/allsky/wiki) documentation.
If you want your allsky camera added to the [Allsky map](http://www.thomasjacquin.com/allsky-map), see [Put your camera on Allsky Map](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/miscellaneous/AllskyMap.html).

If you know anyone in Greenland or Antartica, send them a camera!!

Expand All @@ -179,7 +180,7 @@ If you know anyone in Greenland or Antartica, send them a camera!!
## Release changes

See the
[Allsky Version Change Log](https://github.com/thomasjacquin/allsky/blob/master/html/documentation/changeLog.html)
[Allsky Version Change Log](https://htmlpreview.github.io/?https://raw.githubusercontent.com/thomasjacquin/allsky/master/html/documentation/changeLog.html)
for a list of changes in this release and all prior releases.

---
Expand Down
57 changes: 42 additions & 15 deletions allsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,27 @@ source "${ALLSKY_CONFIG}/config.sh" || exit ${ALLSKY_ERROR_STOP}
#shellcheck disable=SC2086 source-path=scripts
source "${ALLSKY_SCRIPTS}/installUpgradeFunctions.sh" || exit ${ALLSKY_ERROR_STOP}

# Make sure they rebooted if they were supposed to.
NEEDS_REBOOT="false"
reboot_needed && NEEDS_REBOOT="true"

# Make sure the settings have been configured after an installation or upgrade.
LAST_CHANGED="$( settings ".lastChanged" )"
if [[ ${LAST_CHANGED} == "" || ${LAST_CHANGED} == "null" ]]; then
echo "*** ===== Allsky needs to be configured before it can be used. See the WebUI."
if [[ ${NEEDS_REBOOT} == "true" ]]; then
echo "*** ===== The Pi also needs to be rebooted."
doExit "${EXIT_ERROR_STOP}" "Error" \
"Allsky needs\nconfiguration\nand the Pi needs\na reboot" \
"Allsky needs to be configured then the Pi rebooted."
else
doExit "${EXIT_ERROR_STOP}" "ConfigurationNeeded" "" ""
"${ALLSKY_SCRIPTS}/addMessage.sh" "Error" "Allsky needs to be configured."
fi
elif [[ ${NEEDS_REBOOT} == "true" ]]; then
doExit "${EXIT_ERROR_STOP}" "RebootNeeded" "" ""
"${ALLSKY_SCRIPTS}/addMessage.sh" "Error" "The Pi needs to be rebooted."
fi

SEE_LOG_MSG="See ${ALLSKY_LOG}"
ARGS_FILE="${ALLSKY_TMP}/capture_args.txt"
Expand Down Expand Up @@ -171,6 +192,12 @@ else
"${NOT_STARTED_MSG}<br>${MSG}"
fi

# Make sure the settings file is linked to the camera-specific file.
if ! MSG="$( check_settings_link "${SETTINGS_FILE}" )" ; then
"${ALLSKY_SCRIPTS}/addMessage.sh" "error" "${MSG}"
echo "ERROR: Settings file (${SETTINGS_FILE}) not linked correctly." >&2
fi

# Make directories that need to exist.
if [[ -d ${ALLSKY_TMP} ]]; then
# remove any lingering old image files.
Expand All @@ -186,11 +213,13 @@ else
"${ALLSKY_SCRIPTS}/addMessage.sh" warning "${ME}: ${MSG}"
fi

rm -f "${ALLSKY_BAD_IMAGE_COUNT}" # Start with no bad images

# Clear out these files and allow the web server to write to it.
: > "${ALLSKY_ABORTEDUPLOADS}"
: > "${ALLSKY_ABORTEDTIMELAPSE}"
sudo chgrp "${WEBSERVER_GROUP}" "${ALLSKY_ABORTEDUPLOADS}" "${ALLSKY_ABORTEDTIMELAPSE}"
sudo chmod 664 "${ALLSKY_ABORTEDUPLOADS}" "${ALLSKY_ABORTEDTIMELAPSE}"
rm -fr "${ALLSKY_ABORTS_DIR}"
mkdir "${ALLSKY_ABORTS_DIR}"
sudo chgrp "${WEBSERVER_GROUP}" "${ALLSKY_ABORTS_DIR}"
sudo chmod 775 "${ALLSKY_ABORTS_DIR}"

# Optionally display a notification image.
if [[ $USE_NOTIFICATION_IMAGES -eq 1 ]]; then
Expand Down Expand Up @@ -219,17 +248,12 @@ if [[ -z ${LOCALE} || ${LOCALE} == "null" ]]; then
fi
fi

# shellcheck disable=SC2207
KEYS=( $(settings 'keys[]') )
for KEY in "${KEYS[@]}"
do
K="$(settings ".${KEY}")"
# We must pass "-config ${ARGS_FILE}" on the command line,
# and debuglevel we did above, so don't do them again.
[[ ${KEY} == "config" && ${KEY} == "debuglevel" ]] && continue

echo "-${KEY}=${K}" >> "${ARGS_FILE}"
done
# We must pass "-config ${ARGS_FILE}" on the command line,
# and debuglevel we did above, so don't do them again.
TAB="$( echo -e "\t" )"
convert_json_to_tabs "${SETTINGS_FILE}" |
grep -E -i -v "^config${TAB}|^debuglevel${TAB}" |
sed -e 's/^/-/' -e "s/${TAB}/=/" >> "${ARGS_FILE}"

# When using a desktop environment a preview of the capture can be displayed in a separate window.
# The preview mode does not work if we are started as a service or if the debian distribution has no desktop environment.
Expand All @@ -252,6 +276,9 @@ CAPTURE="capture_${CAMERA_TYPE}"

rm -f "${ALLSKY_NOTIFICATION_LOG}" # clear out any notificatons from prior runs.

# Clear up any flow timings
"${ALLSKY_SCRIPTS}/flow-runner.py" --cleartimings

# Run the main program - this is the main attraction...
# Pass debuglevel on command line so the capture program knows if it should display debug output.
"${ALLSKY_BIN}/${CAPTURE}" -debuglevel "${ALLSKY_DEBUG_LEVEL}" -config "${ARGS_FILE}"
Expand Down
Binary file removed assets/WebUI.png
Binary file not shown.
6 changes: 4 additions & 2 deletions config_repo/config.sh.repo
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ UHUBCTL_PORT=2
# ================ DO NOT CHANGE ANYTHING BELOW THIS LINE ================
ME2="$(basename "${BASH_SOURCE[0]}")"

CAMERA_TYPE="" # Updated during installation
# CAMERA_TYPE is updated during installation
CAMERA_TYPE=""
if [ "${CAMERA_TYPE}" = "" ]; then
echo -e "${RED}${ME2}: ERROR: Please set 'Camera Type' in the WebUI.${NC}"
sudo systemctl stop allsky > /dev/null 2>&1
Expand Down Expand Up @@ -192,6 +193,7 @@ CAMERA_MODEL="$(settings '.cameraModel')"

# So scripts can conditionally output messages.
ALLSKY_DEBUG_LEVEL="$(settings '.debuglevel')"
ALLSKY_VERSION="XX_ALLSKY_VERSION_XX" # Updated during installation
# ALLSKY_VERSION is updated during installation
ALLSKY_VERSION="XX_ALLSKY_VERSION_XX"

CONFIG_SH_VERSION=1
2 changes: 1 addition & 1 deletion config_repo/ftp-settings.sh.repo
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ REMOTE_HOST=""
REMOTE_PORT=""


############### ftp, ftps, and sftp PROTOCOLS only:
############### ftp, ftps, and sftp PROTOCOLS only. REMOTE_USER is also used by the scp PROTOCOL:
# The username of the login on the remote server.
REMOTE_USER=""

Expand Down
1 change: 1 addition & 0 deletions config_repo/lighttpd.conf.repo
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ setenv.add-environment = (

alias.url = ("/current/" => "XX_ALLSKY_HOME_XX/")
alias.url += ("/images/" => "XX_ALLSKY_IMAGES_XX/")
alias.url += ("/config/" => "XX_ALLSKY_CONFIG_XX/")
alias.url += ("/website/" => "XX_ALLSKY_WEBSITE_XX/")
alias.url += ("/documentation" => "XX_ALLSKY_DOCUMENTATION_XX/")
alias.url += ("/overlay" => "XX_ALLSKY_OVERLAY_XX/")
Expand Down
Loading