-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.example.yml
89 lines (75 loc) · 2.25 KB
/
config.example.yml
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
mqtt:
connection:
# Configure connection to your MQTT server
host: 192.168.0.123
port: 1883
# Will become valetudopng_consumer and valetudopng_producer
client_id_prefix: valetudopng
# Leave empty or delete these fields if authorization is not used
username:
password:
# Leave empty or delete these fields if TLS is not used
tls_enabled: false
tls_min_version: # Available values are 1.0, 1.1, 1.2 and 1.3. Defaults to Go's default (1.2) if not set.
tls_ca_path:
tls_insecure: false
topics:
# Should match "Topic prefix" in Valetudo MQTT settings
valetudo_prefix: valetudo
# Should match "Identifier" in Valetudo MQTT settings
valetudo_identifier: rockrobo
# Home assistant autoconf topic prefix
# Do not change unless you know what you are doing
ha_autoconf_prefix: homeassistant
# Leave this set to false...
# No idea about the use of this, but it sends image to MQTT
# encoded in base64.
image_as_base64: false
# Access image via HTTP: /api/map/image
# Also needed to access /api/map/image/debug
http:
enabled: true
bind: 0.0.0.0:3000
map:
# Do not render map more than once within below specified interval
min_refresh_int: 5000ms
# Specify compression level for Golang's PNG library:
# 0 - Best speed
# 1 - Best compression
# 2 - Default compression
# 3 - No compression
png_compression: 0
# 4 is default
scale: 4
# Rotate clockwise this amount of times.
# 0 - no rotation
# 1 - 90 clockwise
# 2 - 180 clockwise
# 3 - 270 clockwise
rotate: 0
# Set map size within robot's coordinates system, or leave
# empty to make map fully dynamic. This is useful if vacuum
# has seen outside through your entrance door, or just seen a
# mirror and draws non-existent areas. Crop it once and for
# good this way.
#
# For below coordinates in robot's coordinate system, visit
# http://<ip>:<port>/api/map/image/debug
#
custom_limits:
start_x:
start_y:
end_x:
end_y:
# You can customize map colors with these
colors:
floor: "#0076ff"
obstacle: "#5d5d5d"
path: "#ffffff"
no_go_area: "#ff00004a"
virtual_wall: "#ff0000bf"
segments:
- "#19a1a1"
- "#7ac037"
- "#ff9b57"
- "#f7c841"