mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 17:21:13 +01:00
The alert engine can already judge a host's lm-sensors temperature against its own override (#3661), but nothing in the UI wrote one, so the battery sensor in #3565 still could not alert. Alerts > Thresholds > Machines gains a Machine Sensors section. It lists each machine's usable temperature sensors with their current reading and chip, plus every sensor that already has a limit, so a configured sensor that reads invalid, leaves the report or sits on a machine that is not reporting stays editable instead of vanishing. Sensors have no global default: every row reads Off until it has its own limit, the limit cell is the only switch, and switching it Off removes the stored override. The frontend builds the same hex-encoded child ID as the backend. Three shared fixes came with it. The row delay action now chooses the temperature signal, and the delay editor keeps a target it does not list, such as a sensor or machine disk, instead of quietly switching to the first resource in its list. The overrides projection now carries each override's note, so a reloaded editor no longer opens blank and drops the note on the next save. Mock Linux machines report a native inventory, including an Intel Mac's applesmc sensors with an invalid reading, so mock mode shows the section and raises sensor alerts.