Make the MySQL table name configurable instead of hardcoding TempHumid.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-16 11:44:18 +08:00
co-authored by Cursor
parent 8010cd9045
commit 2d1e319160
7 changed files with 31 additions and 10 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ Installation complete.
Next steps:
1. Edit ${CONFIG_FILE} (GPIO pin, MySQL credentials, limits).
2. Ensure the TempHumid table exists in your MySQL database.
2. Ensure the configured table (default: bedRoomTempHumid) exists in your MySQL database.
EOF
if [[ "$RUN_MODE" == "systemd" ]]; then