Observatory command and control API and dashboard for Sonoran Desert Skies Observatory (SDSO).
We use the dashboard every clear night.
- Roof control and status
- Automatic roof close at dawn
- SMS notifications when roof is opened or closed, automatic roof close failure
- Power cycle telescope pier power
- Manual IO control
- Multiple camera streams
- Live allsky camera stream
- Median guide error chart
- Embedded grafana widgets showing temperature, humidity, etc.
- Embedded GOES imagery
- Raspi diagnostics
This application runs in a container on a Raspberry Pi 4 4gb. The raspi has HATs from Sequent Microsystems
- industrial automation controller
- 2x 16-channel output relays
- 1x 16-channel input
ASP.NET Core backend with a React frontend dashboard.
docker buildx build -t obspi -f Obspi/Dockerfile --platform linux/arm64 .
docker compose up -d
or to run temporarily
docker run -d --restart=unless-stopped --pull=always -p 8080:80 --name obspi --privileged registry.local.sdso.space/obspi
A github action is used to build the container image and it is hosted on ghcr.io.
On the raspi in the observatory located in /home/pi/obspi is the docker-compose.yml
file and variables.env
required to run the container.
When a new container is needed, manually run the github action and wait for the build to complete.
SSH into the pi and run the following:
cd ~/obspi
docker compose down
docker compose up -d