From 58478d84fd2a8848f8b2dd09fc6295aa13bad505 Mon Sep 17 00:00:00 2001 From: Jeremiah K Date: Sat, 29 Apr 2023 16:41:21 -0500 Subject: [PATCH 1/2] Update sample_config.yaml --- sample_config.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sample_config.yaml b/sample_config.yaml index 6c76dd5..fb9f42c 100644 --- a/sample_config.yaml +++ b/sample_config.yaml @@ -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]' \ No newline at end of file + level: "info" + +plugins: # Optional plugins + health: + active: true + map: + active: true \ No newline at end of file From 61162478911210daf8b0e192329445d24e3a2880 Mon Sep 17 00:00:00 2001 From: Jeremiah K Date: Sat, 29 Apr 2023 16:41:33 -0500 Subject: [PATCH 2/2] Update sample_config.yaml --- DEVELOPMENT.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index d54eb2e..75c003b 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -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