mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-07 05:44:28 +02:00
239dbb8be0
typo
281 lines
7.9 KiB
Plaintext
281 lines
7.9 KiB
Plaintext
#config.ini
|
|
# type can be serial, tcp, or ble
|
|
# port is the serial port to use, commented out will try to auto-detect
|
|
# hostname is the IP address of the device to connect to for tcp type
|
|
# mac is the MAC address of the device to connect to for ble type
|
|
|
|
[interface]
|
|
type = serial
|
|
port = /dev/ttyACM0
|
|
# port = /dev/ttyUSB0
|
|
# hostname = meshtastic.local
|
|
# mac = 00:11:22:33:44:55
|
|
|
|
# Additional interface for multi radio support
|
|
[interface2]
|
|
enabled = False
|
|
type = serial
|
|
port = /dev/ttyUSB0
|
|
# port = /dev/ttyACM1
|
|
# port = COM1
|
|
# hostname = localhost
|
|
# mac = 00:11:22:33:44:55
|
|
|
|
# example, the third interface would be [interface3] up to 9
|
|
|
|
[general]
|
|
# if False will respond on all channels but the default channel
|
|
respond_by_dm_only = True
|
|
# Allows auto-ping feature in a channel, False forces to 1 ping only
|
|
autoPingInChannel = False
|
|
# defaultChannel is the meshtastic default public channel, e.g. LongFast (if none use -1)
|
|
defaultChannel = 0
|
|
# ignoreDefaultChannel, the bot will ignore the default channel set above
|
|
ignoreDefaultChannel = False
|
|
# ignoreChannels is a comma separated list of channels to ignore, e.g. 4,5
|
|
ignoreChannels =
|
|
# require ! to be the first character in a command
|
|
cmdBang = False
|
|
|
|
# motd is reset to this value on boot
|
|
motd = Thanks for using MeshBOT! Have a good day!
|
|
welcome_message = MeshBot, here for you like a friend who is not. Try sending: ping @foo or, cmd
|
|
|
|
# whoami
|
|
whoami = True
|
|
|
|
# enable or disable the Joke module
|
|
DadJokes = True
|
|
DadJokesEmoji = False
|
|
|
|
# enable or disable the Solar module
|
|
spaceWeather = True
|
|
|
|
# enable or disable the wikipedia search module
|
|
wikipedia = True
|
|
|
|
# Enable ollama LLM see more at https://ollama.com
|
|
ollama = False
|
|
# Ollama model to use (defaults to gemma2:2b)
|
|
# ollamaModel = llama3.1
|
|
# server instance to use (defaults to local machine install)
|
|
ollamaHostName = http://localhost:11434
|
|
|
|
# StoreForward Enabled and Limits
|
|
StoreForward = True
|
|
StoreLimit = 3
|
|
|
|
# history command
|
|
enableCmdHistory = True
|
|
# command history ignore list ex: 2813308004,4258675309
|
|
lheardCmdIgnoreNodes =
|
|
|
|
# 24 hour clock
|
|
zuluTime = False
|
|
# wait time for URL requests
|
|
urlTimeout = 10
|
|
|
|
# logging to file of the non Bot messages
|
|
LogMessagesToFile = False
|
|
# Logging of system messages to file
|
|
SyslogToFile = True
|
|
# logging level for the bot (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
|
sysloglevel = DEBUG
|
|
# Number of log files to keep in days, 0 to keep all
|
|
log_backup_count = 32
|
|
|
|
[emergencyHandler]
|
|
# enable or disable the emergency response handler
|
|
enabled = False
|
|
# channel to send a message to when the emergency handler is triggered
|
|
alert_channel = 2
|
|
alert_interface = 1
|
|
|
|
[sentry]
|
|
# detect anyone close to the bot
|
|
SentryEnabled = True
|
|
emailSentryAlerts = False
|
|
# radius in meters to detect someone close to the bot
|
|
SentryRadius = 100
|
|
# channel to send a message to when the watchdog is triggered
|
|
SentryChannel = 2
|
|
# holdoff time multiplied by seconds(20) of the watchdog
|
|
SentryHoldoff = 9
|
|
# list of ignored nodes numbers ex: 2813308004,4258675309
|
|
sentryIgnoreList =
|
|
|
|
[bbs]
|
|
enabled = True
|
|
# list of banned nodes numbers ex: 2813308004,4258675309
|
|
bbs_ban_list =
|
|
# list of admin nodes numbers ex: 2813308004,4258675309
|
|
bbs_admin_list =
|
|
# enable bbs synchronization with other nodes
|
|
bbslink_enabled = False
|
|
# list of whitelisted nodes numbers ex: 2813308004,4258675309 empty list allows all
|
|
bbslink_whitelist =
|
|
|
|
# location module
|
|
[location]
|
|
enabled = True
|
|
lat = 48.50
|
|
lon = -123.0
|
|
|
|
# Default to metric units rather than imperial
|
|
useMetric = False
|
|
|
|
# repeaterList lookup location (rbook / artsci)
|
|
repeaterLookup = rbook
|
|
|
|
# NOAA weather forecast days
|
|
NOAAforecastDuration = 3
|
|
# number of weather alerts to display
|
|
NOAAalertCount = 2
|
|
|
|
# use Open-Meteo API for weather data not NOAA useful for non US locations
|
|
UseMeteoWxAPI = False
|
|
|
|
# NOAA Hydrology unique identifiers, LID or USGS ID
|
|
riverListDefault =
|
|
|
|
# NOAA EAS Alert Broadcast
|
|
wxAlertBroadcastEnabled = False
|
|
# EAS Alert Broadcast Channels
|
|
wxAlertBroadcastCh = 2
|
|
# Add extra location to the weather alert
|
|
enableExtraLocationWx = False
|
|
|
|
# Goverment Alert Broadcast defaults to FEMA IPAWS
|
|
eAlertBroadcastEnabled = False
|
|
# Goverment Alert Broadcast Channels
|
|
eAlertBroadcastCh = 2
|
|
|
|
# FEMA Alert Broadcast Settings
|
|
# Enable Ignore any headline that includes followig word list
|
|
ignoreFEMAenable = True
|
|
ignoreFEMAwords = test,exercise
|
|
# comma separated list of codes (e.g., SAME,FIPS,ZIP) trigger local alert.
|
|
# find your SAME https://www.weather.gov/nwr/counties
|
|
mySAME = 053029,053073
|
|
|
|
# USGS Volcano alerts Enable USGS Volcano Alert Broadcast
|
|
volcanoAlertBroadcastEnabled = False
|
|
volcanoAlertBroadcastCh = 2
|
|
|
|
# Use DE Alert Broadcast Data
|
|
enableDEalerts = False
|
|
# comma separated list of regional codes trigger local alert.
|
|
# find your regional codet at https://www.xrepository.de/api/xrepository/urn:de:bund:destatis:bevoelkerungsstatistik:schluessel:rs_2021-07-31/download/Regionalschl_ssel_2021-07-31.json
|
|
myRegionalKeysDE = 110000000000,120510000000
|
|
|
|
# Satalite Pass Prediction
|
|
# Register for free API https://www.n2yo.com/login/
|
|
n2yoAPIKey =
|
|
# NORAD list https://www.n2yo.com/satellites/
|
|
satList = 25544,7530
|
|
|
|
# CheckList Checkin/Checkout
|
|
[checklist]
|
|
enabled = False
|
|
checklist_db = data/checklist.db
|
|
reverse_in_out = False
|
|
|
|
[qrz]
|
|
# QRZ Hello to new nodes with message
|
|
enabled = False
|
|
qrz_db = data/qrz.db
|
|
qrz_hello_string = "send CMD or DM me for more info."
|
|
# Training mode will not send the hello message to new nodes
|
|
training = True
|
|
|
|
# repeater module
|
|
[repeater]
|
|
enabled = False
|
|
# list of repeater channels ex: 2,3 which will be consumed
|
|
# and rebroadcasted on the same channel on the other device/node/interface
|
|
# with great power comes great responsibility, danger could be lurking in use of this feature
|
|
# if you have the two nodes on the same radio configurations, you could create a feedback loop
|
|
repeater_channels =
|
|
|
|
[scheduler]
|
|
# enable or disable the scheduler module
|
|
enabled = False
|
|
|
|
[radioMon]
|
|
# using Hamlib rig control will monitor and alert on channel use
|
|
enabled = False
|
|
rigControlServerAddress = localhost:4532
|
|
# broadcast to all nodes on the channel can also be = 2,3
|
|
sigWatchBroadcastCh = 2
|
|
# minimum SNR as reported by radio via hamlib
|
|
signalDetectionThreshold = -10
|
|
# hold time for high SNR
|
|
signalHoldTime = 10
|
|
# the following are combined to reset the monitor
|
|
signalCooldown = 5
|
|
signalCycleLimit = 5
|
|
|
|
[fileMon]
|
|
filemon_enabled = False
|
|
file_path = alert.txt
|
|
broadcastCh = 2
|
|
enable_read_news = False
|
|
news_file_path = news.txt
|
|
# only return a single random line from the news file
|
|
news_random_line = False
|
|
# enable the use of exernal shell commands
|
|
enable_runShellCmd = False
|
|
|
|
[smtp]
|
|
# enable or disable the SMTP module
|
|
enableSMTP = False
|
|
# enable or disable the IMAP module for inbound email
|
|
enableImap = False
|
|
# list of Sysop Emails seperate with commas
|
|
sysopEmails =
|
|
SMTP_SERVER = smtp.gmail.com
|
|
# 587 SMTP over TLS/STARTTLS, 25 legacy SMTP, 465 SMTP over SSL
|
|
SMTP_PORT = 587
|
|
# Sender email: be mindful of public access, don't use your personal email
|
|
FROM_EMAIL = none@gmail.com
|
|
SMTP_AUTH = True
|
|
SMTP_USERNAME = none@gmail.com
|
|
SMTP_PASSWORD = none
|
|
EMAIL_SUBJECT = Meshtastic✉️
|
|
|
|
# IMAP not implimented yet
|
|
IMAP_SERVER = imap.gmail.com
|
|
# 993 IMAP over TLS/SSL, 143 legacy IMAP
|
|
IMAP_PORT = 993
|
|
# IMAP login usually same as SMTP
|
|
IMAP_USERNAME = none@gmail.com
|
|
IMAP_PASSWORD = none
|
|
IMAP_FOLDER = inbox
|
|
|
|
[games]
|
|
# if hop limit for the user exceeds this value, the message will be dropped
|
|
game_hop_limit = 5
|
|
# enable or disable the games module(s)
|
|
dopeWars = True
|
|
lemonade = True
|
|
blackjack = True
|
|
videopoker = True
|
|
mastermind = True
|
|
golfsim = True
|
|
hangman = True
|
|
hamtest = True
|
|
|
|
[messagingSettings]
|
|
# delay in seconds for response to avoid message collision
|
|
responseDelay = 1.2
|
|
# delay in seconds for splits in messages to avoid message collision
|
|
splitDelay = 0.0
|
|
# message chunk size for sending at high success rate, chunkr allows exceeding by 3 characters
|
|
MESSAGE_CHUNK_SIZE = 160
|
|
# Request Acknowledgement of message OTA
|
|
wantAck = False
|
|
# Max limit buffer for radio testing. 233 is hard limit 2.5+ firmware
|
|
maxBuffer = 200
|
|
|
|
|