Web Status Configuration - aaronwmorris/indi-allsky GitHub Wiki
The Web Status section can be customized using a template and python string format codes.
Information regarding python string formats may be found here: https://docs.python.org/3/library/string.html#formatspec
Each line of the template is wrapped in <div></div>
tags and will be rendered as HTML. HTML tags are allowed in the template.
This is the default template
Status: {status:s}
Lat: {latitude:0.1f}/Long: {longitude:0.1f}
Sidereal: {sidereal_time:s}
Mode: {mode:s}
Sun: {sun_alt:0.1f}° {sun_dir:s}
Moon: {moon_alt:0.1f}° {moon_dir:s}
Phase: {moon_phase_str:s} <span data-bs-toggle="tooltip" data-bs-placement="right" title="{moon_phase:0.0f}%">{moon_glyph:s}</span>
Smoke: {smoke_rating:s} {smoke_rating_status}
Kp-index: {kpindex:0.2f} {kpindex_rating:s} {kpindex_trend:s} {kpindex_status:s}
Aurora: {ovation_max:d}% {ovation_max_status}
Name | Type | Add Date | Info |
---|---|---|---|
status | str | Status of indi-allsky | |
latitude | float | Latitude | |
longitude | float | Longitude | |
elevation | int | Elevation | |
sidereal_time | str | Local Sidereal time | |
mode | str | Mode (Day/Night) | |
sun_alt | float | Sun Altitude | |
sun_dir | str | Sun direction (arrow) | |
sun_next_rise | str | Nov 2024 | Next sunrise time |
sun_next_rise_h | float | Nov 2024 | Next sunrise in hours |
sun_next_set | str | Nov 2024 | Next sunset time |
sun_next_set_h | float | Nov 2024 | next sunset in hours |
sun_next_astro_twilight_rise | str | Nov 2024 | Next astro twilight (sunrise) time |
sun_next_astro_twilight_rise_h | float | Nov 2024 | Next astro twilight (sunrise) in hours |
sun_next_astro_twilight_set | str | Nov 2024 | Next astro twilight (sunset) time |
sun_next_astro_twilight_set_h | float | Nov 2024 | next astro twilight (sunset) in hours |
moon_alt | float | Moon Altitude | |
moon_dir | str | Moon direction (arrow) | |
moon_phase_str | str | Moon phase string (Waxing/Waning) | |
moon_glyph | str | Moon glyph HTML character | |
moon_phase | float | Moon phase (percentage) | |
moon_cycle_percent | float | Current moon cycle percentage | |
moon_next_rise | str | Nov 2024 | Next moon-rise time |
moon_next_rise_h | float | Nov 2024 | Next moon-rise in hours |
moon_next_set | str | Nov 2024 | next moon-set time |
moon_next_set_h | float | Nov 2024 | Next moon-set in hours |
smoke_rating | str | Smoke rating | |
smoke_rating_status | str | Smoke rating data status (will indicate if data is old) | |
kpindex | float | K-P Index | |
kpindex_rating | str | K-P Index text rating (LOW/HIGH) | |
kpindex_trend | str | K-P Index trend (arrow) | |
kpindex_status | str | K-P Index data status (will indicate if data is old) | |
ovation_max | int | Aurora Ovation score for current location | |
ovation_max_status | str | Aurora Ovation data status (will indicate if data is old) | |
owner | str | Owner | |
location | str | Location name | |
lens_name | str | Lens description | |
alt | float | Lens Altitude | |
az | float | Lens Azimuth | |
camera_name | str | Camera INDI name | |
camera_friendly_name | str | Camera friendly name (configured in DB) |