Skip to content

Web interface displaying an image from an allsky camera.

Notifications You must be signed in to change notification settings

lelandrichardson/allsky-website

 
 

Repository files navigation

allsky-website

Web interface displaying an image from an allsky camera.

Update

Please make sure to remove this line from your virtualsky.json as it has put a strain on Stuart Lowe's lookup service over time.

"objects": "M42;M45;M31;M51;M81",

https://www.strudel.org.uk/lookUP/

Brief overview

controller.js contains the logic of the website. It has a timeout that refreshes the image after a certain amount of time. It also grabs the space weather from NOAA and displays it at the top. The constellation overlay is also generated here.

videos/index.php lists the timelapses in the videos/ directory.

keograms/index.php lists the keograms in the keograms/ directory

startrails/index.php lists the startrails in the startrails/ directory

virtualsky.json contains settings to generate the constellations overlay (lat, long, etc).

config.js is the only file you need to modify. The content is described below.

Configuration

To configure the website for your own location, you will need to edit the config.js file.

Available options are:

Option Default Description
title Whitehorse, YT Title displayed next to the logo
imageName image-resize.jpg The image uploaded from your allsky camera
location Whitehorse The location of your camera
latitude 60.7 Latitude of the camera
longitude -135.05 Longitude of the camera
az 180 Azimuth at the bottom of the image (0 is north, 90 is east, 180 is south, 270 is west)
camera ASI224MC Your camera model
computer Raspberry Pi 3 Your Raspberry Pi model
owner Thomas Jacquin The camera owner
auroraMap north aurora oval map for the north or south hemisphere
overlaySize 875 Size of the overlay (width and height)
overlayOffsetLeft 0 Lateral adjustment of the overlay in pixels (+/-)
overlayOffsetTop 0 Vertical adjustment of the overlay in pixels (+/-)
auroraForecast false Displays the 3 day aurora forecast in the top left corner when set to true

About

Web interface displaying an image from an allsky camera.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.9%
  • CSS 2.6%
  • HTML 2.1%
  • PHP 1.4%