Skip to content

Add a UTA monitor function - #10

Open
marcogobbo wants to merge 1 commit into
mainfrom
uta
Open

Add a UTA monitor function#10
marcogobbo wants to merge 1 commit into
mainfrom
uta

Conversation

@marcogobbo

Copy link
Copy Markdown
Owner

Summary

Turns /uta into a command group and adds an hourly UTA health monitor.

  • /uta report - the existing on-demand HVAC report (unchanged behaviour, just moved under the group).
  • /uta monitor on / /uta monitor off - toggle an hourly watchdog that posts warnings into Elsa's daily-report thread.

Monitor behaviour

Every hour while enabled, the monitor checks two conditions and posts a :warning: naming the failing one(s):

  • Chiller water temperature must stay below 16 °C.
  • Absolute filter ΔP must stay above 60 Pa.

If the UTA report can't be reached (network error or missing values), it posts the standard "UTA report is not reachable" warning instead. The monitor keeps running and re-checks every hour until /uta monitor off - it does not auto-disable. State is in memory only, so it starts off after a bot restart.

Other changes

  • New configurable thresholds UTA_MONITOR_CHILLER_TEMP_MAX (16.0) and UTA_MONITOR_ABS_FILTER_MIN (60.0), documented in .env.example.
  • /help updated to reflect /uta report and /uta monitor on|off.

@marcogobbo marcogobbo self-assigned this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant