Skip to the content.

Troubleshooting

Debug Dashboard (Insights)

The debug dashboard provides real-time insight into your battery control system’s decision-making process, without having to scroll through Home Assistant and Node-RED. Use it to understand why your system behaves a certain way or to diagnose issues.

Note: more an insights tool than a debug tool

It shows known issues, but is not a full debug tool. Unforseen crashes still require inspection via Node-RED. Also de Node-RED logs can be useful, e.g. http://homeassistant.local:8123/hassio/addon/******_nodered/logs

How to Use Debug Mode

  1. Activate: Navigate to the Debug tab in your Home Assistant dashboard and toggle Debug Mode on via the chip in the top
  2. Monitor: The system will immediately start logging detailed information about:
    • Which strategy flows are executing and in what order
    • How long each flow takes to complete (in seconds)
    • Why batteries are being charged, discharged, skipped, or stopped
    • Price comparisons for dynamic strategies
    • PID controller calculations and decisions
  3. Disable: when done or to review the state in calm and quiet.
  4. Auto-disable: Debug mode automatically turns off after 5 minutes to prevent performance degradation.

What You’ll See

Flow Trace (Execution Timeline)

Log Messages (Detailed Explanations)

Common Troubleshooting Scenarios

“Why isn’t my battery charging/discharging?”

“Why did the strategy switch?”

“System seems slow or unresponsive”

“PID controller acting erratically”

Other Common Issues

The controller barely responds and (dis)charges only with a few Watts

Answer: Check if the P1 input is in Watt and not in kW.

I get an error "HomeAssistantError: Invalid value for input_number.house_battery_control_pid_output: 16743 (range -15000.0 - 15000.0)"

Answer:

Modbus error function code: 0x3 exception: 2 (or similar)

When connecting LilyGo or similar to Marstek Venus V3 Answer:

← Back to Home