Skip to content

LEGACY protocol TVs (Hisense OLED B5) fail to set up — MQTT code 5 (upstream vidaa-control bug) #4

Description

@duduroga

Environment

  • TV: Hisense OLED B5
  • TV firmware: V0000.01.00L.L1021
  • TV protocol version: 2150 (LEGACY)
  • ha-vidaa-tv version: latest (HACS)
  • Home Assistant version: [fill in yours]
  • vidaa-control version: 1.1.0

Symptom

Integration setup fails with MQTT code 5 (not authorized). TV is reachable on the
network but pairing never completes.

Root cause

Bug in the upstream vidaa-control library (v1.1.0). LEGACY protocol TVs require
static MQTT credentials (hisenseservice / multimqttservice) but the client
generates dynamic credentials instead. Neither the main connection path nor the
fallback path ever tries static credentials for LEGACY TVs.

Upstream issue filed: [paste the link to the vidaa-control issue you just filed]

Fix

Requires a patch to vidaa-control. Tracked upstream at the link above. Once
vidaa-control releases a fixed version, this integration should work without
any changes on its end.


Additional finding: LEGACY protocol TVs (protocol version 2150) also do not support
PIN-based pairing. The config flow in ha-vidaa-tv unconditionally calls
async_start_pairing() and shows a PIN entry form, but LEGACY TVs ignore the pairing
request entirely and never display a PIN.

Fix: detect LEGACY protocol after async_connect() and skip the pairing step entirely —
create the config entry directly using the static credentials that were already
established during connection.

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