meshtastic-matrix-relay/sample_config.yaml

30 wiersze
1.1 KiB
YAML
Czysty Zwykły widok Historia

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:
2024-07-01 18:19:20 +00:00
connection_type: serial # Choose either "network", "serial", or "ble"
2023-05-19 15:02:48 +00:00
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"
2024-07-01 19:18:42 +00:00
ble_address: "AA:BB:CC:DD:EE:FF" # Only used when connection is "ble" - Uses either an address or name from a `meshtastic --ble-scan`
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
2024-07-01 18:19:20 +00:00
broadcast_enabled: true # Must be set to true to enable Matrix to Meshtastic messages
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