aaronwmorris / indi-allsky

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

Timelapse failing #1328

Closed laterrible closed 2 weeks ago

laterrible commented 2 weeks ago

Hey team, recent fresh install going pretty well, it's been a while since I last used this and it's better than ever, with one exception: I can't get timelapses to generate.

Both auto and manual attempts fail. Here's the support log. 4b with pi hq camera, running from Poe hat installed on a USB stick I've had success with before.

What goofy things have I setup incorrectly or overlooked?

/home/admin/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: 1890224 kB

System: Raspberry Pi 4 Model B Rev 1.5

Linux indi 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux

Time
Sun 16 Jun 07:17:05 AEST 2024

System timezone
Australia/Sydney

Uptime
 07:17:05 up 12:12,  2 users,  load average: 0.94, 0.78, 0.81

Memory
               total        used        free      shared  buff/cache   available
Mem:         1890224      734312      240996        9596      990748     1155912
Swap:        1048572      307160      741412

Filesystems
Filesystem     1K-blocks     Used Available Use% Mounted on
udev              672172        0    672172   0% /dev
tmpfs             189024     1340    187684   1% /run
/dev/sda2       58556632 42306340  13255912  77% /
tmpfs             945112      308    944804   1% /dev/shm
tmpfs               5120       16      5104   1% /run/lock
/dev/sda1         522230    75372    446858  15% /boot/firmware
tmpfs             189020       36    188984   1% /run/user/1000

sysctl info
vm.swappiness = 60

system python: Python 3.11.2

indiserver: /usr/local/bin/indiserver

User info
uid=1000(admin) gid=1000(admin) groups=1000(admin),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
avahi        605  0.3  0.1   7672  3328 ?        Ss   Jun15   2:18 avahi-daemon: running [indi.local]
admin       1054  0.1  0.1   9620  2816 ?        Ss   Jun15   0:58 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_simulator_ccd
admin       1073  0.0  0.4  41232  8576 ?        S    Jun15   0:39 indi_simulator_telescope
admin       1074  0.0  0.4 123336  8576 ?        Sl   Jun15   0:31 indi_simulator_ccd
admin       2014  0.0  3.2 801672 60652 ?        SNsl Jun15   0:29 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       2336  0.0  1.0  33408 19012 ?        SNs  Jun15   0:07 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
admin       2338  0.0  5.3 672340 101060 ?       SNl  Jun15   0:23 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
admin       2364  0.2  2.8 802104 52992 ?        SNl  Jun15   1:56 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       2366  4.0 11.8 991784 224272 ?       SNl  Jun15  27:06 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       2367  0.6 12.9 950444 244608 ?       SNl  Jun15   4:16 /home/admin/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
admin       7981  0.6  0.1   6800  3072 ?        SN   07:17   0:00 /bin/bash /home/admin/indi-allsky/misc/support_info.sh

USB info
Bus 002 Device 002: ID 0781:5591 SanDisk Corp. Ultra Flair
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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 Jan  1  1970 /dev/bus/usb
      123      0 drwxr-xr-x   2 root     root           80 Jan  1  1970 /dev/bus/usb/001
      124      0 crw-rw-r--   1 root     root     189,   0 Jun 15 19:04 /dev/bus/usb/001/001
      138      0 crw-rw-r--   1 root     root     189,   1 Jun 15 19:04 /dev/bus/usb/001/002
      125      0 drwxr-xr-x   2 root     root           80 Jan  1  1970 /dev/bus/usb/002
      126      0 crw-rw-r--   1 root     root     189, 128 Jun 15 19:04 /dev/bus/usb/002/001
      142      0 crw-rw-r--   1 root     root     189, 129 Jun 15 19:04 /dev/bus/usb/002/002

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

v4l info
bcm2835-codec-decode (platform:bcm2835-codec):
    /dev/video10
    /dev/video11
    /dev/video12
    /dev/video18
    /dev/video31
    /dev/media4

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

unicam (platform:fe801000.csi):
    /dev/video0
    /dev/video1
    /dev/media0

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

Module info
Module                  Size  Used by
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
binfmt_misc            16384  1
brcmfmac_wcc           12288  0
brcmfmac              348160  1 brcmfmac_wcc
hci_uart               49152  0
brcmutil               24576  1 brcmfmac
btbcm                  24576  1 hci_uart
bluetooth             614400  33 hci_uart,btbcm,bnep,rfcomm
cfg80211              995328  1 brcmfmac
raspberrypi_hwmon      12288  0
rpi_poe_power          12288  0
imx477                 24576  1
pwm_raspberrypi_poe    12288  1
rpivid_hevc            45056  0
bcm2835_isp            28672  0
bcm2835_unicam         49152  0
bcm2835_codec          45056  0
bcm2835_v4l2           40960  0
ecdh_generic           16384  2 bluetooth
ecc                    36864  1 ecdh_generic
v4l2_mem2mem           53248  2 bcm2835_codec,rpivid_hevc
videobuf2_vmalloc      12288  1 bcm2835_v4l2
bcm2835_mmal_vchiq     36864  3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_dv_timings        40960  1 bcm2835_unicam
rfkill                 32768  6 bluetooth,cfg80211
sg                     32768  0
v4l2_fwnode            20480  2 imx477,bcm2835_unicam
videobuf2_dma_contig    20480  4 bcm2835_codec,bcm2835_unicam,rpivid_hevc,bcm2835_isp
v4l2_async             20480  3 v4l2_fwnode,imx477,bcm2835_unicam
videobuf2_memops       12288  2 videobuf2_vmalloc,videobuf2_dma_contig
libaes                 12288  3 aes_arm64,bluetooth,aes_generic
videobuf2_v4l2         32768  6 bcm2835_codec,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
videodev              319488  10 v4l2_async,bcm2835_codec,v4l2_fwnode,videobuf2_v4l2,imx477,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
raspberrypi_gpiomem    12288  0
snd_bcm2835            24576  1
videobuf2_common       73728  10 bcm2835_codec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
vc_sm_cma              28672  2 bcm2835_mmal_vchiq,bcm2835_isp
mc                     65536  10 v4l2_async,videodev,bcm2835_codec,videobuf2_v4l2,imx477,bcm2835_unicam,videobuf2_common,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
pwm_fan                16384  0
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
simple_mfd_i2c         12288  0
regmap_i2c             12288  1 simple_mfd_i2c
snd_soc_hdmi_codec     20480  2
drm_display_helper     16384  1 vc4
cec                    53248  1 vc4
drm_dma_helper         24576  2 vc4
v3d                    90112  4
drm_kms_helper        233472  2 drm_dma_helper,vc4
gpu_sched              53248  1 v3d
drm_shmem_helper       24576  1 v3d
drm                   684032  17 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
drm_panel_orientation_quirks    24576  1 drm
i2c_mux_pinctrl        12288  0
i2c_mux                12288  1 i2c_mux_pinctrl
i2c_brcmstb            12288  0
i2c_bcm2835            16384  1
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
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 b3d925bb10365ce4c8edd084bacb104d41aed24e
Merge: b953745a 5ca51353
Author: Aaron W Morris <aaron@aarmor.net>
Date:   Fri Jun 7 13:54:43 2024 -0400

    Merge pull request #1312 from aaronwmorris/dev

    update sensor processing

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:46840       
ESTAB     0      0                   127.0.0.1:46840             127.0.0.1:7624        

Detected indi properties
looking for *.*.*
Connected to localhost on port 7624
Queried properties from *
CCD Simulator.CCD_SIMULATE_CRASH is write-only
Telescope 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
Telescope Simulator.CONNECTION.CONNECT=On
Telescope Simulator.CONNECTION.DISCONNECT=Off
CCD Simulator.CONNECTION.CONNECT=Off
CCD Simulator.CONNECTION.DISCONNECT=On
CCD Simulator.DRIVER_INFO.DRIVER_NAME=CCD Simulator
CCD Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_ccd
CCD Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
CCD Simulator.DRIVER_INFO.DRIVER_INTERFACE=22
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
CCD Simulator.POLLING_PERIOD.PERIOD_MS=1000
CCD Simulator.DEBUG.ENABLE=Off
CCD Simulator.DEBUG.DISABLE=On
CCD Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
CCD Simulator.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
CCD Simulator.SIMULATOR_SETTINGS.SIM_XRES=1280
CCD Simulator.SIMULATOR_SETTINGS.SIM_YRES=1024
CCD Simulator.SIMULATOR_SETTINGS.SIM_XSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_YSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_MAXVAL=65000
CCD Simulator.SIMULATOR_SETTINGS.SIM_SATURATION=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_LIMITINGMAG=17
CCD Simulator.SIMULATOR_SETTINGS.SIM_NOISE=10
CCD Simulator.SIMULATOR_SETTINGS.SIM_SKYGLOW=19.5
CCD Simulator.SIMULATOR_SETTINGS.SIM_OAGOFFSET=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLAR=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLARDRIFT=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEPERIOD=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEMAX=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_TIME_FACTOR=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_ROTATION=0
CCD Simulator.EQUATORIAL_PE.RA_PE=0
CCD Simulator.EQUATORIAL_PE.DEC_PE=0
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_POSITION=36700
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_MAX=100000
CCD Simulator.SIM_FOCUSING.SIM_SEEING=3.5
CCD Simulator.SIMULATE_BAYER.INDI_ENABLED=Off
CCD Simulator.SIMULATE_BAYER.INDI_DISABLED=On
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.1852552890777581114e-05
Telescope Simulator.MOUNT_AXES.SECONDARY=30.5
Telescope Simulator.ON_COORD_SET.TRACK=On
Telescope Simulator.ON_COORD_SET.SLEW=Off
Telescope Simulator.ON_COORD_SET.SYNC=Off
Telescope Simulator.EQUATORIAL_EOD_COORD.RA=1.0281784810628944449
Telescope Simulator.EQUATORIAL_EOD_COORD.DEC=-30.5
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
CCD Simulator.CCD_SIMULATE_CRASH is write-only
Telescope 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
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-15T09:07:18
Telescope Simulator.TIME_UTC.OFFSET=10.00
Telescope Simulator.GEOGRAPHIC_COORD.LAT=-30.5
Telescope Simulator.GEOGRAPHIC_COORD.LONG=151.5
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=-30.5
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
CCD Simulator.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
CCD Simulator.SIMULATOR_SETTINGS.SIM_XRES=1280
CCD Simulator.SIMULATOR_SETTINGS.SIM_YRES=1024
CCD Simulator.SIMULATOR_SETTINGS.SIM_XSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_YSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_MAXVAL=65000
CCD Simulator.SIMULATOR_SETTINGS.SIM_SATURATION=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_LIMITINGMAG=17
CCD Simulator.SIMULATOR_SETTINGS.SIM_NOISE=10
CCD Simulator.SIMULATOR_SETTINGS.SIM_SKYGLOW=19.5
CCD Simulator.SIMULATOR_SETTINGS.SIM_OAGOFFSET=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLAR=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLARDRIFT=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEPERIOD=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEMAX=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_TIME_FACTOR=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_ROTATION=0
CCD Simulator.EQUATORIAL_PE.RA_PE=0
CCD Simulator.EQUATORIAL_PE.DEC_PE=0
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_POSITION=36700
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_MAX=100000
CCD Simulator.SIM_FOCUSING.SIM_SEEING=3.5
CCD Simulator.SIMULATE_BAYER.INDI_ENABLED=Off
CCD Simulator.SIMULATE_BAYER.INDI_DISABLED=On
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.1852552890777581114e-05
Telescope Simulator.MOUNT_AXES.SECONDARY=30.5

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+rpt6+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
Available cameras
-----------------
0 : imx477 [4056x3040 12-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx477@1a)
    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]

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-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-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.17-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-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-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-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-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/admin/indi-allsky/virtualenv/indi-allsky/bin:/usr/local/bin:/usr/bin:/bin
flask command: /home/admin/indi-allsky/virtualenv/indi-allsky/bin/flask

virtualenv python modules
Adafruit-Blinka==8.41.0
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.69.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.6.3.0.31.14
astropy_healpix==1.0.3
astroscrappy==1.2.0
bcrypt==4.1.3
blinker==1.8.2
boto3==1.34.122
botocore==1.34.122
Bottleneck==1.3.8
cachetools==5.3.3
ccdproc==2.4.2
certifi==2024.6.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.8
Cython==3.0.10
dask==2024.5.2
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.6.0
google-api-core==2.19.0
google-api-python-client==2.132.0
google-auth==2.30.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.1
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.5.1
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.10.0.82
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.2
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.2

indi-allsky config (passwords redacted) 2024-06-16 07:17:17,877 [INFO] MainProcess config._dump() [890]: Dumping config

{
  "ENCRYPT_PASSWORDS_comment": "Do not manually adjust",
  "ENCRYPT_PASSWORDS": false,
  "CAMERA_INTERFACE": "libcamera_imx477",
  "INDI_SERVER": "localhost",
  "INDI_PORT": 7624,
  "INDI_CAMERA_NAME": "",
  "OWNER": "",
  "LENS_NAME": "AllSky Lens",
  "LENS_FOCAL_LENGTH": 2.5,
  "LENS_FOCAL_RATIO": 2,
  "LENS_IMAGE_CIRCLE": 4000,
  "LENS_ALTITUDE": 90,
  "LENS_AZIMUTH": 0,
  "CCD_CONFIG": {
    "NIGHT": {
      "GAIN": 100,
      "BINNING": 1
    },
    "MOONMODE": {
      "GAIN": 75,
      "BINNING": 1
    },
    "DAY": {
      "GAIN": 0,
      "BINNING": 1
    }
  },
  "INDI_CONFIG_DEFAULTS": {
    "SWITCHES": {},
    "PROPERTIES": {},
    "TEXT": {}
  },
  "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": 30,
  "FOCUS_MODE": false,
  "FOCUS_DELAY": 6,
  "CFA_PATTERN": "",
  "SCNR_ALGORITHM": "maximum_neutral",
  "WBR_FACTOR": 1,
  "WBG_FACTOR": 1,
  "WBB_FACTOR": 1,
  "AUTO_WB": true,
  "SATURATION_FACTOR": 1.1,
  "CCD_COOLING": false,
  "CCD_TEMP": 15,
  "TEMP_DISPLAY": "c",
  "PRESSURE_DISPLAY": "hPa",
  "CCD_TEMP_SCRIPT": "",
  "GPS_ENABLE": false,
  "TARGET_ADU": 75,
  "TARGET_ADU_DAY": 75,
  "TARGET_ADU_DEV": 10,
  "TARGET_ADU_DEV_DAY": 20,
  "ADU_ROI": [],
  "ADU_FOV_DIV": 4,
  "DETECT_STARS": false,
  "DETECT_STARS_THOLD": 0.6,
  "DETECT_METEORS": false,
  "DETECT_MASK": "",
  "DETECT_DRAW": false,
  "LOGO_OVERLAY": "",
  "SQM_ROI": [],
  "SQM_FOV_DIV": 3,
  "LOCATION_NAME": "",
  "LOCATION_LATITUDE": -30.5,
  "LOCATION_LONGITUDE": 151.5,
  "LOCATION_ELEVATION": 350,
  "TIMELAPSE_ENABLE": true,
  "TIMELAPSE_SKIP_FRAMES": 4,
  "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": -6,
  "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}",
  "HEALTHCHECK": {
    "DISK_USAGE": 90,
    "SWAP_USAGE": 90
  },
  "IMAGE_STRETCH": {
    "MODE1_ENABLE": false,
    "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": 100,
  "STARTRAILS_SUN_ALT_THOLD": -15,
  "STARTRAILS_MOONMODE_THOLD": false,
  "STARTRAILS_MOON_ALT_THOLD": 91,
  "STARTRAILS_MOON_PHASE_THOLD": 101,
  "STARTRAILS_USE_DB_DATA": true,
  "IMAGE_CALIBRATE_DARK": false,
  "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:30 [Use 60 for higher resolution cameras]\n# xy:-15,15 (Upper Right)\n# anchor:ra (Right Justified)\n# color:150,0,0\n{timestamp:%Y.%m.%d %H:%M:%S}\n# color:100,100,0\nLat {latitude:0.0f} Long {longitude:0.0f}\n# color:150,150,150\nTiangong {tiangong_up:s} [{tiangong_next_h:0.1f}h/{tiangong_next_alt:0.0f}°]\nHubble {hst_up:s} [{hst_next_h:0.1f}h/{hst_next_alt:0.0f}°]\nISS {iss_up:s} [{iss_next_h:0.1f}h/{iss_next_alt:0.0f}°]\n# xy:-15,-240 (Lower Right) [Use -15,-450 for size 60]\n# color:175,175,0\nSun {sun_alt:0.0f}°\n# color:125,0,0\nMercury {mercury_alt:0.0f}°\n# color:100,150,150\nVenus {venus_alt:0.0f}°\n# color:150,0,0\nMars {mars_alt:0.0f}°\n# color:100,100,0\nJupiter {jupiter_alt:0.0f}°\n# color:100,100,150\nSaturn {saturn_alt:0.0f}°\n# color:150,150,150\nMoon {moon_phase:0.0f}% {moon_alt:0.0f}°\n# xy:15,-120 (Lower Left)  [Use 15,-210 for size 60]\n# anchor:la (Left Justified)\n# color:0,150,150\nStars {stars:d}\n# color:150,50,50\nKp-index {kpindex:0.2f}\n# color:150,150,150\nSmoke {smoke_rating:s}\n# xy:15,15 (Upper Left)\n# color:0,150,0\nExposure {exposure:0.6f}\n# color:150,50,0\nGain {gain:d}\n# color:50,50,150\nTemp {temp:0.1f}°{temp_unit:s}\n# color:150,0,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": "",
  "IMAGE_ROTATE_ANGLE": 0,
  "IMAGE_FLIP_V": true,
  "IMAGE_FLIP_H": true,
  "IMAGE_SCALE": 75,
  "NIGHT_GRAYSCALE": false,
  "DAYTIME_GRAYSCALE": false,
  "IMAGE_CIRCLE_MASK": {
    "ENABLE": false,
    "DIAMETER": 1500,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "BLUR": 35,
    "OPACITY": 100,
    "OUTLINE": false
  },
  "FISH2PANO": {
    "ENABLE": false,
    "DIAMETER": 3000,
    "OFFSET_X": 0,
    "OFFSET_Y": 0,
    "ROTATE_ANGLE": 90,
    "SCALE": 0.5,
    "MODULUS": 10,
    "FLIP_H": true,
    "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": "jpg",
  "IMAGE_EXPORT_FOLDER": "/var/www/html/allsky/images/export",
  "IMAGE_EXPORT_FLIP_V": false,
  "IMAGE_EXPORT_FLIP_H": false,
  "IMAGE_STACK_METHOD": "average",
  "IMAGE_STACK_COUNT": 2,
  "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": 7,
  "TIMELAPSE_EXPIRE_DAYS": 30,
  "IMAGE_QUEUE_MAX": 5,
  "IMAGE_QUEUE_MIN": 1,
  "IMAGE_QUEUE_BACKOFF": 0.5,
  "FFMPEG_FRAMERATE": 25,
  "FFMPEG_BITRATE": "5000k",
  "FFMPEG_VFSCALE": "iw*.5:ih*.5",
  "FFMPEG_CODEC": "libx264",
  "FFMPEG_EXTRA_OPTIONS": "",
  "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": false,
    "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": [
      "astronomy",
      "timelapse",
      "allsky"
    ],
    "UPLOAD_VIDEO": false,
    "UPLOAD_STARTRAIL_VIDEO": false,
    "UPLOAD_PANORAMA_VIDEO": false
  },
  "LIBCAMERA": {
    "IMAGE_FILE_TYPE": "jpg",
    "AWB": "auto",
    "AWB_DAY": "auto",
    "AWB_ENABLE": true,
    "AWB_ENABLE_DAY": true,
    "EXTRA_OPTIONS": "",
    "EXTRA_OPTIONS_DAY": ""
  },
  "PYCURL_CAMERA": {
    "URL": "",
    "IMAGE_FILE_TYPE": "jpg",
    "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
  },
  "FAN": {
    "CLASSNAME": "",
    "ENABLE_NIGHT": false,
    "PIN_1": "D13",
    "LEVEL_DEF": 100,
    "THOLD_ENABLE ": false,
    "TARGET": 30,
    "TEMP_USER_VAR_SLOT": 10,
    "LEVEL_LOW": 33,
    "LEVEL_MED": 66,
    "LEVEL_HIGH": 100,
    "THOLD_DIFF_LOW": 0,
    "THOLD_DIFF_MED": 5,
    "THOLD_DIFF_HIGH": 10,
    "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 2 weeks ago

Try upgrading. I merged #1327 last night which might be the cause.

laterrible commented 2 weeks ago

Sadly no dice. Ran the upgrade just now. It has generated a couple timelapses in the last week, all of which have very quirky artefacts (red outlines, horrible exposure etc). Scaling is set to 50%, so expecting t isn't a memory-related thing.

I'll dig into the logs, see if I can find anything else sticking out. Thanks Aaron

aaronwmorris commented 2 weeks ago

If ffmpeg generates an error, it should be logged. All timelapse errors would be under the Video worker.

You can search for Video worker related errors with:

grep Video /var/log/indi-allsky/indi-allsky.log
laterrible commented 2 weeks ago

Ah nice, thanks, saved me hunting around. OK, so that log points at a few things namely

[warning] deprecated pixel format used, make sure you did set range correctly\n[libx264 @ 0x557f91ade0] [error] width not divisible by 2 (1521x 1140)\n[error] Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\n'

over and over again.

I'll have a closer look at the config and settings, see where it's gone wrong. Thanks again Aaron

/edit: yep, changing the scaling from a percentage to one of the IMX477 scaling seemed to have fixed it, was able to generate timelapses. Time now to configure all the bits and bobs, but great success. Thanks!

aaronwmorris commented 2 weeks ago

Beat me to it...

Okay, that helps, I think the cause is the image scaling combined with the video scaling. Since you are scaling the image by 75%, then ffmpeg is supposed to scale that by 50%, but the resulting resolution is not divisible by 2.

I have protections in indi-allsky to make sure that any action in its own control that changes the image dimensions, the resulting image wlll be divisible by 2, but this is a case I cannot manage because ffmpeg is the cause.

aaronwmorris commented 2 weeks ago

The IMX477 specific scaling options set a specific size and do not calculate the scale mathematically. That is why it works.