Skip to content

Commit 8bd8608

Browse files
authored
Update settings and comments
1 parent 73a8ac0 commit 8bd8608

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mqttdblg/config.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ SUB_TOPIC = +
1616
# QOS to use for subscription. 0, 1 or 2.
1717
QOS = 1
1818
# Days to retain data in database. Use with caution, database may become very large.
19-
AGE_LIMIT = 2
20-
# Database file name to use for logging data.
19+
AGE_LIMIT = 30
20+
# Database file name to use for logging data. Database will be created automatically.
2121
DATABASE_FILE = /etc/mqttdblg/database/mqttdblogger.db
22-
# Run a vacuum on the database on startup. Good for maintenance but will slow down startup.
22+
# Run a vacuum on the database on startup. Good for maintenance but will slow down startup on a large DB.
2323
STARTUP_VACUUM = true
2424
# Log file path and name.
2525
LOG_FILE = /var/log/mqttdblogger.log
2626
# Default time range on graph. 0 = 1h, 1 = 12h, 2= 1d, 3 = 1w, 4 = 1m, 5 = All
2727
DEFAULT_RANGE = 2
28-
# Default graph to show on starup. Use the topic name.
28+
# Default graph to show on starup. Use the subtopic name.
2929
DEFAULT_GRAPH = acin
3030
# Topics to graph, used in the dropdown selection box. JSON formatted, topic first, pretty label after.
3131
GRAPHED_TOPICS = {"load":"Load (%)", "acoutw":"Load (W)", "heatsinktemp":"Temp (°C)", "acin":"AC In (V)", "acinhz":"AC In (Hz)", "acout":"AC Out (V)", "acouthz":"AC Out (Hz)", "battv":"Battery (V)", "battcappa":"Capacity (%)", "battdischrg":"Discharge (A)"}

0 commit comments

Comments
 (0)