mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 14:35:17 +00:00
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)
This commit is contained in:
parent
ce97760b00
commit
4e013ee55d
5 changed files with 580 additions and 0 deletions
48
exampleAddOns/alarmMonitorRPi/config.template.ini
Normal file
48
exampleAddOns/alarmMonitorRPi/config.template.ini
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
############################
|
||||
# AlarmMonitor Config File #
|
||||
############################
|
||||
|
||||
[AlarmMonitor]
|
||||
# listen port for socket server
|
||||
socketPort = 8112
|
||||
|
||||
# process alarms for the following RICs
|
||||
alarmRICs = 1234567, 12345678
|
||||
|
||||
# use the following RICs for keep alive calculation (additonal)
|
||||
keepAliveRICs = 1000000
|
||||
|
||||
# use the following functionChar for test alarms (if empty no test alarms will shown)
|
||||
functionCharTestAlarm = a
|
||||
|
||||
# use the following functionChar for alarms (if empty no alarms will shown)
|
||||
# if functionChar is used in functionCharTestAlarm too, it will bee ignored for alarms
|
||||
functionCharAlarm = b, c, d
|
||||
|
||||
# Show alarm massage for n seconds
|
||||
showAlarmTime = 180
|
||||
|
||||
# Show display for n seconds by touching
|
||||
showDisplayTime = 30
|
||||
|
||||
# colouring status of RIC-decoding (n seconds after last alarm)
|
||||
delayForYellow = 240
|
||||
delayForRed = 360
|
||||
|
||||
# colours for alarmMonitor
|
||||
colourBlack = #000000
|
||||
colourRed = #B22222
|
||||
colourGreen = #008B00
|
||||
colourBlue = #00008B
|
||||
colourYellow = #8B8B00
|
||||
colourGrey = #BEBEBE
|
||||
colourDimGrey = #696969
|
||||
colourWhite = #FFFFFF
|
||||
|
||||
[Display]
|
||||
# Pin of LCD backlight (script will use only on/off)
|
||||
GPIOPinForBacklight = 18
|
||||
|
||||
# display size
|
||||
displayWidth = 320
|
||||
displayHeight = 240
|
||||
Loading…
Add table
Add a link
Reference in a new issue