HBC 4.15.1 — Self-consumption can time out and fall back to Full stop
Summary
In HBC v4.15.1, selecting Self-consumption can result in a 30-second link call timeout. The strategy-selection node correctly produces Self-consumption, but the Self-consumption strategy flow does not return to the calling flow within the configured timeout. HBC subsequently falls back to Full stop.
The issue was reproduced after a clean installation of HBC v4.15.1.
Environment HBC: v4.15.1 Home Assistant: existing project installation Node-RED: existing project installation Battery configuration: 2 batteries (M1/M2) Master control mode: test results were obtained under different master-control states; the effect of this variable is being tested separately. Cache: the v4.15.1 test was also performed with the project's documented cache optimization. Reproduction Start with HBC operating normally. Set the strategy to Full stop. Verify that Full stop is actually executed. Change the selected strategy to Self-consumption. Observe the Node-RED strategy-selection node. Observe the subsequent strategy execution and link-call result. Expected behavior
After selecting Self-consumption, the strategy flow should complete and return to the calling link call. The selected strategy and executed sub-strategy should then become Self-consumption, and the batteries should receive the corresponding operating mode/setpoints.
Actual behavior
The strategy-selection node correctly reports: Self-consumption
However, the subsequent link call can terminate with: Unhandled exception (link call node) timeout
The observed timeout was 30 seconds.
After the timeout, HBC falls back to Full stop. The dashboard consequently continues to report Full stop as the active sub-strategy.
Relevant observations
The following behavior was observed during the v4.15.1 test: house_battery_strategy changed to Self-consumption. Strategy selection reported Self-consumption. Strategy evaluation continued to execute. The Self-consumption strategy call did not complete within the 30-second link-call timeout. active_sub_strategy remained Full stop. Battery operating modes remained unchanged after the attempted switch. Collect completions subsequently reported 2/2 done, 0 failed, so a permanently stuck Write limiter could not be established as the cause. The EV override was not active during the test. Trace observation
The execution trace showed an anomalous negative duration for the initial step:
Home battery start
with a duration of approximately: -1788946216 s
A separate trace entry appeared as: Home Battery Start and was marked Done.
This suggests an inconsistency in trace/timing handling, but it has not been established that this is the cause of the link-call timeout.
Cache observation
The project has a documented cache optimization that replaces repeated api-current-state reads with cached function-node values.
With the cache enabled, Strategy evaluation was measured at approximately: 0.03–0.06 s
Without the cache, the same environment showed substantially higher evaluation times.
The cache therefore has a significant performance effect, but the relationship between cache performance and the Self-consumption timeout has not yet been established.
Current status
The most concrete reproducible failure in v4.15.1 is:
Self-consumption selected → link call → Self-consumption flow does not return within timeout → link call timeout → Full stop fallback
The precise reason why the Self-consumption flow fails to return within the timeout is not yet proven.
A further controlled comparison is being performed using HBC v4.15.1 with the existing cache configuration and Full control, compared with the known-working HBC v4.10.1 configuration.
Candidate issue classification
Potential regression in HBC v4.15.1 affecting completion/return handling of the Self-consumption strategy flow.
This should remain a hypothesis until the controlled version/master-control comparison is completed.