Skip to content

Home Assistant Obtain Debug Logs

webeling67 edited this page Nov 14, 2021 · 2 revisions

In case of issues with the integration a debug log may be helpful to identify the root cause. This should be used in conjunction with a Raw Scan of Bosch Devices.

Prerequisites

You need to change the configuration.yaml of your Home Assistant installation. This guide uses the offical add-on File Editor to edit the configuration file.

Step by Step guideance

Use File Editor to navigate to the configuration.yaml and open it. The file is located in the config folder of your Home Assistant installation.

Select File editor

Enhance the logger section of the configuration.yaml and add the elements homeassistant.components.frontend: debug, custom_components.bosch: debug, bosch_thermostat_http: debug. For a default HA configuration with no additional configuration, you can add the lines below.

logger:
  default: warning
  logs:
    frontend: debug
    homeassistant.components.frontend: debug
    custom_components.bosch: debug
    bosch_thermostat_http: debug

Add debug logging lines

Restart the Home Assistant core to activate the new settings for the logger. Go to Supervisor -> System and restart the Core.

Restart the core

The debug logging will be shown in Supervisor -> System by selecting the Log Provider Core.

Restart the core