aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
188 stars 31 forks source link

Not Producing Timelapses or Keos Automatically - ASI678MC #1318

Open AlaskanAstro opened 3 weeks ago

AlaskanAstro commented 3 weeks ago

Hello, recently got this project running after migrating over from TJ's all sky. I'm currently trying to sort through my issues and the first is that it doesn't seem to be creating timelapses or keograms automatically.

I can however use the Generate page to create a timelapse and keo so the hardware seems capable. Here's a short summary of my circumstances and my guesses what may be up:

Raspi 4b 4GB, ASI678MC, 15s day subs, I live at 63N and night time mode is not triggering at all.

Some guesses from things that have caused issues with other programs:

Again this is a bit confusing because the manual generation does work (even if takes like 1-2 hours to output). Please let me know if any extra logs would be helpful. Really enjoying the program so far.

/home/nina/indi-allsky/misc/support_info.sh: line 61: warning: command substitution: ignored null byte in input #################################

indi-allsky support info

#################################


Distribution: debian
Release: 12
Arch: aarch64
Bits: 64

CPUs: 4
Memory: 3883064 kB

System: Raspberry Pi 4 Model B Rev 1.5

Linux allsky2 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux

Uptime
 10:13:59 up 1 day, 15:05,  2 users,  load average: 0.19, 0.07, 0.01

Memory
               total        used        free      shared  buff/cache   available
Mem:         3883064     1109360      609176       29896     2271900     2773704
Swap:         204796      202180        2616

Filesystems
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1668360        0   1668360   0% /dev
tmpfs             388308     1324    386984   1% /run
/dev/mmcblk0p2  60801648 25895396  31797900  45% /
tmpfs            1941532      316   1941216   1% /dev/shm
tmpfs               5120       16      5104   1% /run/lock
/dev/mmcblk0p1    522230    76382    445848  15% /boot/firmware
tmpfs             388304       40    388264   1% /run/user/1000

sysctl info
vm.swappiness = 60

system python: Python 3.11.2

indiserver: /usr/local/bin/indiserver

User info
uid=1000(nina) gid=1000(nina) groups=1000(nina),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),105(render),106(netdev),115(lpadmin),993(gpio),994(i2c),995(spi),999(systemd-journal)

Process info
nina        1005  0.7  0.1  83676  5692 ?        Ss   Jun08  17:29 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_asi_ccd
nina        1023  0.0  0.2  41236 10368 ?        S    Jun08   2:03 indi_simulator_telescope
nina        1024  1.2  2.1 404548 85228 ?        Sl   Jun08  28:56 indi_asi_ccd
nina        1975  0.0  0.2  33412 10812 ?        SNs  Jun08   0:25 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
nina        1977  0.0  6.6 1085936 257664 ?      SNl  Jun08   1:57 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
nina        2001  0.0  1.6 800944 63660 ?        SNsl Jun08   1:20 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
nina        2431  4.6  3.8 839976 147720 ?       SNl  Jun08 107:01 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
nina        2433 11.9  6.9 994796 269148 ?       RNl  Jun08 275:34 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
nina        2434  1.6  5.1 900008 200292 ?       SNl  Jun08  38:37 /home/nina/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
nina       35184  0.3  0.0   6800  3072 ?        SN   10:13   0:00 /bin/bash /home/nina/indi-allsky/misc/support_info.sh

USB info
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 03c3:678b ZWO ASI678MC
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

USB Permissions
      122      0 drwxr-xr-x   4 root     root           80 Dec 31  1969 /dev/bus/usb
      123      0 drwxr-xr-x   2 root     root          100 Dec 31  1969 /dev/bus/usb/001
      124      0 crw-rw-r--   1 root     root     189,   0 Jun  8 19:08 /dev/bus/usb/001/001
      141      0 crw-rw-r--   1 root     root     189,   1 Jun  8 19:08 /dev/bus/usb/001/002
      300      0 crw-rw-rw-   1 root     root     189,   2 Jun 10 10:13 /dev/bus/usb/001/003
      125      0 drwxr-xr-x   2 root     root           60 Dec 31  1969 /dev/bus/usb/002
      126      0 crw-rw-r--   1 root     root     189, 128 Jun  8 19:08 /dev/bus/usb/002/001

video device Permissions
crw-rw----+ 1 root video 81,  2 Jun  8 19:08 /dev/video10
crw-rw----+ 1 root video 81,  5 Jun  8 19:08 /dev/video11
crw-rw----+ 1 root video 81, 11 Jun  8 19:08 /dev/video12
crw-rw----+ 1 root video 81,  0 Jun  8 19:08 /dev/video13
crw-rw----+ 1 root video 81,  1 Jun  8 19:08 /dev/video14
crw-rw----+ 1 root video 81,  3 Jun  8 19:08 /dev/video15
crw-rw----+ 1 root video 81,  4 Jun  8 19:08 /dev/video16
crw-rw----+ 1 root video 81, 12 Jun  8 19:08 /dev/video18
crw-rw----+ 1 root video 81,  9 Jun  8 19:08 /dev/video19
crw-rw----+ 1 root video 81,  6 Jun  8 19:08 /dev/video20
crw-rw----+ 1 root video 81,  7 Jun  8 19:08 /dev/video21
crw-rw----+ 1 root video 81,  8 Jun  8 19:08 /dev/video22
crw-rw----+ 1 root video 81, 10 Jun  8 19:08 /dev/video23
crw-rw----+ 1 root video 81, 13 Jun  8 19:08 /dev/video31

v4l info
Cannot open device /dev/video0, exiting.
bcm2835-codec-decode (platform:bcm2835-codec):
    /dev/video10
    /dev/video11
    /dev/video12
    /dev/video18
    /dev/video31
    /dev/media3

bcm2835-isp (platform:bcm2835-isp):
    /dev/video13
    /dev/video14
    /dev/video15
    /dev/video16
    /dev/video20
    /dev/video21
    /dev/video22
    /dev/video23
    /dev/media0
    /dev/media1

rpivid (platform:rpivid):
    /dev/video19
    /dev/media2

Module info
Module                  Size  Used by
tcp_diag               12288  0
inet_diag              24576  1 tcp_diag
rfcomm                 53248  4
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq                81920  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
cmac                   12288  3
algif_hash             12288  1
aes_arm64              12288  3
aes_generic            32768  1 aes_arm64
algif_skcipher         12288  1
af_alg                 28672  6 algif_hash,algif_skcipher
bnep                   24576  2
brcmfmac_wcc           12288  0
brcmfmac              348160  1 brcmfmac_wcc
hci_uart               49152  0
binfmt_misc            16384  1
brcmutil               24576  1 brcmfmac
btbcm                  24576  1 hci_uart
bluetooth             606208  33 hci_uart,btbcm,bnep,rfcomm
cfg80211              995328  1 brcmfmac
bcm2835_v4l2           40960  0
rpivid_hevc            45056  0
ecdh_generic           16384  2 bluetooth
ecc                    36864  1 ecdh_generic
bcm2835_codec          45056  0
bcm2835_isp            28672  0
bcm2835_mmal_vchiq     36864  3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_mem2mem           53248  2 bcm2835_codec,rpivid_hevc
videobuf2_vmalloc      12288  1 bcm2835_v4l2
rfkill                 32768  6 bluetooth,cfg80211
videobuf2_dma_contig    20480  3 bcm2835_codec,rpivid_hevc,bcm2835_isp
libaes                 12288  3 aes_arm64,bluetooth,aes_generic
raspberrypi_hwmon      12288  0
videobuf2_memops       12288  2 videobuf2_vmalloc,videobuf2_dma_contig
videobuf2_v4l2         32768  5 bcm2835_codec,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
videodev              319488  6 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
snd_bcm2835            24576  1
raspberrypi_gpiomem    12288  0
videobuf2_common       73728  9 bcm2835_codec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
vc_sm_cma              28672  2 bcm2835_mmal_vchiq,bcm2835_isp
mc                     65536  7 videodev,bcm2835_codec,videobuf2_v4l2,videobuf2_common,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
nvmem_rmem             12288  0
uio_pdrv_genirq        12288  0
uio                    20480  1 uio_pdrv_genirq
i2c_dev                16384  0
fuse                  139264  5
dm_mod                143360  0
ip_tables              32768  0
x_tables               57344  1 ip_tables
ipv6                  573440  52
vc4                   372736  10
snd_soc_hdmi_codec     20480  2
drm_display_helper     16384  1 vc4
v3d                    90112  4
cec                    53248  1 vc4
drm_dma_helper         24576  2 vc4
gpu_sched              53248  1 v3d
drm_shmem_helper       24576  1 v3d
drm_kms_helper        233472  2 drm_dma_helper,vc4
drm                   688128  17 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
drm_panel_orientation_quirks    24576  1 drm
snd_soc_core          307200  2 vc4,snd_soc_hdmi_codec
snd_compress           20480  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
i2c_brcmstb            12288  0
i2c_bcm2835            16384  0
snd_pcm               151552  5 snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
snd_timer              36864  3 snd_seq,snd_hrtimer,snd_pcm
snd                   122880  12 snd_seq,snd_seq_device,snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
backlight              24576  1 drm

git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

git log
commit be596e454758cdcf533349a701df314eb6ecac82
Merge: 652b4c28 e98bf691
Author: Aaron W Morris <aaron@aarmor.net>
Date:   Wed May 29 18:01:52 2024 -0400

    Merge pull request #1285 from aaronwmorris/dev

    fix fits processing, missing variable

indi version: 2.0.7

indi packages

indi connections
LISTEN 0      5                               0.0.0.0:7624                      0.0.0.0:*           
ESTAB  0      0                             127.0.0.1:7624                    127.0.0.1:58908       
ESTAB  0      0                             127.0.0.1:58908                   127.0.0.1:7624        

Detected indi properties
looking for *.*.*
Connected to localhost on port 7624
Queried properties from *
ZWO CCD ASI678MC.CCD_FRAME_RESET is write-only
ZWO CCD ASI678MC.FITS_HEADER is write-only
sending enableBLOB ZWO CCD ASI678MC.CCD1
ZWO CCD ASI678MC.CONNECTION.CONNECT=On
ZWO CCD ASI678MC.CONNECTION.DISCONNECT=Off
ZWO CCD ASI678MC.DRIVER_INFO.DRIVER_NAME=ZWO CCD
ZWO CCD ASI678MC.DRIVER_INFO.DRIVER_EXEC=indi_asi_ccd
ZWO CCD ASI678MC.DRIVER_INFO.DRIVER_VERSION=2.4
ZWO CCD ASI678MC.DRIVER_INFO.DRIVER_INTERFACE=6
ZWO CCD ASI678MC.POLLING_PERIOD.PERIOD_MS=1000
ZWO CCD ASI678MC.DEBUG.ENABLE=Off
ZWO CCD ASI678MC.DEBUG.DISABLE=On
ZWO CCD ASI678MC.SIMULATION.ENABLE=Off
ZWO CCD ASI678MC.SIMULATION.DISABLE=On
ZWO CCD ASI678MC.CONFIG_PROCESS.CONFIG_LOAD=Off
ZWO CCD ASI678MC.CONFIG_PROCESS.CONFIG_SAVE=Off
ZWO CCD ASI678MC.CONFIG_PROCESS.CONFIG_DEFAULT=Off
ZWO CCD ASI678MC.CONFIG_PROCESS.CONFIG_PURGE=Off
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
ZWO CCD ASI678MC.CCD_EXPOSURE.CCD_EXPOSURE_VALUE=0
ZWO CCD ASI678MC.CCD_ABORT_EXPOSURE.ABORT=Off
ZWO CCD ASI678MC.CCD_FRAME.X=0
ZWO CCD ASI678MC.CCD_FRAME.Y=0
ZWO CCD ASI678MC.CCD_FRAME.WIDTH=3840
ZWO CCD ASI678MC.CCD_FRAME.HEIGHT=2160
ZWO CCD ASI678MC.CCD_BINNING.HOR_BIN=1
ZWO CCD ASI678MC.CCD_BINNING.VER_BIN=1
ZWO CCD ASI678MC.CCD_CAPTURE_FORMAT.ASI_IMG_RAW8=Off
ZWO CCD ASI678MC.CCD_CAPTURE_FORMAT.ASI_IMG_RGB24=Off
ZWO CCD ASI678MC.CCD_CAPTURE_FORMAT.ASI_IMG_Y8=Off
ZWO CCD ASI678MC.CCD_CAPTURE_FORMAT.ASI_IMG_RAW16=On
ZWO CCD ASI678MC.CCD_TRANSFER_FORMAT.FORMAT_FITS=On
ZWO CCD ASI678MC.CCD_TRANSFER_FORMAT.FORMAT_NATIVE=Off
ZWO CCD ASI678MC.CCD_TRANSFER_FORMAT.=Off
ZWO CCD ASI678MC.CCD_INFO.CCD_MAX_X=3840
ZWO CCD ASI678MC.CCD_INFO.CCD_MAX_Y=2160
ZWO CCD ASI678MC.CCD_INFO.CCD_PIXEL_SIZE=2
ZWO CCD ASI678MC.CCD_INFO.CCD_PIXEL_SIZE_X=2
ZWO CCD ASI678MC.CCD_INFO.CCD_PIXEL_SIZE_Y=2
ZWO CCD ASI678MC.CCD_INFO.CCD_BITSPERPIXEL=16
ZWO CCD ASI678MC.CCD_COMPRESSION.INDI_ENABLED=Off
ZWO CCD ASI678MC.CCD_COMPRESSION.INDI_DISABLED=On
ZWO CCD ASI678MC.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_N=0
ZWO CCD ASI678MC.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_S=0
ZWO CCD ASI678MC.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_W=0
ZWO CCD ASI678MC.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_E=0
ZWO CCD ASI678MC.CCD_FRAME_TYPE.FRAME_LIGHT=On
ZWO CCD ASI678MC.CCD_FRAME_TYPE.FRAME_BIAS=Off
ZWO CCD ASI678MC.CCD_FRAME_TYPE.FRAME_DARK=Off
ZWO CCD ASI678MC.CCD_FRAME_TYPE.FRAME_FLAT=Off
ZWO CCD ASI678MC.CCD_CFA.CFA_OFFSET_X=0
ZWO CCD ASI678MC.CCD_CFA.CFA_OFFSET_Y=0
ZWO CCD ASI678MC.CCD_CFA.CFA_TYPE=RGGB
ZWO CCD ASI678MC.SCOPE_INFO.FOCAL_LENGTH=2.5
ZWO CCD ASI678MC.SCOPE_INFO.APERTURE=1.25
ZWO CCD ASI678MC.WCS_CONTROL.WCS_ENABLE=Off
ZWO CCD ASI678MC.WCS_CONTROL.WCS_DISABLE=On
ZWO CCD ASI678MC.UPLOAD_MODE.UPLOAD_CLIENT=On
ZWO CCD ASI678MC.UPLOAD_MODE.UPLOAD_LOCAL=Off
ZWO CCD ASI678MC.UPLOAD_MODE.UPLOAD_BOTH=Off
ZWO CCD ASI678MC.UPLOAD_SETTINGS.UPLOAD_DIR=/home/nina
ZWO CCD ASI678MC.UPLOAD_SETTINGS.UPLOAD_PREFIX=IMAGE_XXX
ZWO CCD ASI678MC.CCD_FAST_TOGGLE.INDI_ENABLED=Off
ZWO CCD ASI678MC.CCD_FAST_TOGGLE.INDI_DISABLED=On
ZWO CCD ASI678MC.CCD_FAST_COUNT.FRAMES=1
ZWO CCD ASI678MC.CCD_VIDEO_STREAM.STREAM_ON=Off
ZWO CCD ASI678MC.CCD_VIDEO_STREAM.STREAM_OFF=On
ZWO CCD ASI678MC.STREAM_DELAY.STREAM_DELAY_TIME=0
ZWO CCD ASI678MC.STREAMING_EXPOSURE.STREAMING_EXPOSURE_VALUE=0.10000000000000000555
ZWO CCD ASI678MC.STREAMING_EXPOSURE.STREAMING_DIVISOR_VALUE=1
ZWO CCD ASI678MC.FPS.EST_FPS=30
ZWO CCD ASI678MC.FPS.AVG_FPS=30
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_ON=Off
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_DURATION_ON=Off
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_FRAME_ON=Off
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_OFF=On
ZWO CCD ASI678MC.RECORD_FILE.RECORD_FILE_DIR=/home/nina/indi__D_
ZWO CCD ASI678MC.RECORD_FILE.RECORD_FILE_NAME=indi_record__T_
ZWO CCD ASI678MC.RECORD_OPTIONS.RECORD_DURATION=1
ZWO CCD ASI678MC.RECORD_OPTIONS.RECORD_FRAME_TOTAL=30
ZWO CCD ASI678MC.CCD_STREAM_FRAME.X=0
ZWO CCD ASI678MC.CCD_STREAM_FRAME.Y=0
ZWO CCD ASI678MC.CCD_STREAM_FRAME.WIDTH=3840
ZWO CCD ASI678MC.CCD_STREAM_FRAME.HEIGHT=2160
ZWO CCD ASI678MC.CCD_STRETelescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.FLIP_HA is write-only
AM_ENCODER.RAW=On
ZWO CCD ASI678MC.CCD_STREAM_ENCODER.MJPEG=Off
ZWO CCD ASI678MC.CCD_STREAM_RECORDER.SER=On
ZWO CCD ASI678MC.LIMITS.LIMITS_BUFFER_MAX=512
ZWO CCD ASI678MC.LIMITS.LIMITS_PREVIEW_FPS=10
ZWO CCD ASI678MC.CCD_TEMPERATURE.CCD_TEMPERATURE_VALUE=36.200000000000002842
ZWO CCD ASI678MC.CCD_CONTROLS.Gain=0
ZWO CCD ASI678MC.CCD_CONTROLS.WB_R=80
ZWO CCD ASI678MC.CCD_CONTROLS.WB_B=83
ZWO CCD ASI678MC.CCD_CONTROLS.Offset=3
ZWO CCD ASI678MC.CCD_CONTROLS.BandWidth=80
ZWO CCD ASI678MC.CCD_CONTROLS.AutoExpMaxGain=300
ZWO CCD ASI678MC.CCD_CONTROLS.AutoExpMaxExpMS=30000
ZWO CCD ASI678MC.CCD_CONTROLS.AutoExpTargetBrightness=100
ZWO CCD ASI678MC.CCD_CONTROLS.HardwareBin=0
ZWO CCD ASI678MC.CCD_CONTROLS.HighSpeedMode=0
ZWO CCD ASI678MC.CCD_CONTROLS.MonoBin=0
ZWO CCD ASI678MC.CCD_CONTROLS_MODE.AUTO_Gain=Off
ZWO CCD ASI678MC.CCD_CONTROLS_MODE.AUTO_WB_R=Off
ZWO CCD ASI678MC.CCD_CONTROLS_MODE.AUTO_WB_B=Off
ZWO CCD ASI678MC.CCD_CONTROLS_MODE.AUTO_BandWidth=Off
ZWO CCD ASI678MC.FLIP.FLIP_HORIZONTAL=Off
ZWO CCD ASI678MC.FLIP.FLIP_VERTICAL=Off
ZWO CCD ASI678MC.CCD_VIDEO_FORMAT.ASI_IMG_RAW8=Off
ZWO CCD ASI678MC.CCD_VIDEO_FORMAT.ASI_IMG_RGB24=Off
ZWO CCD ASI678MC.CCD_VIDEO_FORMAT.ASI_IMG_Y8=Off
ZWO CCD ASI678MC.CCD_VIDEO_FORMAT.ASI_IMG_RAW16=On
ZWO CCD ASI678MC.BLINK.BLINK_COUNT=0
ZWO CCD ASI678MC.BLINK.BLINK_DURATION=0
ZWO CCD ASI678MC.ADC_DEPTH.BITS=12
ZWO CCD ASI678MC.SDK.VERSION=1, 27, 0, 0
ZWO CCD ASI678MC.Serial Number.SN#=142b0c0827010900
ZWO CCD ASI678MC.NICKNAME.nickname=
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
ZWO CCD ASI678MC.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
ZWO CCD ASI678MC.CCD_VIDEO_STREAM.STREAM_ON=Off
ZWO CCD ASI678MC.CCD_VIDEO_STREAM.STREAM_OFF=On
ZWO CCD ASI678MC.STREAMING_EXPOSURE.STREAMING_EXPOSURE_VALUE=0.10000000000000000555
ZWO CCD ASI678MC.STREAMING_EXPOSURE.STREAMING_DIVISOR_VALUE=1
ZWO CCD ASI678MC.FPS.EST_FPS=30
ZWO CCD ASI678MC.FPS.AVG_FPS=30
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_ON=Off
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_DURATION_ON=Off
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_FRAME_ON=Off
ZWO CCD ASI678MC.RECORD_STREAM.RECORD_OFF=On
ZWO CCD ASI678MC.RECORD_FILE.RECORD_FILE_DIR=/home/nina/indi__D_
ZWO CCD ASI678MC.RECORD_FILE.RECORD_FILE_NAME=indi_record__T_
Telescope Simulator.CONNECTION.CONNECT=On
Telescope Simulator.CONNECTION.DISCONNECT=Off
Telescope Simulator.DRIVER_INFO.DRIVER_NAME=Telescope Simulator
Telescope Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_telescope
Telescope Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
Telescope Simulator.DRIVER_INFO.DRIVER_INTERFACE=5
Telescope Simulator.POLLING_PERIOD.PERIOD_MS=250
Telescope Simulator.DEBUG.ENABLE=Off
Telescope Simulator.DEBUG.DISABLE=On
Telescope Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
Telescope Simulator.CONNECTION_MODE.CONNECTION_SERIAL=On
Telescope Simulator.CONNECTION_MODE.CONNECTION_TCP=Off
Telescope Simulator.DEVICE_PORT.PORT=/dev/ttyUSB0
Telescope Simulator.DEVICE_BAUD_RATE.9600=On
Telescope Simulator.DEVICE_BAUD_RATE.19200=Off
Telescope Simulator.DEVICE_BAUD_RATE.38400=Off
Telescope Simulator.DEVICE_BAUD_RATE.57600=Off
Telescope Simulator.DEVICE_BAUD_RATE.115200=Off
Telescope Simulator.DEVICE_BAUD_RATE.230400=Off
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_ENABLED=On
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_DISABLED=Off
Telescope Simulator.DEVICE_PORT_SCAN.Scan Ports=Off
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.MOUNT_AXES.PRIMARY=2.8240494430065155029e-05
Telescope Simulator.MOUNT_AXES.SECONDARY=62.900002000000000635
Telescope Simulator.ON_COORD_SET.TRACK=On
Telescope SimulatoTelescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.FLIP_HA is write-only
r.ON_COORD_SET.SLEW=Off
Telescope Simulator.ON_COORD_SET.SYNC=Off
Telescope Simulator.EQUATORIAL_EOD_COORD.RA=0.87246905862685864008
Telescope Simulator.EQUATORIAL_EOD_COORD.DEC=62.900001525878899145
Telescope Simulator.TELESCOPE_ABORT_MOTION.ABORT=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_SIDEREAL=On
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_SOLAR=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_LUNAR=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_CUSTOM=Off
Telescope Simulator.TELESCOPE_TRACK_STATE.TRACK_ON=Off
Telescope Simulator.TELESCOPE_TRACK_STATE.TRACK_OFF=On
Telescope Simulator.TELESCOPE_TRACK_RATE.TRACK_RATE_RA=15.04106717867020393
Telescope Simulator.TELESCOPE_TRACK_RATE.TRACK_RATE_DE=0
Telescope Simulator.TELESCOPE_MOTION_NS.MOTION_NORTH=Off
Telescope Simulator.TELESCOPE_MOTION_NS.MOTION_SOUTH=Off
Telescope Simulator.TELESCOPE_MOTION_WE.MOTION_WEST=Off
Telescope Simulator.TELESCOPE_MOTION_WE.MOTION_EAST=Off
Telescope Simulator.TELESCOPE_REVERSE_MOTION.REVERSE_NS=Off
Telescope Simulator.TELESCOPE_REVERSE_MOTION.REVERSE_WE=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_GUIDE=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_CENTERING=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_FIND=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.SLEW_MAX=On
Telescope Simulator.TARGET_EOD_COORD.RA=0
Telescope Simulator.TARGET_EOD_COORD.DEC=0
Telescope Simulator.TIME_UTC.UTC=2024-06-09T03:10:53
Telescope Simulator.TIME_UTC.OFFSET=-8.00
Telescope Simulator.GEOGRAPHIC_COORD.LAT=62.90000152587890625
Telescope Simulator.GEOGRAPHIC_COORD.LONG=-160
Telescope Simulator.GEOGRAPHIC_COORD.ELEV=0
Telescope Simulator.TELESCOPE_PARK.PARK=On
Telescope Simulator.TELESCOPE_PARK.UNPARK=Off
Telescope Simulator.TELESCOPE_PARK_POSITION.PARK_HA=0
Telescope Simulator.TELESCOPE_PARK_POSITION.PARK_DEC=62.90000152587890625
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_CURRENT=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_DEFAULT=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_WRITE_DATA=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_PURGE_DATA=Off
Telescope Simulator.USEJOYSTICK.ENABLE=Off
Telescope Simulator.USEJOYSTICK.DISABLE=On
Telescope Simulator.SNOOP_JOYSTICK.SNOOP_JOYSTICK_DEVICE=Joystick
Telescope Simulator.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_N=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_S=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_W=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_E=0
Telescope Simulator.GUIDE_RATE.GUIDE_RATE_WE=0.5
Telescope Simulator.GUIDE_RATE.GUIDE_RATE_NS=0.5
Telescope Simulator.TELESCOPE_HOME.FIND=Off
Telescope Simulator.TELESCOPE_HOME.SET=Off
Telescope Simulator.TELESCOPE_HOME.GO=Off
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.USEJOYSTICK.ENABLE=Off
Telescope Simulator.USEJOYSTICK.DISABLE=On
Telescope Simulator.SNOOP_JOYSTICK.SNOOP_JOYSTICK_DEVICE=Joystick
Telescope Simulator.MOUNT_AXES.PRIMARY=2.8240494430065155029e-05
Telescope Simulator.MOUNT_AXES.SECONDARY=62.900002000000000635
ZWO CCD ASI678MC.RECORD_OPTIONS.RECORD_DURATION=1
ZWO CCD ASI678MC.RECORD_OPTIONS.RECORD_FRAME_TOTAL=30
ZWO CCD ASI678MC.CCD_STREAM_FRAME.X=0
ZWO CCD ASI678MC.CCD_STREAM_FRAME.Y=0
ZWO CCD ASI678MC.CCD_STREAM_FRAME.WIDTH=3840
ZWO CCD ASI678MC.CCD_STREAM_FRAME.HEIGHT=2160
ZWO CCD ASI678MC.CCD_STREAM_ENCODER.RAW=On
ZWO CCD ASI678MC.CCD_STREAM_ENCODER.MJPEG=Off
ZWO CCD ASI678MC.CCD_STREAM_RECORDER.SER=On
ZWO CCD ASI678MC.LIMITS.LIMITS_BUFFER_MAX=512
ZWO CCD ASI678MC.LIMITS.LIMITS_PREVIEW_FPS=10

libcamera: not detected

libcamera packages
ii  libcamera-ipa:arm64                  0.2.0+rpt20240418-1                 arm64        complex camera support library (IPA modules)
ii  libcamera-tools                      0.2.0+rpt20240418-1                 arm64        complex camera support library (tools)
ii  libcamera0.2:arm64                   0.2.0+rpt20240418-1                 arm64        complex camera support library
ii  pipewire-libcamera:arm64             0.3.65-3+rpt7+deb12u1               arm64        PipeWire libcamera plugin
ii  python3-libcamera:arm64              0.2.0+rpt20240418-1                 arm64        complex camera support library (Python bindings)

libcamera cameras
rpicam-hello: /usr/bin/rpicam-hello
No cameras available!

python packages
ii  libpython3-dev:arm64                 3.11.2-1+b1                         arm64        header files and a static library for Python (default)
ii  libpython3-stdlib:arm64              3.11.2-1+b1                         arm64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.11:arm64                  3.11.2-6                            arm64        Shared Python runtime library (version 3.11)
ii  libpython3.11-dev:arm64              3.11.2-6                            arm64        Header files and a static library for Python (v3.11)
ii  libpython3.11-minimal:arm64          3.11.2-6                            arm64        Minimal subset of the Python language (version 3.11)
ii  libpython3.11-stdlib:arm64           3.11.2-6                            arm64        Interactive high-level object-oriented language (standard library, version 3.11)
ii  python-apt-common                    2.6.0                               all          Python interface to libapt-pkg (locales)
ii  python-babel-localedata              2.10.3-1                            all          tools for internationalizing Python applications - locale data files
ii  python-is-python3                    3.11.1-3                            all          symlinks /usr/bin/python to python3
ii  python3                              3.11.2-1+b1                         arm64        interactive high-level object-oriented language (default python3 version)
ii  python3-apt                          2.6.0                               arm64        Python 3 interface to libapt-pkg
ii  python3-asgiref                      3.6.0-1                             all          ASGI in-memory channel layer (Python3 version)
ii  python3-astroid                      2.14.2-1                            all          rebuild a new abstract syntax tree from Python's AST (Python3)
ii  python3-asttokens                    2.2.1-1                             all          annotate Python asbtract syntax trees with code references (Python 3)
ii  python3-av                           10.0.0-1+rpt4                       arm64        pythonic bindings for FFmpeg's libraries
ii  python3-babel                        2.10.3-1                            all          tools for internationalizing Python applications - Python 3.x
ii  python3-blinker                      1.5-1                               all          Fast, simple object-to-object and broadcast signaling (Python3)
ii  python3-bs4                          4.11.2-2                            all          error-tolerant HTML parser for Python 3
ii  python3-cairo:arm64                  1.20.1-5+b1                         arm64        Python3 bindings for the Cairo vector graphics library
ii  python3-certifi                      2022.9.24-1                         all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend:arm64           1.15.1-5+b1                         arm64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                      5.1.0+dfsg-2                        all          Universal Character Encoding Detector (Python3)
ii  python3-charset-normalizer           3.0.1-2                             all          charset, encoding and language detection (Python 3)
ii  python3-click                        8.1.3-2                             all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama                     0.4.6-2                             all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-colorzero                    2.0-2                               all          Construct, convert, and manipulate colors in a Pythonic manner.
ii  python3-cryptography                 38.0.4-3                            arm64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups:arm64                   2.0.1-5+b4                          arm64        Python3 bindings for CUPS
ii  python3-cupshelpers                  1.5.18-1                            all          Python utility modules around the CUPS printing system
ii  python3-dbus                         1.3.2-4+b1                          arm64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                      1.5.82                              all          interact with debconf from Python 3
ii  python3-dev                          3.11.2-1+b1                         arm64        header files and a static library for Python (default)
ii  python3-dill                         0.3.6-1                             all          Serialize all of Python 3 (almost)
ii  python3-distlib                      0.3.6-1                             all          low-level components of python distutils2/packaging
ii  python3-distro                       1.8.0-1                             all          Linux OS platform information API
ii  python3-distutils                    3.11.2-3                            all          distutils package for Python 3.x
ii  python3-docutils                     0.19+dfsg-6                         all          text processing system for reStructuredText (implemented in Python 3)
ii  python3-dotenv                       0.21.0-1                            all          Get and set values in the .env file in local and production servers
ii  python3-filelock                     3.9.0-1                             all          platform independent file locking module
ii  python3-flask                        2.2.2-3                             all          micro web framework based on Werkzeug and Jinja2 - Python 3.x
ii  python3-gi                           3.42.2-3+b1                         arm64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                     3.42.2-3+b1                         arm64        Python 3 Cairo bindings for the GObject library
ii  python3-gpiozero                     2.0-1                               all          Simple API for controlling devices attached to a Pi's GPIO pins
ii  python3-html5lib                     1.1-3                               all          HTML parser/tokenizer based on the WHATWG HTML5 specification
ii  python3-httplib2                     0.20.4-3                            all          comprehensive HTTP client library written for Python3
ii  python3-idna                         3.3-1                               all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-importlib-metadata           4.12.0-1                            all          library to access the metadata for a Python package - Python 3.x
ii  python3-isort                        5.6.4-1                             all          library for sorting Python imports (Python 3)
ii  python3-itsdangerous                 2.1.2-3                             all          Various helpers to pass trusted data to untrusted environment - Python 3.x
ii  python3-jedi                         0.18.2-1                            all          autocompletion tool for Python 3
ii  python3-jinja2                       3.1.2-1                             all          small but fast and easy to use stand-alone template engine
ii  python3-jwt                          2.6.0-1                             all          Python 3 implementation of JSON Web Token
ii  python3-kms++                        0~git20231115~065257+9ae90ce-1      arm64        C++ library for kernel mode setting - python3 bindings
ii  python3-lazr.restfulclient           0.14.5-1                            all          client for lazr.restful-based web services (Python 3)
ii  python3-lazr.uri                     1.0.6-3                             all          library for parsing, manipulating, and generating URIs
ii  python3-lazy-object-proxy            1.9.0-1+b1                          arm64        Python 3 fast and thorough lazy object proxy
ii  python3-lgpio                        0.2.2-1~rpt1                        arm64        Control GPIO pins via gpiochip devices - python3 bindings
ii  python3-lib2to3                      3.11.2-3                            all          Interactive high-level object-oriented language (lib2to3)
ii  python3-libcamera:arm64              0.2.0+rpt20240418-1                 arm64        complex camera support library (Python bindings)
ii  python3-libevdev                     0.5-3                               all          Python 3 wrapper for libevdev
ii  python3-libgpiod:arm64               1.6.3-1+b3                          arm64        Python bindings for libgpiod (Python 3)
ii  python3-logilab-common               1.9.8-1                             all          useful miscellaneous modules used by Logilab projects (Python3)
ii  python3-lxml:arm64                   4.9.2-1+b1                          arm64        pythonic binding for the libxml2 and libxslt libraries
ii  python3-markupsafe                   2.1.2-1+b1                          arm64        HTML/XHTML/XML string library
ii  python3-mccabe                       0.7.0-1                             all          Python code complexity checker (Python 3)
ii  python3-minimal                      3.11.2-1+b1                         arm64        minimal subset of the Python language (default python3 version)
ii  python3-more-itertools               8.10.0-2                            all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-mypy                         1.0.1-1                             arm64        public modules for mypy (Python 3)
ii  python3-mypy-extensions              0.4.3-4                             all          Experimental type system extensions for mypy typechecker (Python 3)
ii  python3-numpy                        1:1.24.2-1                          arm64        Fast array facility to the Python 3 language
ii  python3-oauthlib                     3.2.2-1                             all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-olefile                      0.46-3                              all          Python module to read/write MS OLE2 files
ii  python3-opengl                       3.1.6+dfsg-3                        all          Python bindings to OpenGL (Python 3)
ii  python3-openssl                      23.0.0-1                            all          Python 3 wrapper around the OpenSSL library
ii  python3-parso                        0.8.3-1                             all          Python parser that supports error recovery - Python 3.X
ii  python3-pexpect                      4.8.0-4                             all          Python 3 module for automating interactive applications
ii  python3-pgzero                       1.2.post4+dfsg-2                    all          Zero-boilerplate games programming framework based on Pygame (Python 3)
ii  python3-picamera2                    0.3.18-1                            all          Libcamera based python library
ii  python3-pidng                        4.0.9-1+bookworm                    arm64        Create Adobe DNG RAW files using Python (Python 3)
ii  python3-piexif                       1.1.3-2                             all          pure-Python EXIF manipulation library
ii  python3-pigpio                       1.79-1+rpt1                         all          Python module which talks to the pigpio daemon (Python 3)
ii  python3-pil:arm64                    9.4.0-1.1+b1                        arm64        Python Imaging Library (Python3)
ii  python3-pip                          23.0.1+dfsg-1+rpt1                  all          Python package installer
ii  python3-pip-whl                      23.0.1+dfsg-1+rpt1                  all          Python package installer (pip wheel)
ii  python3-pkg-resources                66.1.1-1                            all          Package Discovery and Resource Access using pkg_resources
ii  python3-platformdirs                 2.6.0-1                             all          determining appropriate platform-specific directories (Python 3)
ii  python3-prctl                        1.8.1-1+b2                          arm64        Python interface to the prctl() syscall (Python 3)
ii  python3-psutil                       5.9.4-1+b1                          arm64        module providing convenience functions for managing processes (Python3)
ii  python3-ptyprocess                   0.7.0-5                             all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pycryptodome                 3.11.0+dfsg1-4                      arm64        cryptographic Python library (Python 3)
ii  python3-pygame                       2.1.2+dfsg-5+b1                     arm64        SDL bindings for games development (Python 3)
ii  python3-pygments                     2.14.0+dfsg-1                       all          syntax highlighting package written in Python 3
ii  python3-pyinotify                    0.9.6-2                             all          simple Linux inotify Python bindings
ii  python3-pyparsing                    3.0.9-1                             all          alternative to creating and executing simple grammars - Python 3.x
ii  python3-pyqt5                        5.15.9+dfsg-1                       arm64        Python 3 bindings for Qt5
ii  python3-pyqt5.sip                    12.11.1-1                           arm64        runtime module for Python extensions using SIP
ii  python3-pyudev                       0.24.0-1                            all          Python3 bindings for libudev
ii  python3-renderpm:arm64               3.6.12-1+b1                         arm64        python low level render interface
ii  python3-reportlab                    3.6.12-1                            all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:arm64        3.6.12-1+b1                         arm64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                     2.28.1+dfsg-1                       all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-oauthlib            1.3.0+ds-1                          all          module providing OAuthlib auth support for requests (Python 3)
ii  python3-responses                    0.18.0-1                            all          Utility library for mocking out the requests Python 3 library
ii  python3-roman                        3.3-3                               all          module for generating/analyzing Roman numerals for Python 3
ii  python3-rpi.gpio                     0.7.1~a4-1+b4                       arm64        Module to control Raspberry Pi GPIO channels (Python 3)
ii  python3-rtimulib                     7.2.1-6+bookworm                    arm64        Versatile C++ and Python 9-dof, 10-dof and 11-dof IMU library (Python 3)
ii  python3-send2trash                   1.8.1~b0-2                          all          Python module for sending file to trash natively
ii  python3-sense-hat                    2.6.0-1                             all          Sense HAT python library (Python 3)
ii  python3-serial                       3.5-1.1                             all          pyserial - module encapsulating access for the serial port
ii  python3-setuptools                   66.1.1-1                            all          Python3 Distutils Enhancements
ii  python3-setuptools-whl               66.1.1-1                            all          Python Distutils Enhancements (wheel package)
ii  python3-simplejpeg                   1.6.6-1                             arm64        Simple package for fast JPEG encoding and decoding
ii  python3-simplejson                   3.18.3-1                            arm64        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                          1.16.0-4                            all          Python 2 and 3 compatibility library
ii  python3-smbc                         1.0.23-2+b4                         arm64        Python 3 bindings for the Samba client library
ii  python3-smbus:arm64                  4.3-2+b3                            arm64        Python 3 bindings for Linux SMBus access through i2c-dev
ii  python3-smbus2                       0.4.2-1                             arm64        another pure Python implementation of the python-smbus package
ii  python3-software-properties          0.99.30-4                           all          manage the repositories that you install software from
ii  python3-soupsieve                    2.3.2-1                             all          modern CSS selector implementation for BeautifulSoup (Python 3)
ii  python3-spidev                       20200602~200721-1+bookworm          arm64        Bindings for Linux SPI access through spidev (Python 3)
ii  python3-tk:arm64                     3.11.2-3                            arm64        Tkinter - Writing Tk applications with Python 3.x
ii  python3-toml                         0.10.2-1                            all          library for Tom's Obvious, Minimal Language - Python 3.x
ii  python3-tomlkit                      0.11.7-1                            all          style-preserving TOML library for Python
ii  python3-twython                      3.8.2+dfsg-2                        all          Pure Python3 wrapper for the Twitter API
ii  python3-typeshed                     0.0~git20221107.4f381af-1           all          collection of library stubs for Python, with static types
ii  python3-typing-extensions            4.4.0-1                             all          Backported and Experimental Type Hints for Python
ii  python3-tz                           2022.7.1-4                          all          Python3 version of the Olson timezone database
ii  python3-urllib3                      1.26.12-1                           all          HTTP library with thread-safe connection pooling for Python3
ii  python3-v4l2                         0.3.3-1                             all          Python bindings for the v4l2 userspace api
ii  python3-venv                         3.11.2-1+b1                         arm64        venv module for python3 (default python3 version)
ii  python3-virtualenv                   20.17.1+ds-1                        all          Python virtual environment creator
ii  python3-wadllib                      1.3.6-4                             all          Python 3 library for navigating WADL files
ii  python3-webencodings                 0.5.1-5                             all          Python implementation of the WHATWG Encoding standard
ii  python3-werkzeug                     2.2.2-3                             all          collection of utilities for WSGI applications (Python 3.x)
ii  python3-wheel                        0.38.4-2                            all          built-package format for Python
ii  python3-wheel-whl                    0.38.4-2                            all          built-package format for Python (wheel wheel)
ii  python3-wrapt                        1.14.1-2+b2                         arm64        decorators, wrappers and monkey patching. - Python 3.x
ii  python3-yaml                         6.0-3+b2                            arm64        YAML parser and emitter for Python3
ii  python3-zipp                         1.0.0-6                             all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3.11                           3.11.2-6                            arm64        Interactive high-level object-oriented language (version 3.11)
ii  python3.11-dev                       3.11.2-6                            arm64        Header files and a static library for Python (v3.11)
ii  python3.11-minimal                   3.11.2-6                            arm64        Minimal subset of the Python language (version 3.11)
ii  python3.11-venv                      3.11.2-6                            arm64        Interactive high-level object-oriented language (pyvenv binary, version 3.11)

Detected indi-allsky virtualenv
virtualenv python: Python 3.11.2
virtualenv PATH: /home/nina/indi-allsky/virtualenv/indi-allsky/bin:/usr/local/bin:/usr/bin:/bin
flask command: /home/nina/indi-allsky/virtualenv/indi-allsky/bin/flask

virtualenv python modules
Adafruit-Blinka==8.39.2
adafruit-circuitpython-bme280==2.6.24
adafruit-circuitpython-bme680==3.7.5
adafruit-circuitpython-busdevice==5.2.9
adafruit-circuitpython-connectionmanager==3.1.0
adafruit-circuitpython-dht==4.0.4
adafruit-circuitpython-mlx90614==1.2.18
adafruit-circuitpython-register==1.9.18
adafruit-circuitpython-requests==4.0.0
adafruit-circuitpython-sht4x==1.0.19
adafruit-circuitpython-si7021==4.1.11
adafruit-circuitpython-tsl2561==3.3.18
adafruit-circuitpython-tsl2591==1.3.12
adafruit-circuitpython-typing==1.10.3
Adafruit-PlatformDetect==3.63.0
Adafruit-PureIO==1.1.11
alembic==1.13.1
apache-libcloud==3.8.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asciitree==0.3.3
astroalign==2.5.1
astropy==6.1.0
astropy-iers-data==0.2024.5.27.0.30.8
astropy_healpix==1.0.3
astroscrappy==1.2.0
bcrypt==4.1.3
blinker==1.8.2
boto3==1.34.115
botocore==1.34.115
Bottleneck==1.3.8
cachetools==5.3.3
ccdproc==2.4.2
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
circuitpython-bmp180==0.2.0
click==8.1.7
cloudpickle==3.0.0
cryptography==42.0.7
Cython==3.0.10
dask==2024.5.1
dbus-python==1.3.2
ephem==4.1.5
fasteners==0.19
fish2pano==0.4.1
Flask==3.0.3
Flask-Login==0.6.3
Flask-Migrate==4.0.7
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
fsspec==2024.5.0
google-api-core==2.19.0
google-api-python-client==2.131.0
google-auth==2.29.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
google-cloud-core==2.4.1
google-cloud-storage==2.16.0
google-crc32c==1.5.0
google-resumable-media==2.7.0
googleapis-common-protos==1.63.0
gpiod==2.1.3
greenlet==3.0.3
gunicorn==22.0.0
httplib2==0.22.0
idna==3.7
imageio==2.34.1
imageio-ffmpeg==0.4.9
importlib_metadata==7.1.0
inotify==0.2.10
is-safe-url==1.0
itsdangerous==2.2.0
Jinja2==3.1.4
jmespath==1.0.1
lazy_loader==0.4
locket==1.0.0
lxml==5.2.2
Mako==1.3.5
MarkupSafe==2.1.5
mysql-connector-python==8.4.0
networkx==3.3
nose==1.3.7
numcodecs==0.12.1
numpy==1.26.4
oauthlib==3.2.2
opencv-python-headless==4.9.0.80
packaging==24.0
paho-mqtt==2.1.0
paramiko==3.4.0
partd==1.4.2
passlib==1.7.4
piexif==1.1.3
pillow==10.3.0
prettytable==3.10.0
proto-plus==1.23.0
protobuf==4.25.3
psutil==5.9.8
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pycurl==7.45.3
pyerfa==2.0.1.4
pyftdi==0.55.4
pygifsicle==1.0.7
pyindi-client @ git+https://github.com/indilib/pyindi-client.git@6f8fa8042f60f7b3079f6d66a0b8ee720af09d64
PyMySQL==1.1.1
PyNaCl==1.5.0
pyparsing==3.1.2
pyserial==3.5
python-dateutil==2.9.0.post0
pyusb==1.2.1
PyYAML==6.0.1
rawpy==0.21.0
reproject==0.13.1
requests==2.32.3
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
RPi.GPIO==0.7.1
rpi_ws281x==5.0.0
rsa==4.9
s3transfer==0.10.1
scikit-image==0.23.2
scipy==1.13.1
semantic-version==2.10.0
sep==1.2.1
setuptools-rust==1.9.0
shapely==2.0.4
six==1.16.0
SQLAlchemy==2.0.30
support-developer==1.0.5
sysv_ipc==1.1.0
tifffile==2024.5.22
toolz==0.12.1
typing_extensions==4.12.0
uritemplate==4.1.1
urllib3==2.2.1
wcwidth==0.2.13
Werkzeug==3.0.3
WTForms==3.1.2
zarr==2.18.2
zipp==3.19.0

indi-allsky config (passwords redacted) 2024-06-10 10:14:05,926 [INFO] MainProcess config._dump() [868]: Dumping config

{
  "ENCRYPT_PASSWORDS_comment": "Do not manually adjust",
  "ENCRYPT_PASSWORDS": false,
  "CAMERA_INTERFACE": "indi",
  "INDI_SERVER": "localhost",
  "INDI_PORT": 7624,
  "INDI_CAMERA_NAME": "",
  "OWNER": "AlaskanAstro",
  "LENS_NAME": "AllSky Lens",
  "LENS_FOCAL_LENGTH": 2.5,
  "LENS_FOCAL_RATIO": 2,
  "LENS_IMAGE_CIRCLE": 4000,
  "LENS_ALTITUDE": 90,
  "LENS_AZIMUTH": 180,
  "CCD_CONFIG": {
    "NIGHT": {
      "GAIN": 182,
      "BINNING": 1
    },
    "MOONMODE": {
      "GAIN": 75,
      "BINNING": 1
    },
    "DAY": {
      "GAIN": 0,
      "BINNING": 1
    }
  },
  "INDI_CONFIG_DEFAULTS": {
    "PROPERTIES": {
      "CCD_CONTROLS": {
        "WB_R": 80,
        "WB_B": 83
      }
    },
    "SWITCHES": {
      "CCD_CONTROLS_MODE": {
        "off": [
          "AUTO_WB_R",
          "AUTO_WB_B"
        ]
      },
      "CCD_VIDEO_FORMAT": {
        "on": [
          "ASI_IMG_RAW16"
        ],
        "off": [
          "ASI_IMG_RAW8"
        ]
      }
    }
  },
  "INDI_CONFIG_DAY": {},
  "CCD_EXPOSURE_MAX": 30,
  "CCD_EXPOSURE_DEF": 0,
  "CCD_EXPOSURE_MIN": 0,
  "CCD_EXPOSURE_MIN_DAY": 0,
  "CCD_BIT_DEPTH": 0,
  "EXPOSURE_PERIOD": 30,
  "EXPOSURE_PERIOD_DAY": 15,
  "FOCUS_MODE": false,
  "FOCUS_DELAY": 3,
  "CFA_PATTERN": "",
  "SCNR_ALGORITHM": "",
  "WBR_FACTOR": 1,
  "WBG_FACTOR": 1,
  "WBB_FACTOR": 1,
  "AUTO_WB": false,
  "SATURATION_FACTOR": 1.5,
  "CCD_COOLING": false,
  "CCD_TEMP": 15,
  "TEMP_DISPLAY": "f",
  "PRESSURE_DISPLAY": "inHg",
  "CCD_TEMP_SCRIPT": "",
  "GPS_ENABLE": false,
  "TARGET_ADU": 75,
  "TARGET_ADU_DAY": 150,
  "TARGET_ADU_DEV": 10,
  "TARGET_ADU_DEV_DAY": 20,
  "ADU_ROI": [],
  "ADU_FOV_DIV": 4,
  "DETECT_STARS": true,
  "DETECT_STARS_THOLD": 0.6,
  "DETECT_METEORS": false,
  "DETECT_MASK": "",
  "DETECT_DRAW": false,
  "LOGO_OVERLAY": "",
  "SQM_ROI": [],
  "SQM_FOV_DIV": 4,
  "LOCATION_NAME": "Grayling, AK",
  "LOCATION_LATITUDE": 62.9,
  "LOCATION_LONGITUDE": -160,
  "LOCATION_ELEVATION": 30,
  "TIMELAPSE_ENABLE": true,
  "DAYTIME_CAPTURE": true,
  "DAYTIME_TIMELAPSE": true,
  "DAYTIME_CONTRAST_ENHANCE": false,
  "NIGHT_CONTRAST_ENHANCE": false,
  "CONTRAST_ENHANCE_16BIT": false,
  "CLAHE_CLIPLIMIT": 3,
  "CLAHE_GRIDSIZE": 8,
  "NIGHT_SUN_ALT_DEG": -3,
  "NIGHT_MOONMODE_ALT_DEG": 0,
  "NIGHT_MOONMODE_PHASE": 33,
  "WEB_NONLOCAL_IMAGES": false,
  "WEB_LOCAL_IMAGES_ADMIN": false,
  "WEB_EXTRA_TEXT": "",
  "WEB_STATUS_TEMPLATE": "Status: {status:s}\nLat: {latitude:0.1f}/Long: {longitude:0.1f}\nSidereal: {sidereal_time:s}\nMode: {mode:s}\nSun: {sun_alt:0.1f}&deg; {sun_dir:s}\nMoon: {moon_alt:0.1f}&deg; {moon_dir:s}\nPhase: {moon_phase_str:s} <span data-bs-toggle=\"tooltip\" data-bs-placement=\"right\" title=\"{moon_phase:0.0f}%\">{moon_glyph:s}</span>\nSmoke: {smoke_rating:s} {smoke_rating_status}\nKp-index: {kpindex:0.2f} {kpindex_rating:s} {kpindex_trend:s} {kpindex_status:s}\nAurora: {ovation_max:d}% {ovation_max_status}",
  "IMAGE_STRETCH": {
    "MODE1_ENABLE": true,
    "MODE1_GAMMA": 3,
    "MODE1_STDDEVS": 2.25,
    "SPLIT": false,
    "MOONMODE": false,
    "DAYTIME": false
  },
  "KEOGRAM_ANGLE": 0,
  "KEOGRAM_H_SCALE": 100,
  "KEOGRAM_V_SCALE": 33,
  "KEOGRAM_CROP_TOP": 0,
  "KEOGRAM_CROP_BOTTOM": 0,
  "KEOGRAM_LABEL": true,
  "STARTRAILS_MAX_ADU": 65,
  "STARTRAILS_MASK_THOLD": 190,
  "STARTRAILS_PIXEL_THOLD": 1,
  "STARTRAILS_MIN_STARS": 0,
  "STARTRAILS_TIMELAPSE": true,
  "STARTRAILS_TIMELAPSE_MINFRAMES": 250,
  "STARTRAILS_SUN_ALT_THOLD": -15,
  "STARTRAILS_MOONMODE_THOLD": true,
  "STARTRAILS_MOON_ALT_THOLD": 91,
  "STARTRAILS_MOON_PHASE_THOLD": 101,
  "STARTRAILS_USE_DB_DATA": true,
  "IMAGE_CALIBRATE_DARK": true,
  "IMAGE_EXIF_PRIVACY": false,
  "IMAGE_FILE_TYPE": "jpg",
  "IMAGE_FILE_COMPRESSION": {
    "jpg": 90,
    "png": 5,
    "tif": 5,
    "jpeg": 90
  },
  "IMAGE_FOLDER": "/var/www/html/allsky/images",
  "IMAGE_LABEL_TEMPLATE": "# size:50 [Use 60 for higher resolution cameras]\n# xy:-15,15 (Upper Right)\n# anchor:ra (Right Justified)\n# color:150,150,150\n{timestamp:%Y-%m-%d %H:%M:%S}\n{latitude:0.0f}°N {longitude:0.0f}°W\n# color:150,150,150\n#Tiangong {tiangong_up:s} [{tiangong_next_h:0.1f}h/{tiangong_next_alt:0.0f}°]\n#Hubble {hst_up:s} [{hst_next_h:0.1f}h/{hst_next_alt:0.0f}°]\n#ISS {iss_up:s} [{iss_next_h:0.1f}h/{iss_next_alt:0.0f}°]\n# xy:-15,-200 (Lower Right) [Use -15,-450 for size 60]\n# color:175,175,0\nSun {sun_alt:0.0f}°\n# color:125,0,0\n#Mercury {mercury_alt:0.0f}°\n# color:100,150,150\n#Venus {venus_alt:0.0f}°\n# color:150,0,0\n#Mars {mars_alt:0.0f}°\n# color:100,100,0\n#Jupiter {jupiter_alt:0.0f}°\n# color:100,100,150\n#Saturn {saturn_alt:0.0f}°\n# color:150,150,150\nMoon {moon_phase:0.0f}% {moon_alt:0.0f}°\n# xy:15,-200 (Lower Left)  [Use 15,-210 for size 60]\n# anchor:la (Left Justified)\n# color:150,150,150\nStars {stars:d}\n# color:150,150,150\nKp-index {kpindex:0.2f}\n# color:150,150,150\nSmoke {smoke_rating:s}\n# xy:15,15 (Upper Left)\n# color:150,150,150\nExposure {exposure:0.6f}\n# color:150,150,150\nGain {gain:d}\n# color:150,150,150\nSensor Temp {temp:0.1f}°{temp_unit:s}\n# color:150,150,150\nStretch {stretch:s}\nStacking {stack_method:s}\n# color:200,200,200 (default color)\n# additional labels will be added here",
  "URL_TEMPLATE": "https://{bucket}.s3.{region}.{host}",
  "IMAGE_EXTRA_TEXT": "",
  "IMAGE_CROP_ROI": [],
  "IMAGE_ROTATE": "ROTATE_180",
  "IMAGE_ROTATE_ANGLE": 0,
  "IMAGE_FLIP_V": true,
  "IMAGE_FLIP_H": true,
  "IMAGE_SCALE": 100,
  "NIGHT_GRAYSCALE": false,
  "DAYTIME_GRAYSCALE": false,
  "IMAGE_CIRCLE_MASK": {
    "ENABLE": false,
    "DIAMETER": 3500,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "BLUR": 35,
    "OPACITY": 100,
    "OUTLINE": true
  },
  "FISH2PANO": {
    "ENABLE": false,
    "DIAMETER": 3000,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "ROTATE_ANGLE": -90,
    "SCALE": 0.5,
    "MODULUS": 2,
    "FLIP_H": false,
    "ENABLE_CARDINAL_DIRS": true,
    "DIRS_OFFSET_BOTTOM": 25,
    "OPENCV_FONT_SCALE": 0.8,
    "PIL_FONT_SIZE": 30
  },
  "IMAGE_SAVE_FITS": false,
  "IMAGE_SAVE_FITS_PRE_DARK": false,
  "IMAGE_EXPORT_RAW": "",
  "IMAGE_EXPORT_FOLDER": "/var/www/html/allsky/images/export",
  "IMAGE_EXPORT_FLIP_V": false,
  "IMAGE_EXPORT_FLIP_H": false,
  "IMAGE_STACK_METHOD": "maximum",
  "IMAGE_STACK_COUNT": 1,
  "IMAGE_STACK_ALIGN": false,
  "IMAGE_ALIGN_DETECTSIGMA": 5,
  "IMAGE_ALIGN_POINTS": 50,
  "IMAGE_ALIGN_SOURCEMINAREA": 10,
  "IMAGE_STACK_SPLIT": false,
  "THUMBNAILS": {
    "IMAGES_AUTO": true
  },
  "IMAGE_EXPIRE_DAYS": 30,
  "TIMELAPSE_EXPIRE_DAYS": 365,
  "IMAGE_QUEUE_MAX": 3,
  "IMAGE_QUEUE_MIN": 1,
  "IMAGE_QUEUE_BACKOFF": 0.5,
  "FFMPEG_FRAMERATE": 25,
  "FFMPEG_BITRATE": "40000k",
  "FFMPEG_VFSCALE": "",
  "FFMPEG_CODEC": "libx264",
  "FITSHEADERS": [
    [
      "INSTRUME",
      "indi-allsky"
    ],
    [
      "OBSERVER",
      ""
    ],
    [
      "SITE",
      ""
    ],
    [
      "OBJECT",
      ""
    ],
    [
      "NOTES",
      ""
    ]
  ],
  "IMAGE_LABEL_SYSTEM": "pillow",
  "TEXT_PROPERTIES": {
    "DATE_FORMAT": "%Y%m%d %H:%M:%S",
    "FONT_FACE": "FONT_HERSHEY_SIMPLEX",
    "FONT_AA": "LINE_AA",
    "FONT_SCALE": 0.8,
    "FONT_THICKNESS": 1,
    "FONT_OUTLINE": true,
    "FONT_HEIGHT": 30,
    "FONT_X": 30,
    "FONT_Y": 30,
    "FONT_COLOR": [
      200,
      200,
      200
    ],
    "PIL_FONT_FILE": "fonts-freefont-ttf/FreeMonoBold.ttf",
    "PIL_FONT_CUSTOM": "",
    "PIL_FONT_SIZE": 30
  },
  "CARDINAL_DIRS": {
    "ENABLE": true,
    "FONT_COLOR": [
      255,
      0,
      0
    ],
    "SWAP_NS": false,
    "SWAP_EW": true,
    "CHAR_NORTH": "N",
    "CHAR_EAST": "E",
    "CHAR WEST": "W",
    "CHAR_SOUTH": "S",
    "DIAMETER": 4000,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "OFFSET_TOP": 15,
    "OFFSET_LEFT": 15,
    "OFFSET_RIGHT": 15,
    "OFFSET_BOTTOM": 15,
    "OPENCV_FONT_SCALE": 0.5,
    "PIL_FONT_SIZE": 20,
    "OUTLINE_CIRCLE": false,
    "CHAR_WEST": "W"
  },
  "ORB_PROPERTIES": {
    "MODE": "ha",
    "RADIUS": 9,
    "SUN_COLOR": [
      200,
      200,
      0
    ],
    "MOON_COLOR": [
      128,
      128,
      128
    ],
    "AZ_OFFSET": 0,
    "RETROGRADE": false
  },
  "UPLOAD_WORKERS": 2,
  "FILETRANSFER": {
    "CLASSNAME": "pycurl_sftp",
    "HOST": "",
    "PORT": 0,
    "USERNAME": "",
    "PASSWORD": "REDACTED",
    "PASSWORD_E": "REDACTED",
    "PRIVATE_KEY": "",
    "PUBLIC_KEY": "",
    "CONNECT_TIMEOUT": 10,
    "TIMEOUT": 60,
    "CERT_BYPASS": true,
    "REMOTE_IMAGE_NAME": "image.{ext}",
    "REMOTE_PANORAMA_NAME": "panorama.{ext}",
    "REMOTE_IMAGE_FOLDER": "/home/allsky/upload/allsky",
    "REMOTE_PANORAMA_FOLDER": "/home/allsky/upload/allsky",
    "REMOTE_RAW_FOLDER": "/home/allsky/upload/allsky/export",
    "REMOTE_FITS_FOLDER": "/home/allsky/upload/allsky/fits",
    "REMOTE_METADATA_NAME": "latest_metadata.json",
    "REMOTE_METADATA_FOLDER": "/home/allsky/upload/allsky",
    "REMOTE_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
    "REMOTE_KEOGRAM_FOLDER": "/home/allsky/upload/allsky/keograms",
    "REMOTE_STARTRAIL_FOLDER": "/home/allsky/upload/allsky/startrails",
    "REMOTE_STARTRAIL_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
    "REMOTE_PANORAMA_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
    "REMOTE_ENDOFNIGHT_FOLDER": "/home/allsky/upload/allsky",
    "UPLOAD_IMAGE": 0,
    "UPLOAD_PANORAMA": 0,
    "UPLOAD_RAW": false,
    "UPLOAD_FITS": false,
    "UPLOAD_METADATA": false,
    "UPLOAD_VIDEO": false,
    "UPLOAD_KEOGRAM": false,
    "UPLOAD_STARTRAIL": false,
    "UPLOAD_STARTRAIL_VIDEO": false,
    "UPLOAD_PANORAMA_VIDEO": false,
    "UPLOAD_ENDOFNIGHT": false,
    "LIBCURL_OPTIONS": {}
  },
  "S3UPLOAD": {
    "ENABLE": false,
    "CLASSNAME": "boto3_s3",
    "ACCESS_KEY": "",
    "SECRET_KEY": "REDACTED",
    "SECRET_KEY_E": "REDACTED",
    "CREDS_FILE": "",
    "BUCKET": "change-me",
    "REGION": "us-east-2",
    "NAMESPACE": "",
    "HOST": "amazonaws.com",
    "PORT": 0,
    "CONNECT_TIMEOUT": 10,
    "TIMEOUT": 60,
    "URL_TEMPLATE": "https://{bucket}.s3.{region}.{host}",
    "ACL": "",
    "STORAGE_CLASS": "STANDARD",
    "TLS": true,
    "CERT_BYPASS": false,
    "UPLOAD_FITS": false,
    "UPLOAD_RAW": false
  },
  "MQTTPUBLISH": {
    "ENABLE": false,
    "TRANSPORT": "tcp",
    "HOST": "localhost",
    "PORT": 8883,
    "USERNAME": "indi-allsky",
    "PASSWORD": "REDACTED",
    "PASSWORD_E": "REDACTED",
    "BASE_TOPIC": "indi-allsky",
    "QOS": 0,
    "TLS": true,
    "CERT_BYPASS": true,
    "PUBLISH_IMAGE": true
  },
  "SYNCAPI": {
    "ENABLE": false,
    "BASEURL": "https://example.com/indi-allsky",
    "USERNAME": "",
    "APIKEY": "REDACTED",
    "APIKEY_E": "REDACTED",
    "CERT_BYPASS": false,
    "POST_S3": false,
    "EMPTY_FILE": false,
    "UPLOAD_IMAGE": 1,
    "UPLOAD_PANORAMA": 1,
    "CONNECT_TIMEOUT": 10,
    "TIMEOUT": 60
  },
  "YOUTUBE": {
    "ENABLE": false,
    "SECRETS_FILE": "",
    "PRIVACY_STATUS": "private",
    "TITLE_TEMPLATE": "Allsky {asset_label} - {day_date:%Y-%m-%d} - {timeofday}",
    "DESCRIPTION_TEMPLATE": "",
    "CATEGORY": 22,
    "TAGS": [
      "timelapse",
      "astronomy",
      "allsky"
    ],
    "UPLOAD_VIDEO": false,
    "UPLOAD_STARTRAIL_VIDEO": false,
    "UPLOAD_PANORAMA_VIDEO": false
  },
  "LIBCAMERA": {
    "IMAGE_FILE_TYPE": "dng",
    "AWB": "auto",
    "AWB_DAY": "auto",
    "AWB_ENABLE": false,
    "AWB_ENABLE_DAY": false,
    "EXTRA_OPTIONS": "",
    "EXTRA_OPTIONS_DAY": ""
  },
  "PYCURL_CAMERA": {
    "URL": "",
    "USERNAME": "",
    "PASSWORD": "REDACTED",
    "PASSWORD_E": "REDACTED"
  },
  "FOCUSER": {
    "CLASSNAME": "",
    "GPIO_PIN_1": "D17",
    "GPIO_PIN_2": "D18",
    "GPIO_PIN_3": "D27",
    "GPIO_PIN_4": "D22"
  },
  "DEW_HEATER": {
    "CLASSNAME": "",
    "ENABLE_DAY": false,
    "PIN_1": "D12",
    "LEVEL_DEF": 100,
    "THOLD_ENABLE ": false,
    "MANUAL_TARGET": 0,
    "TEMP_USER_VAR_SLOT": 10,
    "LEVEL_LOW": 33,
    "LEVEL_MED": 66,
    "LEVEL_HIGH": 100,
    "THOLD_DIFF_LOW": 15,
    "THOLD_DIFF_MED": 10,
    "THOLD_DIFF_HIGH": 5,
    "THOLD_ENABLE": false
  },
  "TEMP_SENSOR": {
    "A_CLASSNAME": "",
    "A_PIN_1": "D5",
    "A_USER_VAR_SLOT": 10,
    "A_I2C_ADDRESS": "0x77",
    "B_CLASSNAME": "",
    "B_PIN_1": "D6",
    "B_USER_VAR_SLOT": 15,
    "B_I2C_ADDRESS": "0x76",
    "C_CLASSNAME": "",
    "C_PIN_1": "D16",
    "C_USER_VAR_SLOT": 20,
    "C_I2C_ADDRESS": "0x40"
  }
}

#################################

end support info

#################################

aaronwmorris commented 3 weeks ago

Interesting, I recall reading a discussion on the Allsky github about sunset being after midnight. I do not know if this would affect indi-allsky.

What is your timezone? I added the timezone as part of the support info about a week ago, but it is just not in your version.

AlaskanAstro commented 3 weeks ago

Timezone is Alaska, uhhh AKDST? GMT-8 right now. We really should have like 3 timezones across the state. My transit time this time of year is around 2:30PM so not only is my sunset late because of being far north it's also very offset because I'm far west into the timezone.

henrikeri commented 3 weeks ago

I have the same issue happening since a few days ago. Lat 58N here, GMT+1 with DST (Oslo time)

aaronwmorris commented 2 weeks ago

After thinking about this, obviously the problem is the sun never reaches the altitude to trigger the day/night transition, which is what generates the timelapse.

Now that I fully understand the problem, I am considering options.

AlaskanAstro commented 2 weeks ago

Two things on that: 1, I could test that tonight with a night trigger of -1 degree if you'd like. 2, How finely does INDI All Sky calculate sun altitude? My trigger was -3 degrees and I believe my true sun alt went as low as -3.9 or even 4 on the first night I noticed it didn't trigger.

aaronwmorris commented 2 weeks ago

indi-allsky performs its astrometric calculations using pyephem, so the raw floating point value is used for the Sun's altitude for the current timestamp.

I went ahead and wrote a script to calculate the Suns min/max altitude for a given day at any lat/long, as well as the overall min/max on the solstices. 5 days ago, the Sun's minimum altitude was -2.713 degrees for your location. The precision is not limited, it is just limited in the log messages.

This is definitely a problem in any case. I need to implement a failsafe to prevent this from happening.

$ ./testing/sunAltMinMax.py
WARNING:root:Latitude:  62.9
WARNING:root:Longitude: -160.0
WARNING:root:Now - 2024-06-07 18:31:36.086857+00:00
INFO:root:2024-06-07 22:39:03.879051: Max 50.0
INFO:root:2024-06-08 10:39:03.879051: Min -2.7
WARNING:root:Solstice 1
INFO:root:2024-06-20 22:41:48.101761: Max 50.5
INFO:root:2024-06-21 10:41:48.101761: Min -2.3
WARNING:root:Soltice 2
INFO:root:2024-12-21 22:38:30.713792: Max 3.9
INFO:root:2024-12-22 10:38:30.713792: Min -50.5
AlaskanAstro commented 2 weeks ago

Cool well I look forward to implementing the fix.

Edit: I'm not sure why but that script disagrees with Stellarium's sun altitude I'm getting. Even today which should be lower I'm seeing around -3.5° minimum alt. Is it possible that script is having an issue with the midnight thing too and pulling an altitude at midnight?

aaronwmorris commented 2 weeks ago

When I was first writing the test script, I also noticed a discrepancy between pyephem and skyfield. Skyfield is supposedly the more modern replacement to pyephem and has the same author. I may open a ticket with that team to find out if I am doing something wrong.

I tried several combinations of lat/long and in most cases the minimum altitude is within 0.2 degrees for both libraries, but for some reason, your latitude can have a difference of more than a degree.

WARNING:root:Latitude:  62.9
WARNING:root:Longitude: -160.0

WARNING:root:pyephem Now - 2024-06-07 19:30:40.486816+00:00
INFO:root:2024-06-07 22:39:03.879051: Max 49.977
INFO:root:2024-06-08 10:39:03.879051: Min -2.713
WARNING:root:pyephem Solstice 1
INFO:root:2024-06-20 22:41:48.101761: Max 50.550
INFO:root:2024-06-21 10:41:48.101761: Min -2.270
WARNING:root:pyephem Solstice 2
INFO:root:2024-12-21 22:38:30.713792: Max 3.857
INFO:root:2024-12-22 10:38:30.713792: Min -50.536

WARNING:root:skyfield Now - 2024-06-07 19:30:40.486816+00:00
INFO:root:2024-06-07 22:39:03.915149+00:00: Max 49.964
INFO:root:2024-06-08 10:39:09.749678+00:00: Min -4.194
WARNING:root:skyfield Solstice 1
INFO:root:2024-06-20 22:41:48.131156+00:00: Max 50.537
INFO:root:2024-06-21 10:41:54.591994+00:00: Min -3.665
WARNING:root:skyfield Solstice 2
INFO:root:2024-12-21 22:38:30.655583+00:00: Max 3.660
INFO:root:2024-12-21 10:38:15.721727+00:00: Min -50.540
aaronwmorris commented 2 weeks ago

And I have the answer... Apparently, pyephem is accounting for refraction at the horizon, so the sun is visually at a different altitude than it is physically. skyfield does not account for refraction below -1 degrees. Setting the atmospheric pressure to 0 disables the refraction calculation and makes the numbers exactly the same in both libraries.

https://github.com/skyfielders/python-skyfield/discussions/974

aaronwmorris commented 2 weeks ago

Back to the issue at hand...

My plan is to add a drop dead time limit for daytime and night time. If the day/night Sun altitude is not hit, the drop dead time will trigger generating a timelapse for the previous period. Normally, indi-allsky expects a day then a night then another day, but this will introduce the concept of back-to-back days during summer, and back-to-back nights in winter.

This introduces another challenge... the dayDate classification. The way indi-allsky classifies images for a timelapse is the dayDate attribute. The drop dead limit for day and night cannot be midnight/noon, it needs to be meridian/anti-meridian. However, timezones being as they are, the anti-meridian sometimes occurs the following day (during summer). Due to this "misalignment", it means some daytime images that fall after midnight need to be associated with the previous dayDate period. My current method for calculating dayDate needs to be refactored.

Edit: That was a terrible explanation, but the complexity I have to deal with is for higher latitudes, as stated previously, night does not start until after midnight. Therefore, under the indi-allsky rules, that "night" is technically within the dayDate for the previous day.

AlaskanAstro commented 2 weeks ago

Well I'm excited to see your ideas on this. Thanks so much for tackling it. Sorry I broke your project. 😄 Will definitely be buying you a coffee with the link at some point.

aaronwmorris commented 1 week ago

I went ahead and pulled the trigger on this merge #1340 . This should properly handle higher latitudes now. The solar meridian is now considered the hard stop between consecutive nights, and the anti-meridian for consecutive days.

There may be gremlins in this code. I have tested many cases with this, but the behavior is unique to the different timezone and latitude/longitude combinations.

henrikeri commented 1 week ago

Deployed, I'll let you know how it plays out :)

AlaskanAstro commented 1 week ago

As someone not super familiar with Git, how do I update this without it being part of a main release?

aaronwmorris commented 1 week ago

Hello all, if you upgraded to fix the previous issue, I introduced a problem which caused the wrong timelapse to be generated. Merged #1348

Please upgrade to the latest release to fix this issue.

aaronwmorris commented 1 week ago

@AlaskanAstro Unfortunately, I have a very simple release management process. I generally do not maintain separate feature branches. With a change like this, do generally develop it on a separate branch for the initial integration, but try to quickly merge to dev/main as quickly as possible.

AlaskanAstro commented 1 week ago

Got, figured it out and followed your simple wiki instructions. Thank you!