PyLoxone-Audio 0.1.7__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/API.md +17 -5
  2. pyloxone_audio-0.2.1/AUTOMATION-GROUPING.md +3 -0
  3. pyloxone_audio-0.2.1/AUTOMATIONS.md +11 -0
  4. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/CHANGELOG.md +11 -1
  5. pyloxone_audio-0.2.1/DIAGNOSTICS-REFERENCE.md +9 -0
  6. pyloxone_audio-0.2.1/DIAGNOSTICS.md +32 -0
  7. pyloxone_audio-0.2.1/GROUPS.md +27 -0
  8. pyloxone_audio-0.2.1/KNOWN-ISSUES.md +7 -0
  9. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/MANIFEST.in +8 -1
  10. pyloxone_audio-0.2.1/PKG-INFO +83 -0
  11. pyloxone_audio-0.2.1/PyLoxone_Audio.egg-info/PKG-INFO +83 -0
  12. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/PyLoxone_Audio.egg-info/SOURCES.txt +41 -1
  13. pyloxone_audio-0.2.1/QUICKSTART.md +10 -0
  14. pyloxone_audio-0.2.1/README.md +65 -0
  15. pyloxone_audio-0.2.1/RELEASE-NOTES-0.2.0.md +11 -0
  16. pyloxone_audio-0.2.1/RELEASE-NOTES-0.2.1.md +13 -0
  17. pyloxone_audio-0.2.1/SUPPORT.md +32 -0
  18. pyloxone_audio-0.2.1/UPDATING.md +13 -0
  19. pyloxone_audio-0.2.1/USER-GUIDE.md +7 -0
  20. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/__init__.py +4 -2
  21. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/announcement.py +4 -4
  22. pyloxone_audio-0.2.1/pyloxone_audio/announcement_options.py +42 -0
  23. pyloxone_audio-0.2.1/pyloxone_audio/artwork/albums.svg +29 -0
  24. pyloxone_audio-0.2.1/pyloxone_audio/artwork/artists.svg +29 -0
  25. pyloxone_audio-0.2.1/pyloxone_audio/artwork/folder.svg +29 -0
  26. pyloxone_audio-0.2.1/pyloxone_audio/artwork/genres-and-moods.svg +29 -0
  27. pyloxone_audio-0.2.1/pyloxone_audio/artwork/liked-songs.svg +29 -0
  28. pyloxone_audio-0.2.1/pyloxone_audio/artwork/line-in.svg +29 -0
  29. pyloxone_audio-0.2.1/pyloxone_audio/artwork/local-library.svg +29 -0
  30. pyloxone_audio-0.2.1/pyloxone_audio/artwork/loxone-radio.svg +29 -0
  31. pyloxone_audio-0.2.1/pyloxone_audio/artwork/more-items.svg +29 -0
  32. pyloxone_audio-0.2.1/pyloxone_audio/artwork/my-playlists.svg +29 -0
  33. pyloxone_audio-0.2.1/pyloxone_audio/artwork/new-releases.svg +29 -0
  34. pyloxone_audio-0.2.1/pyloxone_audio/artwork/other-playlists.svg +29 -0
  35. pyloxone_audio-0.2.1/pyloxone_audio/artwork/playlists.svg +29 -0
  36. pyloxone_audio-0.2.1/pyloxone_audio/artwork/podcast-episode.svg +29 -0
  37. pyloxone_audio-0.2.1/pyloxone_audio/artwork/podcasts.svg +29 -0
  38. pyloxone_audio-0.2.1/pyloxone_audio/artwork/popular-playlists.svg +29 -0
  39. pyloxone_audio-0.2.1/pyloxone_audio/artwork/public-playlists.svg +29 -0
  40. pyloxone_audio-0.2.1/pyloxone_audio/artwork/radio-station.svg +29 -0
  41. pyloxone_audio-0.2.1/pyloxone_audio/artwork/radio.svg +29 -0
  42. pyloxone_audio-0.2.1/pyloxone_audio/artwork/room-favourites.svg +29 -0
  43. pyloxone_audio-0.2.1/pyloxone_audio/artwork/spotify.svg +29 -0
  44. pyloxone_audio-0.2.1/pyloxone_audio/artwork/track-song.svg +29 -0
  45. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/catalogue.py +299 -55
  46. pyloxone_audio-0.2.1/pyloxone_audio/content_id.py +71 -0
  47. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/diagnostic_events.py +51 -2
  48. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/grouping.py +106 -5
  49. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/metadata.py +115 -16
  50. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/models.py +1 -0
  51. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/native.py +111 -10
  52. pyloxone_audio-0.2.1/pyloxone_audio/pause.py +37 -0
  53. pyloxone_audio-0.2.1/pyloxone_audio/projection.py +158 -0
  54. pyloxone_audio-0.2.1/pyloxone_audio/report.py +469 -0
  55. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyproject.toml +2 -2
  56. pyloxone_audio-0.2.1/tests/library/test_announcement_observation_gap.py +41 -0
  57. pyloxone_audio-0.2.1/tests/library/test_long_event_lifecycle.py +163 -0
  58. pyloxone_audio-0.2.1/tests/library/test_metadata_observation.py +121 -0
  59. pyloxone_audio-0.2.1/tests/library/test_native_status_aliases.py +131 -0
  60. pyloxone_audio-0.2.1/tests/library/test_native_status_decoding.py +35 -0
  61. pyloxone_audio-0.2.1/tests/library/test_native_status_report_preparation.py +177 -0
  62. pyloxone_audio-0.2.1/tests/library/test_pause_qualification.py +42 -0
  63. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_volume_failure_recovery.py +26 -3
  64. pyloxone_audio-0.1.7/AUTOMATION-GROUPING.md +0 -37
  65. pyloxone_audio-0.1.7/DIAGNOSTICS-REFERENCE.md +0 -316
  66. pyloxone_audio-0.1.7/DIAGNOSTICS.md +0 -22
  67. pyloxone_audio-0.1.7/KNOWN-ISSUES.md +0 -23
  68. pyloxone_audio-0.1.7/PKG-INFO +0 -77
  69. pyloxone_audio-0.1.7/PyLoxone_Audio.egg-info/PKG-INFO +0 -77
  70. pyloxone_audio-0.1.7/README.md +0 -59
  71. pyloxone_audio-0.1.7/RELEASE-NOTES-0.1.7.md +0 -11
  72. pyloxone_audio-0.1.7/USER-GUIDE.md +0 -43
  73. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/LICENSE +0 -0
  74. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/NOTICE.md +0 -0
  75. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/PyLoxone_Audio.egg-info/dependency_links.txt +0 -0
  76. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/PyLoxone_Audio.egg-info/requires.txt +0 -0
  77. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/PyLoxone_Audio.egg-info/top_level.txt +0 -0
  78. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/clock.py +0 -0
  79. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/py.typed +0 -0
  80. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/radio.py +0 -0
  81. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/selection.py +0 -0
  82. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/session.py +0 -0
  83. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/pyloxone_audio/sources.py +0 -0
  84. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/setup.cfg +0 -0
  85. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/conftest.py +0 -0
  86. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/fixtures/audioserver/README.md +0 -0
  87. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/fixtures/audioserver/sebastian_alarm_end.txt +0 -0
  88. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/fixtures/audioserver/sebastian_loxone_radio.json +0 -0
  89. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/fixtures/audioserver/sebastian_tts.json +0 -0
  90. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/fixtures/audioserver/sebastian_tunein.json +0 -0
  91. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/pytest.ini +0 -0
  92. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/session_support.py +0 -0
  93. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audio_grouping.py +0 -0
  94. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audio_modes.py +0 -0
  95. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_announcement.py +0 -0
  96. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_connection.py +0 -0
  97. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_events.py +0 -0
  98. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_library_source.py +0 -0
  99. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_metadata.py +0 -0
  100. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_playback.py +0 -0
  101. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_seek.py +0 -0
  102. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_timing.py +0 -0
  103. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_audioserver_wire.py +0 -0
  104. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_automation_group_intent.py +0 -0
  105. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_boundary_environment.py +0 -0
  106. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_boundary_ownership.py +0 -0
  107. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_boundary_qualification.py +0 -0
  108. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_diagnostic_events.py +0 -0
  109. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_diagnostic_operations.py +0 -0
  110. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_diagnostic_request_kinds.py +0 -0
  111. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_diagnostic_timing.py +0 -0
  112. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_diagnostic_wire.py +0 -0
  113. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_distribution_dependencies.py +0 -0
  114. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_exact_track_start.py +0 -0
  115. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_folder_echo_regression.py +0 -0
  116. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_group_commands.py +0 -0
  117. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_group_coordinator.py +0 -0
  118. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_group_planning.py +0 -0
  119. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_group_revocation_r1.py +0 -0
  120. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_group_transport.py +0 -0
  121. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_grouping_numeric_validation.py +0 -0
  122. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_playback_failure_recovery.py +0 -0
  123. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_portable_policies.py +0 -0
  124. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_published_authentication.py +0 -0
  125. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_restore_readiness.py +0 -0
  126. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_reusable_command_session.py +0 -0
  127. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_room_absolute_rebase.py +0 -0
  128. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_room_reply_review03.py +0 -0
  129. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_room_transport.py +0 -0
  130. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_session_benchmark.py +0 -0
  131. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_session_cancelled_close.py +0 -0
  132. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_session_isolation.py +0 -0
  133. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_session_owner_controls.py +0 -0
  134. {pyloxone_audio-0.1.7 → pyloxone_audio-0.2.1}/tests/library/test_session_playback_policy.py +0 -0
@@ -1,8 +1,8 @@
1
- # PyLoxone-Audio 0.1.7 — API and compatibility
1
+ # PyLoxone-Audio 0.2.1 — API and compatibility
2
2
 
3
3
  ## Command-session lifecycle
4
4
 
5
- The 0.1.7 adapter explicitly enables `AudioServerCommands.reuse_session`. Direct library consumers retain the original one-shot default. One command owner belongs to one entry/server/current authentication lifetime; never share it between entries or accounts. The host publishes token revocation through `observe_authentication()` and awaits `async_close()` on unload. Changing host/options uses the existing unload/new-owner lifecycle, not mutation of an active owner's endpoint.
5
+ The matching adapter explicitly enables `AudioServerCommands.reuse_session`. Direct library consumers retain the original one-shot default. One command owner belongs to one entry/server/current authentication lifetime; never share it between entries or accounts. The host publishes token revocation through `observe_authentication()` and awaits `async_close()` on unload. Changing host/options uses the existing unload/new-owner lifecycle, not mutation of an active owner's endpoint.
6
6
 
7
7
  The reusable transport keeps the existing single-request lock, authentication/serializers and command proof. After authentication, one bounded-inbox reader owns receive. Unsolicited events are drained but are not metadata authority; command echoes must match the active command (including the vendor's search-query key convention). An uncertain, cancelled, timed-out, malformed or uncorrelated session is retired without replay. The native protocol has no demonstrated unique request ID for a delayed identical echo.
8
8
 
@@ -11,8 +11,10 @@ Mapped metadata bindings call `observe_playback(player_id, playing)` from native
11
11
  Diagnostics adds `session_reused` rather than inventing new connection/authentication stages for warm requests. `request_finished` still follows the actual request boundary. The Miniserver and metadata/event connections are separate and unchanged.
12
12
 
13
13
  An Apache-2.0 Python library for native audio communication, consumed by the
14
- existing PyLoxone integration. The matching reference adapter is 0.1.7
15
- on stock PyLoxone 0.10.3. See [NOTICE.md](NOTICE.md) for attribution.
14
+ existing PyLoxone integration. The matching reference adapter is 0.2.1.
15
+ Its stable host compatibility baseline is PyLoxone 0.12.1; the host contribution
16
+ is based on JoDehli/PyLoxone master `ede773fcf52b42b3caa1ddbf070a15ec012920c9`
17
+ and preserves the subsequent upstream changes. See [NOTICE.md](NOTICE.md) for attribution.
16
18
 
17
19
  ## Concrete public API and ownership
18
20
 
@@ -46,6 +48,10 @@ The explicit exports in pyloxone_audio/__init__.py are the public API:
46
48
  history eligibility. Genuine ordered observed feedback is distinct from intent.
47
49
  - async_send_prepared_announcement handles prepared bounded WAV bytes through
48
50
  the native event operation; the host supplies an existing lazy HTTP session.
51
+ - pause_already_satisfied(snapshot, player_id, now) qualifies a fresh, exact-player
52
+ paused/stopped observation with no active event. It performs no I/O or mutation.
53
+ Hosts must retain availability, current ownership, lifecycle and whole-group
54
+ checks; this helper does not authorise a command or suppress a genuine failure.
49
55
  - audioserver_uri and parse_audio_events retain their concrete native semantics.
50
56
 
51
57
  SourceEnvironment(clock=callable) is immutable per-consumer clock configuration.
@@ -95,10 +101,16 @@ the supported enable/export workflow, exact bounds and evidence/privacy limits.
95
101
 
96
102
  ## Installation and host compatibility
97
103
 
98
- Requires Python >=3.14. Install `PyLoxone-Audio==0.1.7` for standalone consumers.
104
+ Requires Python >=3.14. Install `PyLoxone-Audio==0.2.1` for standalone consumers.
99
105
  Home Assistant users need the matching component and frontend described in the
100
106
  [installation guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md); HA installs Python dependencies.
101
107
  Keep domain `loxone`, existing entries/entities and the exact compatible pin.
108
+ The host adapter requires the guarded-send/observer extension to `pyloxone-api`;
109
+ stock public API 0.6.1 lacks that interface. Use the maintainer-selected compatible
110
+ public API release and pin its exact version before installing the host adapter.
111
+ The standalone audio library has no `pyloxone-api` dependency. Update the library
112
+ and matching reference adapter together; changing a Python dependency alone does
113
+ not replace host component files or frontend resources.
102
114
  Source and installed-wheel checks use synthetic external I/O and real local
103
115
  WebSocket/crypto boundaries. They do not require household credentials.
104
116
 
@@ -0,0 +1,3 @@
1
+ # Group automation
2
+
3
+ See [Groups and presets](GROUPS.md) and [Announcements and automations](AUTOMATIONS.md). Use the matching adapter's service descriptions for supported fields; group actions retain the selected membership and refuse stale or unavailable targets.
@@ -0,0 +1,11 @@
1
+ # Announcements and automations
2
+
3
+ Use the matching integration's actions and the services schema supplied with that component. Pick the actual media-player entity in your own installation; examples do not contain household identifiers.
4
+
5
+ ## Explicit announcement target
6
+
7
+ Choose exactly one supported target: an individual speaker, its current dynamic group, or its Config fixed group. An individual target stays individual even when it is a group member. Group targeting preserves membership. Existing omitted targeting remains available for independent rooms; grouped rooms require an explicit choice. This is not support for arbitrary unrelated concurrent announcements.
8
+
9
+ Use a short, nonessential test only under a separately agreed test window. An upload or command acknowledgement does not prove sound, synchronisation or successful return to music. Do not use this integration as a safety-alarm delivery guarantee.
10
+
11
+ ## Daily report policy
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ - Make Pause idempotent for fresh, confirmed paused/stopped rooms and fully quiet groups, reducing redundant traffic during all-room pause calls.
6
+ - Share pause qualification through the library and matching 0.2.1 reference adapter; retain existing confirmation, busy/lifecycle and no-retry safeguards.
7
+ - Preserve frontend, API and climate behaviour. See [release notes](RELEASE-NOTES-0.2.1.md).
8
+
9
+ ## 0.2.0
10
+
11
+ Explicit announcement targets; source artwork; group/preset management; fixed-group playback and proportional volume; capability-based native UI integration; improved ownership and announcement observations. See [release notes](RELEASE-NOTES-0.2.0.md).
12
+
3
13
  ## 0.1.7
4
14
 
5
15
  - Matching library/adapter 0.1.7 and frontend r14.
@@ -28,4 +38,4 @@
28
38
  - Full-width group/member volume sliders with percentage and −/+ controls.
29
39
  - Original release: library 0.1.4, reference adapter 0.10.3.dev19 and frontend r12 on stock PyLoxone 0.10.3.
30
40
 
31
- [Current release notes](https://github.com/davehocking/PyLoxone-Audio/blob/main/RELEASE-NOTES-0.1.7.md). Earlier releases remain in Git history and GitHub Releases.
41
+ [Current release notes](https://github.com/davehocking/PyLoxone-Audio/blob/main/RELEASE-NOTES-0.2.1.md). Earlier releases remain in Git history and GitHub Releases.
@@ -0,0 +1,9 @@
1
+ # Audio diagnostic reference
2
+
3
+ The audio support ZIP is generated locally by the authenticated host adapter. It includes bounded event/request summaries and build identities, not credentials or a full Home Assistant configuration. Downloading it does not upload it anywhere. See [collection and sharing](DIAGNOSTICS.md).
4
+
5
+ The exporter uses export-local aliases and omits direct household identifiers. Timestamps, activity patterns and aliases still provide privacy minimisation, not guaranteed anonymity. Inspect the actual ZIP before sharing and supply only the necessary failure window.
6
+
7
+ Collection state and retained-data availability are separate: stopped collection can still have records, while an empty export is not evidence that an operation succeeded. A send attempt, socket completion, device reply and observed physical effect are different observations.
8
+
9
+ Stock Home Assistant integration diagnostics are a separate export surface. Do not assume the audio ZIP's field policy applies to an unrelated log or Home Assistant diagnostic download.
@@ -0,0 +1,32 @@
1
+ # Versions and audio diagnostics
2
+
3
+ Open **Audioserver Management → About PyLoxone-Audio** for version information and help with a problem. Opening About does not enable collection or operate your audio rooms.
4
+
5
+ ## Collect a support ZIP
6
+
7
+ A Home Assistant administrator can:
8
+
9
+ 1. Open **Enable diagnostics** in About. It opens the existing **Audio diagnostics** switch; turn it on deliberately.
10
+ 2. Repeat the problem using your normal controls. No sound is recorded.
11
+ 3. Reopen About, check the retained record range and choose **Download diagnostics (.zip)**.
12
+ 4. Turn collection off with the same control when finished.
13
+
14
+ If there are no records, the download button is disabled: enable diagnostics and repeat the problem first. **Collection off does not prevent downloading earlier retained records.** First and last records are observations, not proof of uninterrupted coverage. The ZIP records known gaps, dropped events and export omissions.
15
+
16
+ The file stays on your device. Nothing is automatically uploaded. Inspect it before choosing where to share it.
17
+
18
+ ## What the ZIP contains
19
+
20
+ - `diagnostics.json`: bounded state/error codes, timings and anonymous references used only within that export.
21
+ - `versions.json`: the backend-load version snapshot and build identity.
22
+ - `README.txt`: a short contents, coverage and omissions note.
23
+
24
+ It excludes usernames, credentials, tokens, IP addresses, unnecessary network/device/account identities, real room names, media titles and URLs, announcement text, raw household configuration and unrelated logs. Unknown fields and raw command routes are omitted. This is not a general Home Assistant diagnostic dump, and a command result does not prove physical playback.
25
+
26
+ ## Understand the versions
27
+
28
+ About distinguishes installed package labels, loaded-code reports, the backend's captured build and the browser UI actually loaded. Open **Build details** for the full values. Labels can differ; package metadata alone does not prove which code is running. Missing values are shown as unavailable. **Copy version information** copies only those displayed version/build fields.
29
+
30
+ A browser/backend mismatch can mean cached UI; refresh the page normally. If an enhancement is incompatible, use the existing integration diagnostics and version information in Settings.
31
+
32
+ Diagnostics is optional and separate from the audio playback option in [setup](QUICKSTART.md). For a matching update or rollback, follow [Update and recover](UPDATING.md).
@@ -0,0 +1,27 @@
1
+ # Groups and presets
2
+
3
+ Open **Audioserver Management** from the native Group/Join entry or the supplied dashboard card. A room's controls act on that room. A group's **Media Controls** opens a group-named playback view using group actions, not an arbitrary member's player dialog.
4
+
5
+ ## Config fixed groups
6
+
7
+ Membership is defined in Loxone Config and cannot be edited here. **Membership locked** is a passive roster label: it does not disable playback or group volume. The group view shows the fixed members and available group actions. The request-address room is not an elected leader or a replacement for the group.
8
+
9
+ ## Temporary groups
10
+
11
+ Use the existing grouping controls to select eligible rooms and save useful arrangements as presets. Available actions depend on current topology, source and feedback. A stale or changed group can refuse an action instead of applying it to a different set of rooms.
12
+
13
+ ## Rooms & Speakers
14
+
15
+ The directory lists audio rooms alphabetically, including Config-group rooms. A link icon and group name show actual deployed membership; a saved template alone does not make a room grouped. **View group** highlights that exact group in Deployed Groups, where **Media Controls** opens its shared playback view. An independent room's **Media Controls** opens its ordinary room player. Unknown or incomplete membership is not called independent. Search and **Grouped only** affect this directory only.
16
+
17
+ Room volumes in the directory are read-only. Playback and volume stay in the existing room and group controls. On narrow screens the directory stacks below the group/template panels.
18
+
19
+ ## Volume
20
+
21
+ Config fixed-group volume now scales each room proportionally from its confirmed starting level. For example, rooms at 20% and 40% become 30% and 60% when the group is moved from 30% to 45%. Targets round to the nearest integer (halves up) and cap each room at 100%, without redistributing the excess. The displayed group value is the rounded average of the actual resulting room levels, so saturation can make it lower than requested. A room at zero stays zero while another room has a positive starting level.
22
+
23
+ Requesting zero silences all members. Requesting the already displayed nonzero group level is a no-op. If all rooms are at zero, positive proportional scaling has no known balance: set an individual room level first. Temporary/dynamic groups retain their existing equal percentage-point adjustments, and room-only volume remains absolute. Preset volumes and announcements are unchanged.
24
+
25
+ Feedback and errors remain tied to the current selection; normal use does not require deliberate pauses between adjustments. Each changed fixed room needs a strict native command acknowledgement. Group requests finish on native acceptance even when feedback is delayed, clamped or unchanged; displayed levels remain passive observations, not a claim of physical confirmation. A failed or uncertain partial operation is not automatically retried or undone.
26
+
27
+ See [announcements](AUTOMATIONS.md) for explicit target choices. Announcements do not change group membership.
@@ -0,0 +1,7 @@
1
+ # Current limits
2
+
3
+ - Previous-source bookmarks are in memory; reload/restart can discard them.
4
+ - Seeking and position return depend on source/player support; complete queues are not reconstructed.
5
+ - Fixed-group membership is managed in Loxone Config.
6
+ - Announcements require a qualified target and native event feedback; missing or uncertain feedback can leave an operation unavailable rather than replaying it blindly.
7
+ - The reference adapter requires a compatible guarded-send/observer API release; stock API 0.6.1 lacks that contract.
@@ -15,7 +15,14 @@ include DIAGNOSTICS.md
15
15
  include KNOWN-ISSUES.md
16
16
  include CHANGELOG.md
17
17
 
18
- include RELEASE-NOTES-0.1.7.md
18
+ include RELEASE-NOTES-0.2.0.md
19
+ include RELEASE-NOTES-0.2.1.md
19
20
  include USER-GUIDE.md
20
21
  include DIAGNOSTICS-REFERENCE.md
21
22
  include AUTOMATION-GROUPING.md
23
+
24
+ include GROUPS.md
25
+ include AUTOMATIONS.md
26
+ include QUICKSTART.md
27
+ include SUPPORT.md
28
+ include UPDATING.md
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.4
2
+ Name: PyLoxone-Audio
3
+ Version: 0.2.1
4
+ Summary: Native audio transport and source policies for PyLoxone
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Homepage, https://github.com/davehocking/PyLoxone-Audio
7
+ Project-URL: Repository, https://github.com/davehocking/PyLoxone-Audio
8
+ Project-URL: Issues, https://github.com/davehocking/PyLoxone-Audio/issues
9
+ Project-URL: Releases, https://github.com/davehocking/PyLoxone-Audio/releases
10
+ Requires-Python: >=3.14
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ License-File: NOTICE.md
14
+ Requires-Dist: websockets<16,>=14
15
+ Requires-Dist: pycryptodome>=3.20
16
+ Requires-Dist: aiohttp
17
+ Dynamic: license-file
18
+
19
+ # PyLoxone-Audio
20
+
21
+ Audio features for [PyLoxone](https://github.com/JoDehli/PyLoxone), using the music accounts already configured in Loxone and the existing Home Assistant room players. No second integration or separate audio login.
22
+
23
+ **Library 0.2.1** and **reference audio adapter 0.2.1** must be updated together. The upstream PyLoxone host version is a separate compatibility baseline. Installing the Python library alone does not replace the host integration or its frontend.
24
+
25
+ ## What it adds
26
+
27
+ - Now-playing information, artwork, Browse and Search for supported Local Library, Spotify and radio sources.
28
+ - Playback, volume, source selection and supported seeking; Line-In mutes/unmutes instead of pausing external equipment.
29
+ - Temporary groups, saved presets, and playback controls for Config fixed groups without changing their membership.
30
+ - A group-named **Media Controls** view and **Audioserver Management**.
31
+ - Announcements to an explicitly selected speaker, dynamic group or Config fixed group.
32
+ - Version information and optional local diagnostic downloads.
33
+
34
+ ## See it in action
35
+
36
+ A look at the real interface in dark mode: manage speakers and groups, browse music, and use your existing Home Assistant room players. Personal room and account labels have been redacted.
37
+
38
+ ![Audioserver Management dark mode](docs/images/audioserver-management-dark.png)
39
+
40
+ **[Take the visual tour →](docs/UI-TOUR.md)** — group controls, music browsing, the native player and the phone-width layout.
41
+
42
+ ## Required setup
43
+
44
+ Use a matching host adapter. In **Settings → Devices & services → Loxone**, open the existing entry's options:
45
+
46
+ 1. Set **Audioserver host** to your Audio Server's hostname or IP address.
47
+ 2. Enable **Use Audio Server player play/pause (experimental; off by default)** (`audioserver_playback`).
48
+ 3. Save.
49
+
50
+ Despite its name, that option also enables browsing, source selection and return, supported seeking, Shuffle/Repeat, announcements and enhanced grouping. **Audio diagnostics** is separate and optional. Keep music accounts configured in Loxone; native Spotify does not require a separate Home Assistant Spotify login.
51
+
52
+ ## Compatibility and installation
53
+
54
+ The reference adapter targets PyLoxone's extracted `pyloxone-api` architecture. It requires the guarded-send/observer API extension: unmodified `pyloxone-api==0.6.1` does not provide that interface. Do not replace the dependency with stock 0.6.1 or copy this adapter over an arbitrary host version. See the [version-bound adapter guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/adapters/pyloxone/jo-review/README.md) for the exact host base and dependency requirements.
55
+
56
+ **Technology trial:** A [version-pinned manual preview](https://github.com/davehocking/PyLoxone-Audio/tree/main/preview-build) bundles the matching integration/UI and patched API so it can be tried before upstream adoption. It is **not a general upgrade or HACS release**: read its exact version requirements, update/overwrite warning and backup instructions first.
57
+
58
+ For standalone library development on Python 3.14 or newer:
59
+
60
+ ```sh
61
+ python -m pip install PyLoxone-Audio==0.2.1
62
+ ```
63
+
64
+ Home Assistant users should obtain the matching integration through its supported installation route rather than manually running pip in Home Assistant OS. A nested preview directory is not a HACS repository.
65
+
66
+ ## Guides
67
+
68
+ - [Players and groups](https://github.com/davehocking/PyLoxone-Audio/blob/main/USER-GUIDE.md)
69
+ - [Groups and presets](https://github.com/davehocking/PyLoxone-Audio/blob/main/GROUPS.md)
70
+ - [Announcements and automations](https://github.com/davehocking/PyLoxone-Audio/blob/main/AUTOMATIONS.md)
71
+ - [Update and recovery](https://github.com/davehocking/PyLoxone-Audio/blob/main/UPDATING.md)
72
+ - [Local diagnostics](https://github.com/davehocking/PyLoxone-Audio/blob/main/DIAGNOSTICS.md)
73
+ - [Release notes](https://github.com/davehocking/PyLoxone-Audio/blob/main/RELEASE-NOTES-0.2.1.md)
74
+
75
+ ## Limits
76
+
77
+ Source controls depend on the player's current state and advertised capability. Previous-source bookmarks are held in memory and may be lost on reload/restart; position return is best effort and does not reconstruct an entire queue. Fixed-group membership remains controlled by Loxone Config. Multiple supported announcement target types do not imply arbitrary concurrent announcements. A command acknowledgement is not acoustic confirmation in every room.
78
+
79
+ ## Developers and credits
80
+
81
+ The Home Assistant-independent library owns Audio Server commands, events and source policies. The host adapter owns setup, entities and cleanup and supplies current authentication. See [API](https://github.com/davehocking/PyLoxone-Audio/blob/main/API.md) and [contribution/testing](https://github.com/davehocking/PyLoxone-Audio/blob/main/CONTRIBUTING-RELEASE.md).
82
+
83
+ Built on PyLoxone and its contributors' work. Thanks to Sebastian (@SebastianEitzert) for his contributions. Development is human-directed with LLM assistance. [Apache-2.0](https://github.com/davehocking/PyLoxone-Audio/blob/main/LICENSE); existing [notices](https://github.com/davehocking/PyLoxone-Audio/blob/main/NOTICE.md) are retained. The separate communication API retains its own licence.
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.4
2
+ Name: PyLoxone-Audio
3
+ Version: 0.2.1
4
+ Summary: Native audio transport and source policies for PyLoxone
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Homepage, https://github.com/davehocking/PyLoxone-Audio
7
+ Project-URL: Repository, https://github.com/davehocking/PyLoxone-Audio
8
+ Project-URL: Issues, https://github.com/davehocking/PyLoxone-Audio/issues
9
+ Project-URL: Releases, https://github.com/davehocking/PyLoxone-Audio/releases
10
+ Requires-Python: >=3.14
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ License-File: NOTICE.md
14
+ Requires-Dist: websockets<16,>=14
15
+ Requires-Dist: pycryptodome>=3.20
16
+ Requires-Dist: aiohttp
17
+ Dynamic: license-file
18
+
19
+ # PyLoxone-Audio
20
+
21
+ Audio features for [PyLoxone](https://github.com/JoDehli/PyLoxone), using the music accounts already configured in Loxone and the existing Home Assistant room players. No second integration or separate audio login.
22
+
23
+ **Library 0.2.1** and **reference audio adapter 0.2.1** must be updated together. The upstream PyLoxone host version is a separate compatibility baseline. Installing the Python library alone does not replace the host integration or its frontend.
24
+
25
+ ## What it adds
26
+
27
+ - Now-playing information, artwork, Browse and Search for supported Local Library, Spotify and radio sources.
28
+ - Playback, volume, source selection and supported seeking; Line-In mutes/unmutes instead of pausing external equipment.
29
+ - Temporary groups, saved presets, and playback controls for Config fixed groups without changing their membership.
30
+ - A group-named **Media Controls** view and **Audioserver Management**.
31
+ - Announcements to an explicitly selected speaker, dynamic group or Config fixed group.
32
+ - Version information and optional local diagnostic downloads.
33
+
34
+ ## See it in action
35
+
36
+ A look at the real interface in dark mode: manage speakers and groups, browse music, and use your existing Home Assistant room players. Personal room and account labels have been redacted.
37
+
38
+ ![Audioserver Management dark mode](docs/images/audioserver-management-dark.png)
39
+
40
+ **[Take the visual tour →](docs/UI-TOUR.md)** — group controls, music browsing, the native player and the phone-width layout.
41
+
42
+ ## Required setup
43
+
44
+ Use a matching host adapter. In **Settings → Devices & services → Loxone**, open the existing entry's options:
45
+
46
+ 1. Set **Audioserver host** to your Audio Server's hostname or IP address.
47
+ 2. Enable **Use Audio Server player play/pause (experimental; off by default)** (`audioserver_playback`).
48
+ 3. Save.
49
+
50
+ Despite its name, that option also enables browsing, source selection and return, supported seeking, Shuffle/Repeat, announcements and enhanced grouping. **Audio diagnostics** is separate and optional. Keep music accounts configured in Loxone; native Spotify does not require a separate Home Assistant Spotify login.
51
+
52
+ ## Compatibility and installation
53
+
54
+ The reference adapter targets PyLoxone's extracted `pyloxone-api` architecture. It requires the guarded-send/observer API extension: unmodified `pyloxone-api==0.6.1` does not provide that interface. Do not replace the dependency with stock 0.6.1 or copy this adapter over an arbitrary host version. See the [version-bound adapter guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/adapters/pyloxone/jo-review/README.md) for the exact host base and dependency requirements.
55
+
56
+ **Technology trial:** A [version-pinned manual preview](https://github.com/davehocking/PyLoxone-Audio/tree/main/preview-build) bundles the matching integration/UI and patched API so it can be tried before upstream adoption. It is **not a general upgrade or HACS release**: read its exact version requirements, update/overwrite warning and backup instructions first.
57
+
58
+ For standalone library development on Python 3.14 or newer:
59
+
60
+ ```sh
61
+ python -m pip install PyLoxone-Audio==0.2.1
62
+ ```
63
+
64
+ Home Assistant users should obtain the matching integration through its supported installation route rather than manually running pip in Home Assistant OS. A nested preview directory is not a HACS repository.
65
+
66
+ ## Guides
67
+
68
+ - [Players and groups](https://github.com/davehocking/PyLoxone-Audio/blob/main/USER-GUIDE.md)
69
+ - [Groups and presets](https://github.com/davehocking/PyLoxone-Audio/blob/main/GROUPS.md)
70
+ - [Announcements and automations](https://github.com/davehocking/PyLoxone-Audio/blob/main/AUTOMATIONS.md)
71
+ - [Update and recovery](https://github.com/davehocking/PyLoxone-Audio/blob/main/UPDATING.md)
72
+ - [Local diagnostics](https://github.com/davehocking/PyLoxone-Audio/blob/main/DIAGNOSTICS.md)
73
+ - [Release notes](https://github.com/davehocking/PyLoxone-Audio/blob/main/RELEASE-NOTES-0.2.1.md)
74
+
75
+ ## Limits
76
+
77
+ Source controls depend on the player's current state and advertised capability. Previous-source bookmarks are held in memory and may be lost on reload/restart; position return is best effort and does not reconstruct an entire queue. Fixed-group membership remains controlled by Loxone Config. Multiple supported announcement target types do not imply arbitrary concurrent announcements. A command acknowledgement is not acoustic confirmation in every room.
78
+
79
+ ## Developers and credits
80
+
81
+ The Home Assistant-independent library owns Audio Server commands, events and source policies. The host adapter owns setup, entities and cleanup and supplies current authentication. See [API](https://github.com/davehocking/PyLoxone-Audio/blob/main/API.md) and [contribution/testing](https://github.com/davehocking/PyLoxone-Audio/blob/main/CONTRIBUTING-RELEASE.md).
82
+
83
+ Built on PyLoxone and its contributors' work. Thanks to Sebastian (@SebastianEitzert) for his contributions. Development is human-directed with LLM assistance. [Apache-2.0](https://github.com/davehocking/PyLoxone-Audio/blob/main/LICENSE); existing [notices](https://github.com/davehocking/PyLoxone-Audio/blob/main/NOTICE.md) are retained. The separate communication API retains its own licence.
@@ -1,14 +1,20 @@
1
1
  API.md
2
2
  AUTOMATION-GROUPING.md
3
+ AUTOMATIONS.md
3
4
  CHANGELOG.md
4
5
  DIAGNOSTICS-REFERENCE.md
5
6
  DIAGNOSTICS.md
7
+ GROUPS.md
6
8
  KNOWN-ISSUES.md
7
9
  LICENSE
8
10
  MANIFEST.in
9
11
  NOTICE.md
12
+ QUICKSTART.md
10
13
  README.md
11
- RELEASE-NOTES-0.1.7.md
14
+ RELEASE-NOTES-0.2.0.md
15
+ RELEASE-NOTES-0.2.1.md
16
+ SUPPORT.md
17
+ UPDATING.md
12
18
  USER-GUIDE.md
13
19
  pyproject.toml
14
20
  PyLoxone_Audio.egg-info/PKG-INFO
@@ -18,21 +24,49 @@ PyLoxone_Audio.egg-info/requires.txt
18
24
  PyLoxone_Audio.egg-info/top_level.txt
19
25
  pyloxone_audio/__init__.py
20
26
  pyloxone_audio/announcement.py
27
+ pyloxone_audio/announcement_options.py
21
28
  pyloxone_audio/catalogue.py
22
29
  pyloxone_audio/clock.py
30
+ pyloxone_audio/content_id.py
23
31
  pyloxone_audio/diagnostic_events.py
24
32
  pyloxone_audio/grouping.py
25
33
  pyloxone_audio/metadata.py
26
34
  pyloxone_audio/models.py
27
35
  pyloxone_audio/native.py
36
+ pyloxone_audio/pause.py
37
+ pyloxone_audio/projection.py
28
38
  pyloxone_audio/py.typed
29
39
  pyloxone_audio/radio.py
40
+ pyloxone_audio/report.py
30
41
  pyloxone_audio/selection.py
31
42
  pyloxone_audio/session.py
32
43
  pyloxone_audio/sources.py
44
+ pyloxone_audio/artwork/albums.svg
45
+ pyloxone_audio/artwork/artists.svg
46
+ pyloxone_audio/artwork/folder.svg
47
+ pyloxone_audio/artwork/genres-and-moods.svg
48
+ pyloxone_audio/artwork/liked-songs.svg
49
+ pyloxone_audio/artwork/line-in.svg
50
+ pyloxone_audio/artwork/local-library.svg
51
+ pyloxone_audio/artwork/loxone-radio.svg
52
+ pyloxone_audio/artwork/more-items.svg
53
+ pyloxone_audio/artwork/my-playlists.svg
54
+ pyloxone_audio/artwork/new-releases.svg
55
+ pyloxone_audio/artwork/other-playlists.svg
56
+ pyloxone_audio/artwork/playlists.svg
57
+ pyloxone_audio/artwork/podcast-episode.svg
58
+ pyloxone_audio/artwork/podcasts.svg
59
+ pyloxone_audio/artwork/popular-playlists.svg
60
+ pyloxone_audio/artwork/public-playlists.svg
61
+ pyloxone_audio/artwork/radio-station.svg
62
+ pyloxone_audio/artwork/radio.svg
63
+ pyloxone_audio/artwork/room-favourites.svg
64
+ pyloxone_audio/artwork/spotify.svg
65
+ pyloxone_audio/artwork/track-song.svg
33
66
  tests/library/conftest.py
34
67
  tests/library/pytest.ini
35
68
  tests/library/session_support.py
69
+ tests/library/test_announcement_observation_gap.py
36
70
  tests/library/test_audio_grouping.py
37
71
  tests/library/test_audio_modes.py
38
72
  tests/library/test_audioserver_announcement.py
@@ -62,6 +96,12 @@ tests/library/test_group_planning.py
62
96
  tests/library/test_group_revocation_r1.py
63
97
  tests/library/test_group_transport.py
64
98
  tests/library/test_grouping_numeric_validation.py
99
+ tests/library/test_long_event_lifecycle.py
100
+ tests/library/test_metadata_observation.py
101
+ tests/library/test_native_status_aliases.py
102
+ tests/library/test_native_status_decoding.py
103
+ tests/library/test_native_status_report_preparation.py
104
+ tests/library/test_pause_qualification.py
65
105
  tests/library/test_playback_failure_recovery.py
66
106
  tests/library/test_portable_policies.py
67
107
  tests/library/test_published_authentication.py
@@ -0,0 +1,10 @@
1
+ # Quick start
2
+
3
+ Use the matching PyLoxone audio adapter and PyLoxone-Audio 0.2.1 together. Installing the library alone does not replace Home Assistant component files or browser resources.
4
+
5
+ 1. Check the exact host base and communication API requirements in [the adapter guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/adapters/pyloxone/jo-review/README.md). Stock API 0.6.1 does not implement the required guarded-send interface.
6
+ 2. Back up Home Assistant and the complete existing component before installation or upgrade; follow [update and recovery](UPDATING.md).
7
+ 3. In the existing Loxone entry's options, set **Audioserver host**, enable **Use Audio Server player play/pause (experimental; off by default)** and save. Diagnostics are optional.
8
+ 4. Open a room player or **Audioserver Management**. See [players and groups](USER-GUIDE.md).
9
+
10
+ A nested preview directory is not a HACS repository. Use a version-bound integration installer, not an arbitrary full-file overlay on a different host release.
@@ -0,0 +1,65 @@
1
+ # PyLoxone-Audio
2
+
3
+ Audio features for [PyLoxone](https://github.com/JoDehli/PyLoxone), using the music accounts already configured in Loxone and the existing Home Assistant room players. No second integration or separate audio login.
4
+
5
+ **Library 0.2.1** and **reference audio adapter 0.2.1** must be updated together. The upstream PyLoxone host version is a separate compatibility baseline. Installing the Python library alone does not replace the host integration or its frontend.
6
+
7
+ ## What it adds
8
+
9
+ - Now-playing information, artwork, Browse and Search for supported Local Library, Spotify and radio sources.
10
+ - Playback, volume, source selection and supported seeking; Line-In mutes/unmutes instead of pausing external equipment.
11
+ - Temporary groups, saved presets, and playback controls for Config fixed groups without changing their membership.
12
+ - A group-named **Media Controls** view and **Audioserver Management**.
13
+ - Announcements to an explicitly selected speaker, dynamic group or Config fixed group.
14
+ - Version information and optional local diagnostic downloads.
15
+
16
+ ## See it in action
17
+
18
+ A look at the real interface in dark mode: manage speakers and groups, browse music, and use your existing Home Assistant room players. Personal room and account labels have been redacted.
19
+
20
+ ![Audioserver Management dark mode](docs/images/audioserver-management-dark.png)
21
+
22
+ **[Take the visual tour →](docs/UI-TOUR.md)** — group controls, music browsing, the native player and the phone-width layout.
23
+
24
+ ## Required setup
25
+
26
+ Use a matching host adapter. In **Settings → Devices & services → Loxone**, open the existing entry's options:
27
+
28
+ 1. Set **Audioserver host** to your Audio Server's hostname or IP address.
29
+ 2. Enable **Use Audio Server player play/pause (experimental; off by default)** (`audioserver_playback`).
30
+ 3. Save.
31
+
32
+ Despite its name, that option also enables browsing, source selection and return, supported seeking, Shuffle/Repeat, announcements and enhanced grouping. **Audio diagnostics** is separate and optional. Keep music accounts configured in Loxone; native Spotify does not require a separate Home Assistant Spotify login.
33
+
34
+ ## Compatibility and installation
35
+
36
+ The reference adapter targets PyLoxone's extracted `pyloxone-api` architecture. It requires the guarded-send/observer API extension: unmodified `pyloxone-api==0.6.1` does not provide that interface. Do not replace the dependency with stock 0.6.1 or copy this adapter over an arbitrary host version. See the [version-bound adapter guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/adapters/pyloxone/jo-review/README.md) for the exact host base and dependency requirements.
37
+
38
+ **Technology trial:** A [version-pinned manual preview](https://github.com/davehocking/PyLoxone-Audio/tree/main/preview-build) bundles the matching integration/UI and patched API so it can be tried before upstream adoption. It is **not a general upgrade or HACS release**: read its exact version requirements, update/overwrite warning and backup instructions first.
39
+
40
+ For standalone library development on Python 3.14 or newer:
41
+
42
+ ```sh
43
+ python -m pip install PyLoxone-Audio==0.2.1
44
+ ```
45
+
46
+ Home Assistant users should obtain the matching integration through its supported installation route rather than manually running pip in Home Assistant OS. A nested preview directory is not a HACS repository.
47
+
48
+ ## Guides
49
+
50
+ - [Players and groups](https://github.com/davehocking/PyLoxone-Audio/blob/main/USER-GUIDE.md)
51
+ - [Groups and presets](https://github.com/davehocking/PyLoxone-Audio/blob/main/GROUPS.md)
52
+ - [Announcements and automations](https://github.com/davehocking/PyLoxone-Audio/blob/main/AUTOMATIONS.md)
53
+ - [Update and recovery](https://github.com/davehocking/PyLoxone-Audio/blob/main/UPDATING.md)
54
+ - [Local diagnostics](https://github.com/davehocking/PyLoxone-Audio/blob/main/DIAGNOSTICS.md)
55
+ - [Release notes](https://github.com/davehocking/PyLoxone-Audio/blob/main/RELEASE-NOTES-0.2.1.md)
56
+
57
+ ## Limits
58
+
59
+ Source controls depend on the player's current state and advertised capability. Previous-source bookmarks are held in memory and may be lost on reload/restart; position return is best effort and does not reconstruct an entire queue. Fixed-group membership remains controlled by Loxone Config. Multiple supported announcement target types do not imply arbitrary concurrent announcements. A command acknowledgement is not acoustic confirmation in every room.
60
+
61
+ ## Developers and credits
62
+
63
+ The Home Assistant-independent library owns Audio Server commands, events and source policies. The host adapter owns setup, entities and cleanup and supplies current authentication. See [API](https://github.com/davehocking/PyLoxone-Audio/blob/main/API.md) and [contribution/testing](https://github.com/davehocking/PyLoxone-Audio/blob/main/CONTRIBUTING-RELEASE.md).
64
+
65
+ Built on PyLoxone and its contributors' work. Thanks to Sebastian (@SebastianEitzert) for his contributions. Development is human-directed with LLM assistance. [Apache-2.0](https://github.com/davehocking/PyLoxone-Audio/blob/main/LICENSE); existing [notices](https://github.com/davehocking/PyLoxone-Audio/blob/main/NOTICE.md) are retained. The separate communication API retains its own licence.
@@ -0,0 +1,11 @@
1
+ # PyLoxone-Audio 0.2.0
2
+
3
+ Update the library and matching reference audio adapter together. Updating the library alone does not replace integration files or static resources.
4
+
5
+ This release adds explicit speaker/dynamic-group/Config-group announcement targets, source artwork, richer group management and presets, a Rooms & Speakers directory, group-scoped playback views and proportional volume for fixed groups. It retains authenticated warm command sessions and strengthens request ownership, metadata recovery and announcement observation handling.
6
+
7
+ Audioserver Management and native Group entrypoints use the bundled frontend. Registration follows initial setup, later Options changes and existing enabled entries. When upgrading an existing manually registered audio module, update both the early-module YAML and any existing dashboard resource to the same new URL, or remove the obsolete audio duplicate; preserve unrelated resources.
8
+
9
+ Required setup remains **Audioserver host** plus **Use Audio Server player play/pause (experimental; off by default)**. Diagnostics are optional. The current reference adapter requires the guarded-send/observer communication API interface; stock 0.6.1 is insufficient. Consult the matching adapter guide before installation.
10
+
11
+ Bookmarks remain process-local; complete provider queues are not reconstructed. Group target support does not add arbitrary concurrent announcements or promise acoustic synchronisation across servers.
@@ -0,0 +1,13 @@
1
+ # PyLoxone-Audio 0.2.1
2
+
3
+ A bug-fix release for pausing multiple rooms while a dynamic group exists.
4
+
5
+ - Already-paused or stopped rooms, and fully quiet groups, can satisfy Pause from fresh native feedback without sending redundant commands.
6
+ - Playing or unqualified targets retain the existing guarded command path. Genuine errors remain visible; no automatic retries, fallbacks, volume changes or group-membership changes are added.
7
+ - The library provides one shared pause-state qualifier, used by the matching reference adapter.
8
+
9
+ Update **both the library and reference audio adapter to 0.2.1**. Installing the library alone does not update an existing Home Assistant integration. The complete technology-trial preview includes the matching adapter and patched API; its pinned host and installation requirements still apply.
10
+
11
+ Preserve local customisations, including climate changes, and take a full downloaded Home Assistant backup before changing an installation. The frontend and communication API are unchanged by this fix.
12
+
13
+ Thanks to SebastianEitzert for the large-installation report and testing input.
@@ -0,0 +1,32 @@
1
+ # Versions and audio diagnostics
2
+
3
+ Open **Audioserver Management → About PyLoxone-Audio** for version information and help with a problem. Opening About does not enable collection or operate your audio rooms.
4
+
5
+ ## Collect a support ZIP
6
+
7
+ A Home Assistant administrator can:
8
+
9
+ 1. Open **Enable diagnostics** in About. It opens the existing **Audio diagnostics** switch; turn it on deliberately.
10
+ 2. Repeat the problem using your normal controls. No sound is recorded.
11
+ 3. Reopen About, check the retained record range and choose **Download diagnostics (.zip)**.
12
+ 4. Turn collection off with the same control when finished.
13
+
14
+ If there are no records, the download button is disabled: enable diagnostics and repeat the problem first. **Collection off does not prevent downloading earlier retained records.** First and last records are observations, not proof of uninterrupted coverage. The ZIP records known gaps, dropped events and export omissions.
15
+
16
+ The file stays on your device. Nothing is automatically uploaded. Inspect it before choosing where to share it.
17
+
18
+ ## What the ZIP contains
19
+
20
+ - `diagnostics.json`: bounded state/error codes, timings and anonymous references used only within that export.
21
+ - `versions.json`: the backend-load version snapshot and build identity.
22
+ - `README.txt`: a short contents, coverage and omissions note.
23
+
24
+ It excludes usernames, credentials, tokens, IP addresses, unnecessary network/device/account identities, real room names, media titles and URLs, announcement text, raw household configuration and unrelated logs. Unknown fields and raw command routes are omitted. This is not a general Home Assistant diagnostic dump, and a command result does not prove physical playback.
25
+
26
+ ## Understand the versions
27
+
28
+ About distinguishes installed package labels, loaded-code reports, the backend's captured build and the browser UI actually loaded. Open **Build details** for the full values. Labels can differ; package metadata alone does not prove which code is running. Missing values are shown as unavailable. **Copy version information** copies only those displayed version/build fields.
29
+
30
+ A browser/backend mismatch can mean cached UI; refresh the page normally. If an enhancement is incompatible, use the existing integration diagnostics and version information in Settings.
31
+
32
+ Diagnostics is optional and separate from the audio playback option in [setup](QUICKSTART.md). For a matching update or rollback, follow [Update and recover](UPDATING.md).
@@ -0,0 +1,13 @@
1
+ # Update and recovery
2
+
3
+ Update **PyLoxone-Audio 0.2.1 and reference audio adapter 0.2.1 together**. Use the adapter matching the documented upstream host base and communication API interface. A package-manager upgrade alone does not replace component files or static resources.
4
+
5
+ 1. Make a supported full Home Assistant backup, including configuration and the current custom integration. Keep the previous complete integration and matching dependencies.
6
+ 2. Stop Home Assistant through its supported administration route before replacing integration files. Install the complete matching component instead of stock PyLoxone, not alongside it. Do not overwrite an unrecognised customised tree; reconcile your changes offline first.
7
+ 3. Let Home Assistant resolve the integration's declared dependencies through its supported route. Do not substitute unmodified API 0.6.1 for the required guarded-send interface.
8
+ 4. Start Home Assistant, check configuration/errors and confirm existing entities, settings and presets. Refresh the browser.
9
+ 5. If an early-module YAML entry and dashboard resource both register the audio module, update both to the same new URL or remove the obsolete audio duplicate, preserving unrelated resources.
10
+
11
+ For rollback, restore the complete previous component and its matching dependencies. Entry migration to version 5 can remove stored passwords; returning to PyLoxone 0.10.2 or earlier also requires restoring the pre-update configuration backup. Component-file rollback alone is not configuration recovery.
12
+
13
+ The reference is version-bound, not an evergreen overlay. Ordinary upstream updates can replace preview files. See the matching adapter guide before migrating to an upstream release.
@@ -0,0 +1,7 @@
1
+ # Using PyLoxone audio
2
+
3
+ Complete the [required setup](README.md#required-setup), then use the existing room media players. Open Browse for supported music sources. Available playback and seek controls depend on the source and current state; Line-In controls mute/unmute, not the external player.
4
+
5
+ Open **Audioserver Management** for Rooms & Speakers, deployed groups and saved presets. **Media Controls** on a group opens that group's playback view; room controls stay room-scoped. Config groups show **Membership locked** because only Loxone Config changes their membership; playback and volume remain available.
6
+
7
+ See [groups and presets](GROUPS.md) for volume behaviour, [announcements](AUTOMATIONS.md) for explicit targets and [local diagnostics](DIAGNOSTICS.md) when reporting a problem.