mirror of
https://github.com/lox-audioserver/lox-audioserver.git
synced 2026-04-26 14:46:10 +03:00
[GH-ISSUE #75] Volume is added #29
Labels
No labels
bug
enhancement
pull-request
released
released on @beta
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lox-audioserver#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tokylo on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/75
Hello
I use KNX MDT glass buttons to control the speaker volume.
With MS4H Music Server Zone and also with another installation using the original Loxone Audio Server and the Audio Player this always worked correctly.
With the lox-audioserver the value from input V is always added to the output Volume. The value from V is not applied each time but only incremented.
Is this a bug in the lox-audioserver or did I configure something wrong in Loxone?
See the video for details.
Thank you for your support.
https://github.com/user-attachments/assets/76cdb113-9e47-445c-b893-7d4bbfffc6e2
@rudyberends commented on GitHub (Nov 16, 2025):
Thanks for reporting this and for providing the video — it made the issue very clear.
The problem was caused by the volume command being interpreted as a relative change in all cases.
When sending a value from KNX / MDT glass buttons (e.g. audio/14/volume/40), the Loxone Audio Server expects this to be treated as an absolute volume value. The lox-audioserver incorrectly added this value to the current volume instead of applying it directly.
This has now been fixed.
The volume parser has been updated to correctly distinguish between:
• absolute values (e.g. 40)
• relative changes (+3 / -5)
Absolute volume is now applied exactly as expected, matching the behaviour of the original Loxone Audio Server.
I will release this soon. If you want to test it now, you can use the testing branch. If you need a docker container you can use;
ghcr.io/rudyberends/lox-audioserver:testing
Please let me know if it solves your issue.
@tokylo commented on GitHub (Nov 17, 2025):
Super, I tested it and the volume adjustment via the KNX glass button works perfectly now. Thanks a lot for the quick fix!