Alejandro Acuña
2024-11-19 72a8eee716de93344f977ab79be7d3bfeb341462
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
[
{
  "Customs" : {
    "Last timestamp update" : "2021-06-02T08:43:59.411Z",
    "Last timestamp information update" : "2021-06-01T16:12:38.508Z",
    "Last timestamp status update" : "2021-06-02T08:43:59.411Z",
    "Last timestamp alarms update" : "2021-06-02T08:33:47.094Z",
    "Last timestamp configuration update" : "2020-11-06T12:08:24.207Z",
    "Device information" : {
      "Customs information" : {
        "Areas" : [
          {
            "Type" : 1,
            "Name" : "Parking MOP Hruszowice",
            "Queue" : [
              {
                "Identifier" : "lpr-rzeszów-2",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              }
            ],
            "Delete minutes queue" : 1440,
            "Parking" : {
              "Parking" : "parking-rzeszów-1",
              "Total car spaces" : 105,
              "Total truck spaces" : 271,
              "Etds" : [
                "etdtcp-rzeszów-2"
              ],
              "Vms" : [
                "vmsg1-rzeszów-1",
                "vmsg1-rzeszów-2",
                "vmsg1-rzeszów-4",
                "vmsg1-rzeszów-5",
                "vmsg1-rzeszów-6",
                "vmsg1-rzeszów-7",
                "vmsg2-rzeszów-1",
                "vmsg4-rzeszów-1"
              ],
              "Public announcement" : [
                "pa-rzeszów-1"
              ],
              "Ticket machine" : "ticketmachine-rzeszów-1"
            },
            "Camera" : "cctv-rzeszów-22"
          },
          {
            "Type" : 1,
            "Name" : "Parking Młyny",
            "Queue" : [
              {
                "Identifier" : "lpr-rzeszów-6",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              }
            ],
            "Delete minutes queue" : 1440,
            "Parking" : {
              "Parking" : "parking-rzeszów-2",
              "Total car spaces" : 43,
              "Total truck spaces" : 84,
              "Etds" : [
                "etdtcp-rzeszów-5"
              ],
              "Vms" : [
                "vmsg1-rzeszów-3",
                "vmsg1-rzeszów-8",
                "vmsg1-rzeszów-9",
                "vmsg1-rzeszów-10",
                "vmsg2-rzeszów-2",
                "vmsg4-rzeszów-2"
              ],
              "Public announcement" : [
                "pa-rzeszów-1"
              ],
              "Ticket machine" : "ticketmachine-rzeszów-2"
            },
            "Camera" : "cctv-rzeszów-23"
          },
          {
            "Type" : 5,
            "Name" : "Allowed area",
            "Queue" : [
              {
                "Identifier" : "lpr-rzeszów-3",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              },
              {
                "Identifier" : "lpr-rzeszów-8",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              },
              {
                "Identifier" : "lpr-rzeszów-13",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : true,
                "No priority lanes" : [ ]
              }
            ],
            "Delete minutes queue" : 720
          },
          {
            "Type" : 2,
            "Name" : "Transit area",
            "Queue" : [
              {
                "Identifier" : "lpr-rzeszów-12",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              }
            ],
            "Delete minutes queue" : 120,
            "Transit" : {
              "Input barrier" : "barrier-rzeszów-1",
              "Vms" : [
                "vmsg3-rzeszów-1"
              ],
              "Vms transit correct messages" : [
                {
                  "Folder" : "Algorythm",
                  "Name" : "Allowed",
                  "Type" : "128 x 112"
                }
              ],
              "Vms transit error messages" : [
                {
                  "Folder" : "Algorythm",
                  "Name" : "Not allowed",
                  "Type" : "128 x 112"
                }
              ],
              "Vms transit empty messages" : [
                {
                  "Folder" : "Test",
                  "Name" : "Pusty",
                  "Type" : "128 x 112"
                }
              ]
            }
          },
          {
            "Type" : 3,
            "Name" : "Border input area",
            "Queue" : [
              {
                "Identifier" : "lpr-rzeszów-14",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              },
              {
                "Identifier" : "lpr-rzeszów-11",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [ ],
                "Delete queues" : false,
                "No priority lanes" : [ ]
              }
            ],
            "Delete minutes queue" : 360,
            "Border input" : {
              "Maximum length priority queue" : 1900.0,
              "Minimum priority queue free space" : 25.0,
              "Maximum length no priority queue" : 500.0,
              "Minimum no priority queue free space" : 25.0,
              "Input barrier" : "barrier-rzeszów-2",
              "Border queue length calculation method" : 1,
              "Lower limit length priority queue" : 0.0,
              "Upper limit length priority queue" : 800.0,
              "Lower limit length no priority queue" : 0.0,
              "Upper limit length no priority queue" : 300.0
            }
          },
          {
            "Type" : 4,
            "Name" : "Border output area",
            "Queue" : [
              {
                "Identifier" : "lpr-rzeszów-4",
                "Polling" : 1,
                "Maximum vehicles realtime list" : 2000,
                "Priority lanes" : [
                  5
                ],
                "Delete queues" : false,
                "No priority lanes" : [
                  4
                ]
              }
            ],
            "Delete minutes queue" : 720
          }
        ],
        "Delete minutes distracted queue" : 90,
        "Delete minutes ticket machine registers queue" : 4320,
        "Default car length" : 5.0,
        "Default truck length" : 18.0,
        "Maximum ticket relative number" : 9999,
        "Delete minutes ticket queue" : 720,
        "Maximum leaving vehicles showed in one vms message" : 5,
        "Vms plate and time messages" : [
          {
            "Folder" : "Algorythm",
            "Name" : "Plate-Time Font Parking 160.2",
            "Type" : "124 x 108"
          }
        ],
        "Vms plate messages" : [
          {
            "Folder" : "Algorythm",
            "Name" : "Plate High font",
            "Type" : "192 x 48"
          }
        ],
        "Polling" : 1,
        "Time to leave" : {
          "Borders" : [
            {
              "Input lprs" : [
                "lpr-rzeszów-2",
                "lpr-rzeszów-6"
              ],
              "Output lprs" : [
                "lpr-rzeszów-4"
              ]
            }
          ],
          "Parkings" : [
            {
              "Input lprs" : [
                "lpr-rzeszów-2"
              ],
              "Output lprs" : [
                "lpr-rzeszów-3"
              ]
            },
            {
              "Input lprs" : [
                "lpr-rzeszów-6"
              ],
              "Output lprs" : [
                "lpr-rzeszów-7",
                "lpr-rzeszów-8"
              ]
            }
          ],
          "Hours for calculation with priority" : 12,
          "Hours for calculation without priority" : 12,
          "Maximum matching parking priority time accepted" : 1600,
          "Maximum matching parking without priority time accepted" : 2400,
          "Maximum matching border priority time accepted" : 1600,
          "Maximum matching border without priority time accepted" : 2400,
          "Maximum showed border priority time accepted" : 1600,
          "Maximum showed border without priority time accepted" : 2400,
          "Maximum showed parking priority time accepted" : 1600,
          "Maximum showed parking without priority time accepted" : 2400,
          "Alarm exit border priority limit" : 720.0,
          "Alarm exit border without priority limit" : 2400.0,
          "Alarm exit parking priority limit" : 720.0,
          "Alarm exit parking without priority limit" : 2400.0,
          "Vms border" : [
            "vmsa-rzeszów-1"
          ],
          "Vms parking" : [ ],
          "Vms border messages" : [
            {
              "Folder" : "Informacja drogowa",
              "Name" : "Informacja drogowa 2",
              "Type" : "400 x 96"
            },
            {
              "Folder" : "TTL",
              "Name" : "TTL minutes",
              "Type" : "400 x 96"
            }
          ],
          "Vms parking messages" : [ ],
          "Polling" : 60
        },
        "Alarms" : [ ],
        "City order" : 0,
        "Creation date" : "2020-11-06T12:08:24.206Z",
        "Description" : "",
        "Group" : "Rzeszów",
        "Identifier" : "customs-rzeszów-1",
        "Kilometric point order" : 0,
        "Kp direction" : 0,
        "Kp number" : 0,
        "Latitude" : 49.9473,
        "Latitude offset" : 0.0,
        "Location" : "Rzeszów",
        "Longitude" : 23.0241,
        "Longitude offset" : 0.0,
        "Minutes delete plates vms" : 15,
        "Municipality" : "Rzeszów",
        "Name" : "Parking MOP Hruszowice",
        "Number" : 1,
        "Region order" : 0,
        "Road number" : 0,
        "Road order" : 0,
        "Server address" : "172.16.2.12",
        "Server address external" : "aluvisa-rzeszow.dyndns.org",
        "Server port" : 5021,
        "Server port external" : 5021,
        "Server service name" : "customs",
        "Symbol" : "Customs",
        "Time between green plates" : 120
      }
    },
    "Device configuration" : {
      "Customs configuration" : {
        "VMS parking vehicle number plate messages" : [ ],
        "VMS parking vehicles time messages" : [ ],
        "VMS transit correct messages" : [ ],
        "VMS transit error messages" : [ ]
      }
    },
    "Device status" : {
      "Customs status" : {
        "Enabled" : true,
        "Areas" : [
          {
            "Area" : "Parking MOP Hruszowice",
            "Queue" : [
              {
                "Lpr" : "lpr-rzeszów-2",
                "Last detection" : 286857
              }
            ],
            "Parking" : {
              "Parking" : "parking-rzeszów-1",
              "Car spaces" : 0,
              "Truck spaces" : 0,
              "Occupied car spaces" : 0,
              "Occupied truck spaces" : 0
            }
          },
          {
            "Area" : "Parking Młyny",
            "Queue" : [
              {
                "Lpr" : "lpr-rzeszów-6",
                "Last detection" : 267824
              }
            ],
            "Parking" : {
              "Parking" : "parking-rzeszów-2",
              "Car spaces" : 0,
              "Truck spaces" : 0,
              "Occupied car spaces" : 0,
              "Occupied truck spaces" : 0
            }
          },
          {
            "Area" : "Allowed area",
            "Queue" : [
              {
                "Lpr" : "lpr-rzeszów-3",
                "Last detection" : 123843
              },
              {
                "Lpr" : "lpr-rzeszów-7",
                "Last detection" : 302811
              },
              {
                "Lpr" : "lpr-rzeszów-8",
                "Last detection" : 1425202
              },
              {
                "Lpr" : "lpr-rzeszów-13",
                "Last detection" : 99822
              }
            ]
          },
          {
            "Area" : "Transit area",
            "Queue" : [
              {
                "Lpr" : "lpr-rzeszów-12",
                "Last detection" : 497291
              }
            ]
          },
          {
            "Area" : "Border input area",
            "Queue" : [
              {
                "Lpr" : "lpr-rzeszów-14",
                "Last detection" : 602720
              },
              {
                "Lpr" : "lpr-rzeszów-11",
                "Last detection" : 350355
              }
            ],
            "Border input" : {
              "Priority queue length" : 76.71,
              "No priority queue length" : 587.77
            }
          },
          {
            "Area" : "Border output area",
            "Queue" : [
              {
                "Lpr" : "lpr-rzeszów-4",
                "Last detection" : 455187
              }
            ]
          }
        ],
        "Time to leave" : {
          "Time to leave border priority" : 29.4,
          "Time to leave border without priority" : 889.97,
          "Time to leave parking priority" : 2.5,
          "Time to leave parking without priority" : 734.31,
          "Enabled border vms showing" : true,
          "Enabled parking vms showing" : true,
          "Forced time to leave border priority" : 0.0,
          "Forced time to leave border without priority" : 0.0,
          "Forced time to leave parking priority" : 0.0,
          "Forced time to leave parking without priority" : 0.0
        },
        "Time to leave period" : {
          "Measurements timestamp" : "2021-06-02T08:43:00.000Z",
          "Period" : 60,
          "Values" : [
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 1,
              "Value" : 95507.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 2,
              "Value" : 96515.3631840796
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 3,
              "Value" : 44059.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 4,
              "Value" : 44714.7572815534
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 5,
              "Value" : 0.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 6,
              "Value" : 0.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 7,
              "Value" : 734.31
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 8,
              "Value" : 95507.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 9,
              "Value" : 96515.3631840796
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 10,
              "Value" : 44059.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 11,
              "Value" : 44714.7572815534
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 12,
              "Value" : 0.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 13,
              "Value" : 0.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 14,
              "Value" : 2.5
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 15,
              "Value" : 78629.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 16,
              "Value" : 90697.342291372
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 17,
              "Value" : 62949.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 18,
              "Value" : 64495.78453038674
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 19,
              "Value" : 55491.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 20,
              "Value" : 57019.875
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 21,
              "Value" : 889.97
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 22,
              "Value" : 78629.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 23,
              "Value" : 90697.342291372
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 24,
              "Value" : 62949.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 25,
              "Value" : 64495.78453038674
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 26,
              "Value" : 55491.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 27,
              "Value" : 57019.875
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 28,
              "Value" : 29.4
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 29,
              "Value" : 240.0
            },
            {
              "Correct measurements" : 1,
              "Status" : 1,
              "Total measurements" : 1,
              "Type" : 30,
              "Value" : 600.0
            }
          ]
        },
        "Check plates in ticket generation" : false,
        "Status" : 3
      }
    },
    "Device alarms" : {
      "Customs alarms" : {
        "Alarm border priority queue" : 0,
        "Alarm border no priority queue" : 1622622595786,
        "Alarm algorithm disabled" : 0,
        "Alarm border time to leave" : 0,
        "Alarm parking time to leave" : 0,
        "Alarm disabled" : 0,
        "Alarm invalid" : 0,
        "Alarm not priority vehicle in priority lane" : 1622620588230,
        "Alarm offline" : 0,
        "Alarm simulated" : 0,
        "Alarms configuration" : [ ],
        "Alarms implemented" : [
          {
            "Name" : "alarm_offline",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_invalid",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_disabled",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_simulated",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_border_priority_queue",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_border_no_priority_queue",
            "Severity" : 0,
            "Timestamp" : 1622622595786
          },
          {
            "Name" : "alarm_algorithm_disabled",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_border_ttl",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_parking_ttl",
            "Severity" : 0,
            "Timestamp" : 0
          },
          {
            "Name" : "alarm_not_priority_vehicle",
            "Severity" : 0,
            "Timestamp" : 1622620588230
          }
        ],
        "Message not priority vehicle in priority lane" : "BC3365HI RZ1454G BC0305EX FBC040 RKL16169 IBJ84789 RZ93436 BC3189IC AB3602CP RRS24862 RRS06349 CNP262 KLEAQ222 LZA68403 BC8362KP BC6638BA XYY722 KR9W869 BO7918BM RLU37F5 RRS24799 RKL22949 RPZ08295 WPL57427 RJA8530A RJA853 RJA60315 HWAC188 RZ9897Y HWAC159 AC9403CA RKL22949 BC3151HA BC8919CI HWAC188 RJA96645 BC456U BC4560IC B45226P BC1987HC BC1624KX HWAC188 HWAC159 AB9652CH BC1104IA BC8547KT RKL22949 BC7162EH DTR84OO RLU42MA WY7997J AP5356EX AP5356E RZ941AG RJA87617 ",
        "Severity" : 4
      }
    }
  }
}]