This repository has been archived by the owner on May 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathconfig.schema.json
1400 lines (1400 loc) · 64 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/riffnshred/nhl-led-scoreboard/config/config.json.sample",
"type": "object",
"title": "NHL LED Scoreboard configuration",
"description": "Configuration that controls the NHL LED scoreboard rgb matrix application",
"default": {},
"additionalProperties": true,
"required": [
"debug",
"loglevel",
"live_mode",
"preferences",
"states",
"boards",
"sbio"
],
"definitions": {
"boards_list": {
"enum": [
"wxalert",
"wxforecast",
"scoreticker",
"seriesticker",
"standings",
"team_summary",
"stanley_cup_champions",
"christmas",
"seasoncountdown",
"clock",
"weather"
]
}
},
"properties": {
"debug": {
"$id": "#/properties/debug",
"type": "boolean",
"title": "debug",
"description": "Enable the debug mode which show on your console what the scoreboard",
"default": false,
"examples": [
true
]
},
"loglevel": {
"$id": "#/properties/loglevel",
"type": "string",
"title": "loglevel",
"description": "Level of logs to show in output. Can be DEBUG, INFO, WARN, ERROR, CRITICAL DEBUG is same as setting debug to true ",
"default": "INFO",
"examples": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
],
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
]
},
"live_mode": {
"$id": "#/properties/live_mode",
"type": "boolean",
"title": "live_mode",
"description": "Enable the live mode which show live game data of your favorite team.",
"default": true,
"examples": [
true
]
},
"preferences": {
"$id": "#/properties/preferences",
"type": "object",
"title": "preferences",
"description": "All data related options",
"default": {},
"examples": [
{
"location": "Winnipeg, MB",
"sog_display_frequency": 4,
"end_of_day": "10:00",
"live_game_refresh_rate": 10,
"teams": [
"Jets",
"Canadiens",
"Oilers"
],
"time_format": "12h",
"goal_animations": {
"pref_team_only": true
}
}
],
"additionalProperties": true,
"required": [
"time_format",
"end_of_day",
"location",
"live_game_refresh_rate",
"teams",
"sog_display_frequency",
"goal_animations"
],
"properties": {
"time_format": {
"$id": "#/properties/preferences/properties/time_format",
"type": "string",
"title": "time_format(12h or 24h)",
"description": "The format in which the game start time will be displayed.",
"default": "12h",
"examples": [
"12h",
"24h"
],
"enum": [
"12h",
"24h"
]
},
"end_of_day": {
"$id": "#/properties/preferences/properties/end_of_day",
"type": "string",
"pattern": "([01]?[0-9]|2[0-3]):[0-5][0-9]",
"title": "end_of_day",
"description": "A 24-hour time you wish to consider the end of the previous day before starting to display the current day's games.",
"default": "12:00",
"examples": [
"10:00"
]
},
"location": {
"$id": "#/properties/preferences/properties/location",
"type": "string",
"title": "location",
"description": "Overrides latitude and longitude lookup by IP address. Used by dimmer and weather",
"default": "",
"examples": [
"City,State/Province",
"Winnipeg, MB",
"49.8844,-97.147"
]
},
"live_game_refresh_rate": {
"$id": "#/properties/preferences/properties/live_game_refresh_rate",
"type": "integer",
"title": "live_game_refresh_rate",
"description": "The rate at which a live game will call the NHL API to catch the new data. Do not go under 10 seconds as it's pointless and will affect your scoreboard performance.(Default 15 sec)",
"default": 15,
"examples": [
10
]
},
"teams": {
"$id": "#/properties/preferences/properties/teams",
"type": "array",
"title": "teams",
"description": "List of preferred teams. First one in the list is considered the favorite. If left empty, the scoreboard will be in off_day mode",
"default": [
"Avalanche"
],
"examples": [
"Jets",
"Canadiens",
"Oilers"
],
"additionalItems": true,
"items": {
"$id": "#/properties/preferences/properties/teams/items",
"type": "string",
"title": "teams",
"description": "Teams selected to display",
"default": "Avalanche",
"examples": [
"Jets",
"Canadiens",
"Oilers"
],
"enum": [
"Avalanche",
"Blackhawks",
"Blue Jackets",
"Blues",
"Bruins",
"Canadiens",
"Canucks",
"Capitals",
"Coyotes",
"Devils",
"Ducks",
"Flames",
"Flyers",
"Golden Knights",
"Hurricanes",
"Islanders",
"Jets",
"Kings",
"Kraken",
"Lightning",
"Maple Leafs",
"Oilers",
"Panthers",
"Penguins",
"Predators",
"Rangers",
"Red Wings",
"Sabres",
"Senators",
"Sharks",
"Stars",
"Wild"
]
}
},
"sog_display_frequency": {
"$id": "#/properties/preferences/properties/sog_display_frequency",
"type": "integer",
"title": "sog_display_frequency",
"description": "How often the shots on goal are updated",
"default": 4,
"examples": [
4
]
},
"goal_animations": {
"$id": "#/properties/preferences/goal_animations",
"type": "object",
"title": "goal_animations",
"description": "The goal animations can be set for both teams of just the preferred teams",
"default": true,
"examples": [
{
"pref_team_only": true
}
],
"additionalProperties": true,
"required": [
"pref_team_only"
],
"properties": {
"pref_team_only": {
"$id": "#/properties/preferences/goal_animations/properties/pref_team_only",
"type": "boolean",
"title": "pref_team_only",
"description": "Show only your preferred team goal animation or show both",
"default": false,
"examples": [
true
]
}
}
}
}
},
"states": {
"$id": "#/properties/states",
"type": "object",
"title": "states",
"description": "If the live mode is enabled, the scoreboard will go through different states depending on the current situation. For each state, you can define which of the available board you want the scoreboard to show. For example, if one of my preferred team has a game scheduled on the current day, during the day, the scoreboard will be in the scheduled state. I personally like to have all the data possible shown during the day so I'll set the all the boards in the scheduled setting.",
"default": {},
"examples": [
{
"off_day": [
"clock",
"weather"
],
"scheduled": [
"standings",
"scoreticker",
"clock"
],
"post_game": [
"scoreticker"
],
"intermission": [
"clock"
]
}
],
"additionalProperties": true,
"required": [
"off_day",
"scheduled",
"intermission",
"post_game"
],
"properties": {
"off_day": {
"$id": "#/properties/states/properties/off_day",
"type": "array",
"title": "off_day",
"description": "Offday is when your team is not playing. This could be off season as well",
"default": [],
"examples": [
[
"clock",
"weather"
]
],
"additionalItems": true,
"items": {
"$id": "#/properties/states/properties/off_day/items",
"type": "string",
"title": "boards",
"description": "Boards to display on off_day",
"default": "",
"examples": [
"clock",
"weather"
],
"$ref": "#/definitions/boards_list"
}
},
"scheduled": {
"$id": "#/properties/states/properties/scheduled",
"type": "array",
"title": "scheduled",
"description": "Scheduled is for when you team will be playing",
"default": [],
"examples": [
[
"clock",
"standings",
"scoreticker"
]
],
"additionalItems": true,
"items": {
"$id": "#/properties/states/properties/scheduled/items",
"type": "string",
"title": "boards",
"description": "Boards to display on sceduled",
"default": "",
"examples": [
"clock",
"standings",
"scoreticker"
],
"$ref": "#/definitions/boards_list"
}
},
"intermission": {
"$id": "#/properties/states/properties/intermission",
"type": "array",
"title": "intermission",
"description": "What to display during itermission betweeen periods",
"default": [],
"examples": [
[
"clock"
]
],
"additionalItems": true,
"items": {
"$id": "#/properties/states/properties/intermission/items",
"type": "string",
"title": "boards",
"description": "Boards to display at intermission",
"default": "",
"examples": [
"clock"
],
"$ref": "#/definitions/boards_list"
}
},
"post_game": {
"$id": "#/properties/states/properties/post_game",
"type": "array",
"title": "post_game",
"description": "What to display after the game is done",
"default": [],
"examples": [
[
"scoreticker"
]
],
"additionalItems": true,
"items": {
"$id": "#/properties/states/properties/post_game/items",
"type": "string",
"title": "boards",
"description": "Boards to display for post game",
"default": "",
"examples": [
"scoreticker"
],
"$ref": "#/definitions/boards_list"
}
}
}
},
"boards": {
"$id": "#/properties/boards",
"type": "object",
"title": "boards",
"description": "All possible boards that can be displayed and their settings",
"default": {},
"examples": [
{
"standings": {
"standing_type": "division",
"preferred_standings_only": true,
"divisions": "atlantic",
"conference": "eastern"
},
"clock": {
"hide_indicator": false,
"duration": 60
},
"scoreticker": {
"rotation_rate": 5,
"preferred_teams_only": false
}
}
],
"additionalProperties": true,
"required": [
"scoreticker",
"standings",
"clock",
"weather"
],
"properties": {
"scoreticker": {
"$id": "#/properties/boards/properties/scoreticker",
"type": "object",
"title": "scoreticker",
"description": "This is basically like the generic score ticker you see during a game on TV of sports news showing the result or the status of the other games in the league",
"default": {},
"examples": [
{
"preferred_teams_only": false,
"rotation_rate": 5
}
],
"additionalProperties": true,
"required": [
"preferred_teams_only",
"rotation_rate"
],
"properties": {
"preferred_teams_only": {
"$id": "#/properties/boards/properties/scoreticker/properties/preferred_teams_only",
"type": "boolean",
"title": "preferred_teams_only",
"description": "Choose between showing all the games of the day or just the ones your preferred teams are playing",
"default": false,
"examples": [
false
]
},
"rotation_rate": {
"$id": "#/properties/boards/properties/scoreticker/properties/rotation_rate",
"type": "integer",
"title": "rotation_rate",
"description": "Duration at which each games are shown on screen.",
"default": 5,
"examples": [
5
]
}
}
},
"seriesticker": {
"$id": "#/properties/boards/properties/seriesticker",
"type": "object",
"title": "seriesticker",
"description": "Just like the scoreticker, this is showing playoff series status with a table sporting each game scores and result.",
"default": {},
"examples": [
{
"preferred_teams_only": false,
"rotation_rate": 5
}
],
"additionalProperties": true,
"required": [
"preferred_teams_only",
"rotation_rate"
],
"properties": {
"preferred_teams_only": {
"$id": "#/properties/boards/properties/seriesticker/properties/preferred_teams_only",
"type": "boolean",
"title": "preferred_teams_only",
"description": "Choose between showing all series of the current round of playoff or just the ones your preferred teams are part of.",
"default": false,
"examples": [
false
]
},
"rotation_rate": {
"$id": "#/properties/boards/properties/seriesticker/properties/rotation_rate",
"type": "integer",
"title": "rotation_rate",
"description": "Duration at which each series are shown on screen.",
"default": 5,
"examples": [
5
]
}
}
},
"standings": {
"$id": "#/properties/boards/properties/standings",
"type": "object",
"title": "standings",
"description": "Self-explanatory, it shows the current standings. Currently, you can choose between showing standings by conference or by divisions. Wildcard standings are coming soon.",
"default": {},
"examples": [
{
"divisions": "atlantic",
"conference": "eastern",
"standing_type": "division",
"preferred_standings_only": true
}
],
"additionalProperties": true,
"required": [
"preferred_standings_only",
"standing_type",
"divisions",
"conference"
],
"properties": {
"preferred_standings_only": {
"$id": "#/properties/boards/properties/standings/properties/preferred_standings_only",
"type": "boolean",
"title": "preferred_standings_only",
"description": "Choose between showing all the standings or only the the preferred division and conference.",
"default": false,
"examples": [
true
]
},
"standing_type": {
"$id": "#/properties/boards/properties/standings/properties/standing_type",
"type": "string",
"title": "standing_type",
"description": "Option to choose the type of standings to display. conference if set by default.",
"default": "conference",
"examples": [
"division"
],
"enum": [
"conference",
"division",
"wild_card"
]
},
"divisions": {
"$id": "#/properties/boards/properties/standings/properties/divisions",
"type": "string",
"title": "divisions (central, atlantic, metropolitan, pacific)",
"description": "Your preferred division",
"default": "",
"examples": [
"atlantic"
],
"enum": [
"central",
"atlantic",
"metropolitan",
"pacific"
]
},
"conference": {
"$id": "#/properties/boards/properties/standings/properties/conference",
"type": "string",
"title": "conference (eastern or western)",
"description": "Your preferred conference",
"default": "",
"examples": [
"eastern"
],
"enum": [
"eastern",
"western"
]
}
}
},
"clock": {
"$id": "#/properties/boards/properties/clock",
"type": "object",
"title": "clock",
"description": "Show the current time either in 24h or 12h format.",
"default": {},
"examples": [
{
"hide_indicator": false,
"duration": 60,
"preferred_team_colors": true,
"clock_rgb": "234,234,78",
"date_rgb": "78,234,234",
"flash_seconds": true
}
],
"additionalProperties": true,
"required": [
"duration",
"hide_indicator",
"preferred_team_colors",
"clock_rgb",
"date_rgb",
"flash_seconds"
],
"properties": {
"duration": {
"$id": "#/properties/boards/properties/clock/properties/duration",
"type": "integer",
"title": "duration",
"description": "How long to show the clock",
"default": 60,
"examples": [
60
]
},
"hide_indicator": {
"$id": "#/properties/boards/properties/clock/properties/hide_indicator",
"type": "boolean",
"title": "hide_indicator",
"description": "Hide the red bar no network indicator on the bottom",
"default": false,
"examples": [
false
]
},
"preferred_team_colors": {
"$id": "#/properties/boards/properties/clock/properties/preferred_team_colors",
"type": "boolean",
"title": "preferred_team_colors",
"description": "Use your first preferred team's colors for clock. The primary color will be used for clock numbers, while the team text color will be used for the date/weather and AM/PM",
"default": false,
"examples": [
false
]
},
"clock_rgb": {
"$id": "#/properties/boards/properties/clock/properties/clock_rgb",
"type": "string",
"title": "clock_rgb",
"description": "Set the clock numbers to the RGB value if preferred_team_colors set to false. This must be in the form R,G,B",
"default": false,
"examples": [
"230,230,23"
]
},
"date_rgb": {
"$id": "#/properties/boards/properties/clock/properties/date_rgb",
"type": "string",
"title": "date_rgb",
"description": "Set the date/weather and AM/PM text to the RGB value if preferred_team_colors set to false. This must be in the form R,G,B",
"default": false,
"examples": [
"230,230,23"
]
},
"flash_seconds": {
"$id": "#/properties/boards/properties/clock/properties/flash_seconds",
"type": "boolean",
"title": "flash_seconds",
"description": "Flash the seconds (:) if true. If set to false, dont show the (:)",
"default": false,
"examples": [
false
]
}
}
},
"weather": {
"$id": "#/properties/boards/properties/weather",
"type": "object",
"title": "weather",
"description": "Settings for the weather data provider",
"default": {},
"examples": [
{
"enabled": true,
"view": "full",
"data_feed": "EC",
"owm_apikey": "9faxd10xa991x305xaed8x3dfcx4cdxf",
"units": "metric",
"update_freq": 5,
"duration": 30,
"show_on_clock": true,
"forecast_enabled": true,
"forecast_days": 3,
"forecast_update": 1
}
],
"additionalProperties": true,
"required": [
"enabled",
"view",
"units",
"duration",
"data_feed",
"owm_apikey",
"update_freq",
"show_on_clock",
"forecast_enabled",
"forecast_days",
"forecast_update"
],
"properties": {
"enabled": {
"$id": "#/properties/boards/properties/weather/properties/enabled",
"type": "boolean",
"title": "enabled",
"description": "Enable the weather thread to get your local weather.",
"default": false,
"examples": [
true
]
},
"view": {
"$id": "#/properties/boards/properties/weather/properties/view",
"type": "string",
"title": "view",
"description": "Weather board full (3 page) or summary view (1 page)",
"default": "full",
"examples": [
"full"
]
},
"units": {
"$id": "#/properties/boards/properties/weather/properties/units",
"type": "string",
"title": "units ",
"description": "Units to use for displaying the weather(metric or imperial)",
"default": "",
"examples": [
"metric"
]
},
"duration": {
"$id": "#/properties/boards/properties/weather/properties/duration",
"type": "integer",
"title": "duration ",
"description": "The time to flip through the pages in the weather board. If there are no alerts, this will be 3 pages, if there are alerts a 4th is added. Minimum 30 seconds duration",
"default": 30,
"examples": [
30
]
},
"data_feed": {
"$id": "#/properties/boards/properties/weather/properties/data_feed",
"type": "string",
"title": "data_feed",
"description": "Where is the observation data coming from. You can use EC for Environment Canada, OWM for Open Weather Map (requires API KEY from https://openweathermap.org/api)",
"default": "",
"examples": [
"EC"
]
},
"owm_apikey": {
"$id": "#/properties/boards/properties/weather/properties/owm_apikey",
"type": "string",
"title": "owm_apikey",
"description": "API key required for when you use OpenWeatherMAP. https://openweathermap.org/api",
"default": "",
"examples": [
"9ffxd195ax52a315xaed823xfcf4cdxf"
]
},
"update_freq": {
"$id": "#/properties/boards/properties/weather/properties/update_freq",
"type": "integer",
"title": "update_freq ",
"description": "How often in minutes to refresh the weather and alerts feeds.",
"default": 5,
"examples": [
5
]
},
"show_on_clock": {
"$id": "#/properties/boards/properties/weather/properties/show_on_clock",
"type": "boolean",
"title": "show_on_clock",
"description": "Add the last observed temperature and humidity to the bottom of the clock board",
"default": false,
"examples": [
true
]
},
"forecast_enabled": {
"$id": "#/properties/boards/properties/weather/properties/forecast_enabled",
"type": "boolean",
"title": "forecast_enabled",
"description": "Enable the weather forecast thread to get your local weather forecast up to 3 days.",
"default": false,
"examples": [
true
]
},
"forecast_days": {
"$id": "#/properties/boards/properties/weather/properties/forecast_days",
"type": "integer",
"title": "forecast_days",
"description": "Number of forecast days to show (3 is the maximum).",
"default": 3,
"examples": [
3
]
},
"forecast_update": {
"$id": "#/properties/boards/properties/weather/properties/forecast_update",
"type": "integer",
"title": "forecast_update",
"description": "How often to update forecast. This is in hours",
"default": 3,
"examples": [
3
]
}
}
},
"wxalert": {
"$id": "#/properties/boards/properties/wxalert",
"type": "object",
"title": "wxalert",
"description": "Settings for the alerts data provider",
"default": {},
"examples": [
{
"scroll_alert": true,
"alert_feed": "EC",
"nws_show_expire": false,
"alert_duration": 5,
"alert_title": true,
"update_freq": 5,
"show_on_clock": true,
"show_alerts": true
}
],
"additionalProperties": true,
"required": [
"alert_feed",
"update_freq",
"nws_show_expire",
"show_alerts",
"alert_title",
"scroll_alert",
"show_on_clock",
"alert_duration"
],
"properties": {
"alert_feed": {
"$id": "#/properties/boards/properties/wxalert/properties/alert_feed",
"type": "string",
"title": "alert_feed",
"description": "What data feed is provide alert data. EC for Environment Canada or NWS for the National Weather Service in the US",
"default": "",
"examples": [
"EC",
"NWS"
]
},
"update_freq": {
"$id": "#/properties/boards/properties/wxalert/properties/update_freq",
"type": "integer",
"title": "update_freq ",
"description": "How often in minutes to refresh the weather and alerts feeds.",
"default": 5,
"examples": [
5
]
},
"nws_show_expire": {
"$id": "#/properties/boards/properties/wxalert/properties/nws_show_expire",
"type": "boolean",
"title": "nws_show_expire",
"description": "Show expire time (true) instead of effective time (false) of alert",
"default": false,
"examples": [
true
]
},
"show_alerts": {
"$id": "#/properties/boards/properties/wxalert/properties/show_alerts",
"type": "boolean",
"title": "show_alerts",
"description": "Get weather alerts and display them",
"default": false,
"examples": [
true
]
},
"alert_title": {
"$id": "#/properties/boards/properties/wxalert/properties/alert_title",
"type": "boolean",
"title": "alert_title",
"description": "On the initial alert page that will interrupt the normal board rotation, display on the top and bottom board the type of alert (WARNING, WATCH or ADVISORY)",
"default": false,
"examples": [
true
]
},
"scroll_alert": {
"$id": "#/properties/boards/properties/wxalert/properties/scroll_alert",
"type": "boolean",
"title": "Scroll_alert",
"description": "Scroll the text of the alert on the initial alert page. If you select false, a static page will be displayed that is the same as the 4th page on the weather board",
"default": false,
"examples": [
true
]
},
"alert_duration": {
"$id": "#/properties/boards/properties/wxalert/properties/alert_duration",
"type": "integer",
"title": "alert_duration",
"description": "How long to display alert board (in seconds)",
"default": 5,
"examples": [
5
]
},
"show_on_clock": {
"$id": "#/properties/boards/properties/wxalert/properties/show_on_clock",
"type": "boolean",
"title": "show_on_clock",
"description": "Show Fred (active alert color square) on the bottom right corner of the clock board",
"default": false,
"examples": [
true
]
}
}
}
}
},
"sbio": {
"$id": "#/properties/sbio",
"type": "object",
"title": "sbio",
"description": "Scoreboard IO functions",
"default": {},
"examples": [
{
"screensaver": {
"enabled": "true",
"start": "22:00",
"stop": "22:05",
"data_updates": false,
"motionsensor": true,
"pin": 24,
"delay": 30
},
"dimmer": {
"frequency": 5,
"light_level_lux": 10,
"sunset_brightness": 5,
"source": "software",
"sunrise_brightness": 40,
"enabled": true,
"mode": "always",
"daytime": "8:30AM",
"nighttime": "5:30PM",
"offset": 90
},
"pushbutton": {
"state_triggered1": "weather",
"bonnet": true,
"pin": 25,
"display_reboot": true,
"state_triggered1_process": "",
"poweroff_duration": 10,
"poweroff_override_process": "",
"reboot_override_process": "",
"reboot_duration": 2,
"display_halt": true,
"enabled": true
}
}
],
"additionalProperties": true,
"required": [
"screensaver",
"dimmer",
"pushbutton"
],
"properties": {
"screensaver": {
"$id": "#/properties/sbio/properties/screensaver",
"type": "object",
"title": "screensaver",
"description": "Ability to turn off screen and back on at set times",
"default": {},
"examples": [
{
"enabled": true,
"animations": true,
"start": "22:00",