Skip to content

problem: authorisation needed #6

@perlindgren

Description

@perlindgren

Hi

First of all, thanks for the effort of the khtool.

My setup:

Arch linux, python in venv, installed tools according to insructions.

2x kh80, ipv6 router between computer and speakers.

Problem:

Detection and queries work as intended (i believe).

For each speaker, it reports:

{"device":{"identity":{"version":"1_3_1"}}}

However when trying to set e.g. logo brightness I get:

python3 ./khtool.py -i eno1 --brightness 50
Used Device:  Left
IPv6 address: fe80::2a36:38ff:fe60:b3d7
{"osc":{"error":[{"ui":{"logo":{"brightness":[401,{"desc":"authorisation needed"}]}}}]}}

Used Device:  Right
IPv6 address: fe80::2a36:38ff:fe60:b34c
{"osc":{"error":[{"ui":{"logo":{"brightness":[401,{"desc":"authorisation needed"}]}}}]}}

Reading the docs (TI_1109_v2.2_Sennheiser_Sound_Control_Protocol_Digital_6000_EN.pdf)

9.4.2 401 Unauthorized
Error code response for missing or invalid authentication token. The request requires user authenti-
cation. If the request already included Authorization credentials, then the 401 response indicates that
authorization has been refused for those credentials.

Comparing to your example query it seems that the version (1_3_1) is the same, so not sure what's going on.

Any ideas.

/Per

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