bell-system/README.md
2024-05-29 14:36:25 -04:00

39 lines
852 B
Markdown

![Bell System Banner](https://cdn.oki.cx/files/a0hdcgpgx4si21n2frthk3bad.png)
# What is bell system
Go based bell system that connects to AXIS Horns & Speakers via the built in API
# Why?
The included legacy software has its quirks and we didn't want to use their cloud software.
## Table of contents
* [Setup](#setup)
## Setup
Config file example
You will need to create a config.yaml file inside the same directory as the .exe
```
# Time Config (Format: 15:04:05)
times:
- "08:10:00"
- "08:20:00"
- "09:00:00"
- "09:40:00"
# Whitelisted days of the week (Format: Monday)
days:
- "Monday"
- "Tuesday"
- "Wednesday"
- "Thursday"
- "Friday"
# AXIS Horn Config
horn:
url: "https://horn-ip/axis-cgi/playclip.cgi?location=soundtoplay.mp3&repeat=0&volume=100&audiooutput=1"
username: "username"
password: "password"
```