meshtastic-matrix-relay/sample_config.yaml

29 wiersze
954 B
YAML

2023-04-17 23:50:28 +00:00
matrix:
2023-04-18 01:24:51 +00:00
homeserver: "https://example.matrix.org"
2023-04-29 21:41:21 +00:00
access_token: "reaalllllyloooooongsecretttttcodeeeeeeforrrrbot" # See: https://t2bot.io/docs/access_tokens/
2023-04-18 01:24:51 +00:00
bot_user_id: "@botuser:example.matrix.org"
2023-04-20 18:27:04 +00:00
2023-05-19 15:02:48 +00:00
matrix_rooms: # Needs at least 1 room & channel, but supports all Meshtastic channels
2023-05-07 23:40:30 +00:00
- id: "#someroomalias:example.matrix.org" # Matrix room aliases & IDs supported
2023-04-20 18:27:04 +00:00
meshtastic_channel: 0
2023-05-07 23:40:30 +00:00
- id: "!someroomid:example.matrix.org"
2023-04-20 18:27:04 +00:00
meshtastic_channel: 2
2023-04-17 23:50:28 +00:00
meshtastic:
2023-05-19 15:02:48 +00:00
connection_type: serial # Choose either "network" or "serial"
serial_port: /dev/ttyUSB0 # Only used when connection is "serial"
2023-04-18 01:24:51 +00:00
host: "meshtastic.local" # Only used when connection is "network"
2023-04-18 19:06:00 +00:00
meshnet_name: "Your Meshnet Name" # This is displayed in full on Matrix, but is truncated when sent to a Meshnet
2023-04-20 18:27:04 +00:00
broadcast_enabled: true
2023-04-17 23:50:28 +00:00
logging:
2023-04-29 21:41:21 +00:00
level: "info"
2023-05-19 15:02:48 +00:00
plugins: # Optional plugins
2023-04-29 21:41:21 +00:00
health:
active: true
map:
2023-05-19 15:02:48 +00:00
active: true
nodes:
active: true