BOSWatch/exampleAddOns/alarmMonitorRPi/globals.py
JHCD 4e013ee55d add alarmMonitor for Rasbperry with RPiDisplay
This is an alarmMonitor for receive alarm-messages from BOSWatch and show them on a touchscreen
The jsonSocketServer controlls an Watterott RPi-Display in case of received POCSAG-RIC

Implemented functions:
- asynchronous threads for display control
- show ric-description and alarm-message on display
- different colours for no alarm, test alarm and alarm
- auto-turn-off display
- show POCSAG is alive status (coloured clock)
2015-07-15 00:59:54 +02:00

23 lines
384 B
Python

#!/usr/bin/python
# -*- coding: UTF-8 -*-
#
# control-params (Boolean)
running = True
showDisplay = False
abort = False
# color of display-boarder
screenBackground = ""
# data-structure (Dict)
data = {}
# last alarm shown (Timestamp)
lastAlarm = 0
# enable display until (Timestamp)
enableDisplayUntil = 0
# configparser (Configparser)
config = 0