-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGEOLOC_OBJECTS.example.json
More file actions
106 lines (106 loc) · 2.4 KB
/
Copy pathGEOLOC_OBJECTS.example.json
File metadata and controls
106 lines (106 loc) · 2.4 KB
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
[
{
"mapName": "company_fleet",
"default_latitude": 48.8575,
"default_longitude": 2.3514,
"default_zoom_level": 12,
"refresh_interval": 10000,
"time_ranges": [
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"start": "08:00",
"end": "18:00"
},
{
"days": [
"Saturday"
],
"start": "09:00",
"end": "12:00"
}
],
"objects": [
{
"name": "Vehicle 1 - Production API",
"url": "https://your-gps-api.example.com/location",
"query_params": {
"vehicle_id": "fleet_001",
"api_key": "your-secure-api-key",
"format": "json"
},
"latitude_json_path": "coordinates.lat",
"longitude_json_path": "coordinates.lng"
},
{
"name": "Vehicle 2 - Jeedom Integration",
"url": "https://jeedom.example.com/core/api/jeeApi.php",
"query_params": {
"apikey": "jeedom-api-key",
"method": "get",
"plugin": "jMQTT",
"type": "cmd",
"id": "[779,780]"
},
"latitude_json_path": "779",
"longitude_json_path": "780"
}
]
},
{
"mapName": "demo_sandbox",
"default_latitude": 45.764043,
"default_longitude": 4.835659,
"default_zoom_level": 10,
"refresh_interval": 5000,
"objects": [
{
"name": "Demo Vehicle (Sandbox)",
"enable_sandbox": true
},
{
"name": "Another Demo Object",
"enable_sandbox": true
}
]
},
{
"mapName": "my_personal_car",
"default_latitude": 48.8575,
"default_longitude": 2.3514,
"default_zoom_level": 15,
"refresh_interval": 30000,
"time_ranges": [
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"start": "06:00",
"end": "23:59"
}
],
"objects": [
{
"name": "My Car",
"url": "https://car-tracker-api.example.com/v1/position",
"query_params": {
"device_id": "car_tracker_123",
"token": "bearer-token-here"
},
"latitude_json_path": "location.latitude",
"longitude_json_path": "location.longitude"
}
]
}
]