Skip to content

[freeathome] Every boot holds all things for 120s and logs two warnings per thing #21558

Description

@ML19821

Expected Behavior

Stored freeathome things initialize right after boot, without warnings.

Current Behavior

The binding creates its channel types only after the bridge has connected and every device handler has run. The framework therefore holds all stored things for up to 120s (checked every 2s) and then logs two warnings per thing: "Channel types or config descriptions ... missing in the respective registry for more than 120s" and "Failed to normalize configuration ... channel-type:freeathome:config not found" - that config description URI is registered by nothing in the bundle, so it keeps the second warning alive independently of the types. Measured here (a gateway and 22 device things): 24 warning lines per boot, devices usable about two minutes after the gateway.

Related context: the "Blind sensor channel FID" warning quoted in the community thread on this binding comes from the same boot noise; the missing FID support behind it is tracked in #19468.

Your Environment

openHAB 5.2.1 (openHABian), store binding 5.2.1; reproduced with a build from current main.

I am preparing a PR for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions