-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathservice.yaml
69 lines (66 loc) · 4.56 KB
/
service.yaml
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
# YAML configuraton file for the Mustang Mach-E CANbus Record/Playback utilities
# This version is used by the Record/Playback utilities runing as a system service
mme:
record:
# You can control the record options here.
#
# dest_path: path where the output files are written
# dest_file: filename for the output file series
# gps_server: optional IP address/port for high-resolution GPS data
# gps_server_timeout: optional timeout for GPS server requests (default is 0.5 seconds)
# trip_minimum: minimum distance in km to travel to record a trip (default: 0.1)
# charge_minimum: seconds to charge to record a charging session (default: 180)
# file_writes: number of records collected before writing an output file, set to 0 to disable file writes (default: 200)
# did_read: specify the number of DID per request (default is 1)
# born_on: timestamp added to DID 0xDD00 to get current GMT time (not used at this time)
# caching: enables or disables caching of data
# request_timeout: max time in seconds to wait for a response of any kind, positive or negative, after sending a request (default: 1.0)
# p2_timeout: max time in seconds to wait for a first response (positive, negative, or NRC 0x78) (default: 1.0)
# p2_star_timeout: max time in seconds to wait for a response (positive, negative, or NRC0x78) after the reception of
# a negative response with code 0x78 (requestCorrectlyReceived-ResponsePending) (default: 1.0)
dest_path: 'record-files'
dest_file: 'greta'
gps_server: http://172.20.10.1:8080
gps_server_timeout: 0.35
trip_minimum: 0.1
charge_minimum: 0
file_writes: 250
did_read: 1
born_on: 1623167753
request_timeout: 1.0
p2_timeout: 1.0
p2_star_timeout: 1.0
caching: False
playback:
# You can control the playback options here:
#
# speedup: speed up playback by compressing dead time (default: true)
# source_path: source path to find the playback files
# source_file: source file name for the playback files
# rx_consecutive_frame_timeout: triggers a timeout if a consecutive frame is not received (default: 1.0)
# rx_flowcontrol_timeout: triggers a timeout if a flow control is not received (default: 1.0)
speedup: false
source_path: 'playback-files'
source_file: 'trip-20220308'
rx_consecutive_frame_timeout: 1.0
rx_flowcontrol_timeout: 1.0
influxdb2:
# InfluxDB configuration options:
# enable set to True to enable InfluxDB output (required)
# bucket set to the InfluxDB bucket (required)
# url set to the InfluxDB server URL and port (required)
# org set to the organization (required)
# token set to a valid token (required)
# block_size set to desired write block size (defaults to 500 records per write)
enable: true
org: !secret influxdb2_org
url: !secret influxdb2_url
token: !secret influxdb2_token
bucket: !secret influxdb2_bucket
block_size: 100
geocodio:
# Geocodio configuration options:
# enable set to True to enable Geocod.io reverse geocoding
# api_key your Geocodio API key
enable: false
api_key: !secret geocodio_apikey