In this repo a software is provided which is used by the youth fire fighters for the “Professional Firefighters' Day“ (24-hour practice). First, a configuration can be created and then the software "alarms" at the specified times to simulate real operations.
Replace /sounds/audio.mp3 with an alarm sound and set length_of_sound_in_seconds
in line 10 in main.py to the length of the
sound file in seconds.
Replace /images/JF_Logo.png (2064x779px) with the logo of your own youth fire fighters logo.
- python 3.7.3 -> https://www.python.org/downloads/release/python-373/
- pygame ->
pip install pygame
- PIL ->
pip install Pillow
- open setup.php and configer all alerts there
- start main.py
[
{
"numberOfOperations": int
},
{
"operationNumber": int,
"operationDescription": string,
"address": string,
"operationDate": date
"operationTime": time,
"1-19": boolean,
"1-42": boolean,
"2-42": boolean,
"3-48": boolean,
"oil": boolean,
"hoseCart": boolean,
"unitOne": boolean,
"unitTwo": boolean
},
...
]