Files
r0b3BOT/bot_config.conf.example
2026-02-21 17:18:27 -05:00

57 lines
3.2 KiB
Plaintext

[bot-config]
#
# Replace the placeholders with your information. Do not use quotes.
#
# discord_auth_token - this is the bot token generated via the Discord development console.
# bot_command_prefix - The prefix used identify commands for this bot
# hass_url - URL to your home assistant instance. This is used to turn on the light by your 3d printer
# hass_token - Long Lived Access Token used to authenticate with the REST API for your Home assistant instance
# hass_light - Entity name of the light you want to control
# octoprint_ip_address - IP Address of you OctoPrint (or OctoPi) host. Used to get 3D printer stats.
# bambu_ip_address - IP Address of your Bambu Lab printer on the local network
# bambu_access_code - Access code displayed on the printer's screen (Settings > WLAN)
# bambu_serial_number - Serial number of your Bambu Lab printer
# bambu_camera_enable - Set to true to capture a camera snapshot with $bambustat via ffmpeg RTSPS stream.
# Requires ffmpeg to be installed on the bot host.
# statping_url - Server hostname of the StatPing instance we will be querying w/ the REST API
# statping_api_key - API Key for Statping to query for service status
#
discord_auth_token = <Discord Auth Token>
bot_command_prefix = <!/$/#/etc>
hass_url = <URL to HomeAssistant>
hass_token = <HomeAssistant Long Lived Access Token>
hass_light = <Entity_ID of the light @ your printer>
octoprint_ip_address = <OctoPrint IP Address>
bambu_ip_address = <Bambu Lab Printer IP Address>
bambu_access_code = <Bambu Lab Access Code>
bambu_serial_number = <Bambu Lab Serial Number>
bambu_camera_enable = false
statping_enable = <trues/false>
statping_url = <Statping URL>
statping_api_key = <Statping API Key>
mmr_checker_enable = <true/false>
mmr_checker_interval = <number of seconds between checks>
mmr_api_url = <MMR API URL>
[matrix-config]
#
# Optional Matrix bot support. All four keys must be present to enable the Matrix bot.
# The bot will join the specified rooms and respond to the same command prefix as Discord.
# Voice/sound commands are Discord-only and will return a friendly message on Matrix.
#
# matrix_homeserver - Full URL of your Matrix homeserver (e.g. https://matrix.example.org)
# matrix_user_id - Full Matrix user ID for the bot account (e.g. @r0b3bot:example.org)
# matrix_password - Password for the bot account. The bot logs in via matrix-nio on first
# start and saves the access token + device ID to matrix_store_path so
# the same Matrix device is reused across restarts (required for E2E).
# matrix_room_ids - Comma-separated list of Matrix room IDs the bot should listen in.
# Use room IDs (!abc123:example.org), not aliases — IDs are stable.
# matrix_store_path - Directory for the E2E crypto store (Olm sessions, device keys).
# Default: ./matrix_store/
#
matrix_homeserver = https://matrix.example.org
matrix_user_id = @r0b3bot:example.org
matrix_password = <Matrix account password>
matrix_room_ids = !abc123:example.org,!def456:example.org
matrix_store_path = ./matrix_store/