Merge pull request #25 from jeremiah-k/main

Update sample configuration
pull/1/head
Jeremiah K 2023-04-29 16:42:41 -05:00 zatwierdzone przez GitHub
commit 619c395d7e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 16 dodań i 6 usunięć

Wyświetl plik

@ -33,7 +33,7 @@ Create a `config.yaml` in the project directory with the appropriate values. A s
```yaml
matrix:
homeserver: "https://example.matrix.org"
access_token: "reaalllllyloooooongsecretttttcodeeeeeeforrrrbot"
access_token: "reaalllllyloooooongsecretttttcodeeeeeeforrrrbot" # See: https://t2bot.io/docs/access_tokens/
bot_user_id: "@botuser:example.matrix.org"
matrix_rooms: # Needs at least 1 room & channel, but supports all Meshtastic channels
@ -46,11 +46,17 @@ meshtastic:
connection_type: serial # Choose either "network" or "serial"
serial_port: /dev/ttyUSB0 # Only used when connection is "serial"
host: "meshtastic.local" # Only used when connection is "network"
meshnet_name: "VeryCoolMeshnet" # This is displayed in full on Matrix, but is truncated when sent to a Meshnet
meshnet_name: "Your Meshnet Name" # This is displayed in full on Matrix, but is truncated when sent to a Meshnet
broadcast_enabled: true
logging:
level: "info"
plugins: # Optional plugins
health:
active: true
map:
active: true
```
## Usage

Wyświetl plik

@ -1,6 +1,6 @@
matrix:
homeserver: "https://example.matrix.org"
access_token: "reaalllllyloooooongsecretttttcodeeeeeeforrrrbot"
access_token: "reaalllllyloooooongsecretttttcodeeeeeeforrrrbot" # See: https://t2bot.io/docs/access_tokens/
bot_user_id: "@botuser:example.matrix.org"
matrix_rooms: # Needs at least 1 room & channel, but supports all Meshtastic channels
@ -17,6 +17,10 @@ meshtastic:
broadcast_enabled: true
logging:
level: "debug"
show_timestamps: true
timestamp_format: '[%H:%M:%S]'
level: "info"
plugins: # Optional plugins
health:
active: true
map:
active: true