Skip to content

Legacy firmware (2.x): ValueError in invoke() due to missing method name in response #354

@StevenEmelander

Description

@StevenEmelander

Description

Legacy Vantage InFusion firmware (2.x) omits the method name from invoke() responses, causing a ValueError during tuple unpacking that crashes controller initialization.

Root Cause

Legacy firmware uses a shorter response format:

Modern:  R:INVOKE <vid> <result> Load.GetLevel [args...]
Legacy:  R:GETLOAD <vid> <result>

The current unpacking requires 4+ tokens:

_command, _vid, result, _method, *args = Converter.tokenize(return_line)

Error

ValueError: not enough values to unpack (expected at least 4, got 3)

Environment

  • aiovantage: 0.22.8
  • Vantage InFusion firmware: 2.x (legacy, cannot be upgraded)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions