Coder Social home page Coder Social logo

thlucas1 / homeassistantcomponent_soundtouchplus Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 1.0 208 KB

Home Assistant integration for Bose SoundTouch speakers

License: MIT License

Python 100.00%
bose integration soundtouch home-assistant home-assistant-component home-assistant-hacs home-assistant-integration python3 soundtouchplus bose-soundtouch

homeassistantcomponent_soundtouchplus's People

Contributors

thlucas1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mohamed-e

homeassistantcomponent_soundtouchplus's Issues

Websocket Exception never retrieved

System Health details

System Information

version core-2024.5.3
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.0-18-amd64
arch x86_64
timezone Europe/Rome
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1407
Downloaded Repositories 94
HACS Data ok
Home Assistant Supervisor
host_os Debian GNU/Linux 12 (bookworm)
update_channel stable
supervisor_version supervisor-2024.05.1
agent_version 1.4.1
docker_version 26.0.0
disk_total 221.9 GB
disk_used 128.3 GB
healthy true
supported true
supervisor_api ok
version_api ok
installed_addons AppDaemon (0.16.5), Home Assistant Google Drive Backup (0.112.1), Let's Encrypt (5.0.18), MariaDB (2.7.1), NGINX Home Assistant SSL proxy (3.9.0), TasmoAdmin (0.30.2), UniFi Network Application (3.0.5), Rhasspy Assistant (2.5.11), OpenVPN Client (0.0.2), Remote API proxy (1.3.0), Music Assistant BETA (2.1.0b0), Hikvision Doorbell (3.0.14), ESPHome (2024.5.0), Prowlarr NAS (nightly-1.17.2.4510-ls197), FlareSolverr (3.3.17), Transmission (4.0.5-3), Radarr (5.4.6.8723-5), Sonarr (4.0.4.1668), Network UPS Tools (0.13.0), Jellyseerr (1.8.1), go2rtc (1.9.1), Frigate (Full Access) (0.13.2), Exadel CompreFace (1.1.0), Double Take (beta) (1.13.1), Portainer (2.20.1), Piper (1.5.0), Whisper (2.0.0), openWakeWord (1.10.0), Cloudflared (5.1.9), Rclone Backup (3.1.0), Jellyfin NAS (10.8.13-3-3), Music Assistant (2.0.4)
Dashboards
dashboards 8
resources 55
views 29
mode storage
Recorder
oldest_recorder_run May 8, 2024 at 7:40 PM
current_recorder_run May 16, 2024 at 8:15 PM
estimated_db_size 2626.28 MiB
database_engine mysql
database_version 10.11.6
Solcast PV Forecast
can_reach_server ok
used_requests 8
rooftop_site_count 1
Bose SoundTouch Plus
integration_version v1.0.42
devices_configured 4: SoundTouch 20 LivingRoom (SoundTouch 20), SoundTouch 10 Bedroom (SoundTouch 10), SoundTouch 10 Giulio (SoundTouch 10), SoundTouch 10 Gym (SoundTouch 10)
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled SmartInspect debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Hi, I'm seeing sometimes this error in the logs:

2024-05-17 13:29:16.381 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
    await self._send_frame(message, WSMsgType.PING)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 682, in _send_frame
    self._write(header + message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
    raise ConnectionResetError("Cannot write to closing transport")ConnectionResetError: Cannot write to closing transport
2024-05-17 13:29:16.420 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aioshelly/rpc_device/wsrpc.py", line 267, in _ping_if_not_closed
    await self._client.ping()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 157, in ping
    await self._writer.ping(message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
    await self._send_frame(message, WSMsgType.PING)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
    self._write(header + mask + message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
    raise ConnectionResetError("Cannot write to closing transport")ConnectionResetError: Cannot write to closing transport
2024-05-17 13:29:16.421 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aioshelly/rpc_device/wsrpc.py", line 267, in _ping_if_not_closed
    await self._client.ping()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 157, in ping
    await self._writer.ping(message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
    await self._send_frame(message, WSMsgType.PING)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
    self._write(header + mask + message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
    raise ConnectionResetError("Cannot write to closing transport")ConnectionResetError: Cannot write to closing transport
2024-05-17 13:29:16.423 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aioshelly/rpc_device/wsrpc.py", line 267, in _ping_if_not_closed
    await self._client.ping()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 157, in ping
    await self._writer.ping(message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 715, in ping
    await self._send_frame(message, WSMsgType.PING)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 675, in _send_frame
    self._write(header + mask + message)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 702, in _write
    raise ConnectionResetError("Cannot write to closing transport")ConnectionResetError: Cannot write to closing transport

It seems that it is happening usually upon automation reload button pressure from devtools.

I don't know if it's a consequence or the cause for home assistant reload (it gets stuck for few seconds, the web ui gets disconnected and I have to wait few seconds and refresh).

What do you think?

Reproduction steps

Don't really know, except for details I gave you

Debug logs

Let me know if you need these

Diagnostics dump

No response

HA 2024.6.1 - async_unload - ValueError: list.remove(x): x not in list

Describe the issue

With the HA 2024.6.1 release, I started getting ValueError: list.remove(x): x not in list errors in the System log whenever I change component options via the UI.

Did something change with the HA 2024.6 release with options update listener processing? I use the following code in various integrations that provide options configuration:

async def async_setup_entry(hass:HomeAssistant, entry:ConfigEntry) -> bool:
...
        # register an update listener to reload configuration entry when options are updated.
        # this will return an "unlisten" function, which will be added to the configuration
        # "on_unload" event handler to automatically unregister the update listener when
        # the configuration is unloaded.
        listenerRemovePtr = entry.add_update_listener(options_update_listener)
        entry.async_on_unload(listenerRemovePtr)
...
async def options_update_listener(hass:HomeAssistant, entry:ConfigEntry) -> None:
...

Reproduction steps

  1. Assuming SoundTouchPlus component is installed.
  2. via UI, change configuration options for the component and click 'Save'.
  3. The ValueError: list.remove(x): x not in list exception will appear in the System Log.

Debug logs

Logger: homeassistant.config_entries
Source: config_entries.py:820
First occurred: 10:54:41 PM (2 occurrences)
Last logged: 10:55:20 PM

Error unloading entry Bose-ST300 for soundtouchplus
Error unloading entry Bose-ST10-1 for soundtouchplus
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 820, in async_unload
    await self._async_process_on_unload(hass)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 980, in _async_process_on_unload
    if job := self._on_unload.pop()():
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 948, in <lambda>
    return lambda: self.update_listeners.remove(listener)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: list.remove(x): x not in list

Return capital letters to media_title

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

...

Describe the solution you'd like

Hello,

I have a request.
Is it possible to format the media_title always the same?

I have several Soundtouch devices unfortunately the media_title is returned differently per
device.
If devices are grouped, the formatting of the media_title may also change.

Sample:
media_title: BAYERN 3
or
media_title: Bayern 3

Gross

klein

Is it possible that all letters are returned as capital letters to media_title?

Thank you and best regards
Gunter

Describe alternatives you've considered

...

Additional context

...

High CPU Usage prior to version 1.0.16

System Health details

  • sensors.proccessor_use state value reads around 50% cpu consumption at all times.

Checklist

  • I have enabled SmartInspect debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

v1.0.16 corrected a high cpu rate condition in the underlying SmartInspectPython package api. This was causing the integration to consume 50%+ of the cpu at all times.

Reproduction steps

  1. install the SoundTouchPlus integration (v1.0.15 or lower) via HACS.
  2. configure system monitoring options, specifically the processor_use state value.
  3. restart HA.
  4. view sensors.proccessor_use state value, which should read around 50% cpu consumption.

Debug logs

n/a

Diagnostics dump

n/a

no physical Sources - SoundTouch 520

System Health details

no information here

Checklist

  • I have enabled SmartInspect debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

hello Lucas,
thanks for the good work you do here. I really appreciate it, as the original Bose integration kind of sucks :slight_smile:

I have an (see also pic attached):
BOSE SoundTouch 520 5.1 Home Cinema System

Unfortunately it the source selection is not working as expected, it does not show any of the physical inputs. As you see, the remote has 6 input buttons (5x HDMI, 1x BT&Digital media).

I feel like if I switch via old remote control to e.g. GAME the HA integrations (official Bose integration & Bose SoundTouchPlus) consider the system to be OFF. I guess that the Amplifier turn off the black bar (marked red in pic).
Never the less, SoundTouch app and Win-Version are working excellent.

See below what I get as source displayed with latest version v1.0.26.
Attaches are also the logs from browser.
2024-01-02_19h43_00

th-2845783390
s-l500-3451630720

sources_info_suppURLs.zip

Reproduction steps

...

Debug logs

see zip file

Diagnostics dump

No response

artwork bug when using spotify

System Health details

System Information

version core-2024.3.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.20-haos
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1472
Downloaded Repositories 24
HACS Data ok
Home Assistant Cloud
logged_in true
subscription_expiration 8 août 2024 à 02:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server eu-central-1-12.ui.nabu.casa
certificate_status ready
instance_id f20704f83c404a12bc56555d3eb58cd7
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.1
update_channel stable
supervisor_version supervisor-2024.03.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 219.4 GB
disk_used 9.6 GB
healthy true
supported true
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Samba share (12.3.1), Duck DNS (1.16.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Terminal & SSH (9.10.0)
Dashboards
dashboards 8
resources 28
views 12
mode storage
Recorder
oldest_recorder_run 25 mars 2024 à 18:40
current_recorder_run 2 avril 2024 à 19:59
estimated_db_size 664.19 MiB
database_engine sqlite
database_version 3.44.2

Checklist

  • I have enabled SmartInspect debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

artwork bug when using spotify. the artwork of the first song is displayed and never change after ... only the name of the song change.

when using the official integration for sountouch, it works ...

tested with last version of HA and soundtouch plus integration

Reproduction steps

...

Debug logs

## System Information

version | core-2024.3.3
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
user | root
virtualenv | false
python_version | 3.12.2
os_name | Linux
os_version | 6.6.20-haos
arch | x86_64
timezone | Europe/Paris
config_dir | /config

<details><summary>Home Assistant Community Store</summary>

GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
GitHub API Calls Remaining | 5000
Installed Version | 1.34.0
Stage | running
Available Repositories | 1472
Downloaded Repositories | 24
HACS Data | ok

</details>

<details><summary>Home Assistant Cloud</summary>

logged_in | true
-- | --
subscription_expiration | 8 août 2024 à 02:00
relayer_connected | true
relayer_region | eu-central-1
remote_enabled | true
remote_connected | true
alexa_enabled | false
google_enabled | true
remote_server | eu-central-1-12.ui.nabu.casa
certificate_status | ready
instance_id | f20704f83c404a12bc56555d3eb58cd7
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Home Assistant OS 12.1
-- | --
update_channel | stable
supervisor_version | supervisor-2024.03.1
agent_version | 1.6.0
docker_version | 24.0.7
disk_total | 219.4 GB
disk_used | 9.6 GB
healthy | true
supported | true
board | generic-x86-64
supervisor_api | ok
version_api | ok
installed_addons | File editor (5.8.0), Samba share (12.3.1), Duck DNS (1.16.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Terminal & SSH (9.10.0)

</details>

<details><summary>Dashboards</summary>

dashboards | 8
-- | --
resources | 28
views | 12
mode | storage

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | 25 mars 2024 à 18:40
-- | --
current_recorder_run | 2 avril 2024 à 19:59
estimated_db_size | 664.19 MiB
database_engine | sqlite
database_version | 3.44.2

</details>

Diagnostics dump

No response

Add Service - ToggleZoneMembers

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

no - new feature.

Describe the solution you'd like

Create a new service named ToggleZoneMembers that will add (if not exist) or remove (if exist) members to / from a zone group. If the zone member is in the group then remove it; if the zone member is not in the group then add it.

Describe alternatives you've considered

The alternative is to code logic that will check for the existence (or not) of the member in the zone, and then add / remove it accordingly.

Additional context

I attach zwave buttons to the back of my SoundTouch speakers, and call a ToggleZoneSlave service to join / unjoin a speaker by tapping the zwave button on the speaker.

Credit goes to @jasebob for the suggestion.

Error when setting the dialogue mode

System Health details

Core: 2024.8.2
Supervisor: 2024.08.0
Operating System: 13.0
Frontend: 20240809.0
Bose SoundTouchPlus: 1.0.59

Checklist

  • I have enabled SmartInspect debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Hello,

If I set the dialogue mode using the following script, switching to dialogue mode works:

alias: Soundtouch300-Dialog
sequence:
  - action: media_player.select_sound_mode
    data:
      sound_mode: Dialog
    target:
      entity_id: media_player.soundtouch_300_3
description: Stellt den Dialogmodus ein
icon: ave:bose-soundbar

Switching back to normal mode also works as expected.

However, once I have switched dialogue mode on or off with the original Bose Remote control, the script no longer works.

Error message: The action script/soundtouch300_dialog could not be executed.
argument of type 'NoneType' is not iterable

I first have to restart the HA, then I can set the mode again via HA.

Error

Thanks and best regards
Gunter

Reproduction steps

  1. Set the Dialogmodus via HA
  2. Press Dialogmodus on the Bose Remote control
  3. Try to set the Dialogmodus via HA

Debug logs

...

Diagnostics dump

No response

Lovelace Card to Display and Select Presets

Describe the solution you'd like

Ability to display a preset list that is automatically syncronized with updates made by SoundTouch App and other sources.

Here is what I have so far, that does not work:

type: custom:auto-entities
card:
  type: grid
  columns: 3
  title: Bose Preset List
  card_param: cards
filter:
  template: >-
    {% set serviceResponse = None -%} 

    {%- set itmMediaPlayerEntityId = 'media_player.bose_st10_1' -%}

    {%- if has_value('sensor.bose_preset_list') -%}

    {%-   set serviceResponse =  state_attr('sensor.bose_preset_list','serviceResponse') -%}

    {%- endif -%}

    {%- if serviceResponse != None -%}

      {%- for preset in serviceResponse['presets']['preset'] -%}
        {%- set itmContainerArt = preset['ContentItem']['containerArt'] | default('') -%}
        {%- set itmItemName = preset['ContentItem']['itemName'] | default('') -%}
        {%- set itmSource = preset['ContentItem']['@source'] | default('') -%}
        {%- set itmSourceAccount = preset['ContentItem']['@sourceAccount'] | default('') -%}
        {%- set itmItemType = preset['ContentItem']['@type'] | default('') -%}
        {%- set itmLocation = preset['ContentItem']['@location'] | default('') -%}
        {{
          {
            'type': 'picture-entity',
            'entity': 'input_boolean.always_enabled_helper',
            'image': '\' + itmContainerArt + '\',
            'show_state': 'false',
            'show_name': 'true',
            'name': '\' + itmItemName + '\',
            'tap_action': {
              'action': 'fire-dom-event',
              'browser_mod': {
                'service': 'soundtouchplus.play_contentitem', 
                'data': { 
                  'is_presetable': 'true',
                  'entity_id': '\' + itmMediaPlayerEntityId + '\',
                  'name': '\' + itmItemName + '\',
                  'source': '\' + itmSource + '\',
                  'source_account': '\' + itmSourceAccount + '\',
                  'item_type': '\' + itmItemType + '\',
                  'location': '\' + itmLocation + '\',
                  'container_art': '\' + itmContainerArt + '\',
                }
              } 
            }
          }
        }},
      {%- endfor %}
    {%- endif %}

Create entities under the tts domain

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Hi again @thlucas1 ,

i'm wondering if it makes any sense to you to publish an entity for the soundtouchplus.play_tts as an entity under the tts domain as detailed here: https://www.home-assistant.io/integrations/tts/#service-speak, so we can use it with the tts.speak service.

Describe the solution you'd like

Use tts.speak service as a general method to invoke tts having soundtouchplus.play_tts as tts. entity.

Describe alternatives you've considered

Keep using it as it is

Additional context

no other context

ST-10 goes Unknown sometimes

System Health details

System Information

version core-2024.2.0
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.0-17-amd64
arch x86_64
timezone Europe/Rome
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1475
Downloaded Repositories 85
Home Assistant Supervisor
host_os Debian GNU/Linux 12 (bookworm)
update_channel stable
supervisor_version supervisor-2024.01.1
agent_version 1.4.1
docker_version 24.0.7
disk_total 221.9 GB
disk_used 107.4 GB
healthy true
supported true
supervisor_api ok
version_api ok
installed_addons AppDaemon (0.16.4), Home Assistant Google Drive Backup (0.112.1), Let's Encrypt (5.0.15), MPD (1.7.2), MariaDB (2.6.1), NGINX Home Assistant SSL proxy (3.7.0), TasmoAdmin (0.29.1), UniFi Network Application (3.0.3), Rhasspy Assistant (2.5.11), OpenVPN Client (0.0.2), Remote API proxy (1.2.0), Spotify Connect (0.13.0), Music Assistant BETA (2.0.0b92), Hikvision Doorbell (3.0.14), ESPHome (2023.12.9), Prowlarr NAS (nightly-1.13.2.4251-ls108), FlareSolverr (3.3.13-2), Transmission (4.0.5), Radarr (5.2.6.8376), Sonarr (4.0.1.1047), Network UPS Tools (0.13.0), Jellyfin NAS (10.8.13-3-3), Jellyseerr (1.7.0test3), go2rtc (1.8.5), Frigate (Full Access) (0.13.1), Exadel CompreFace (1.1.0), Double Take (beta) (1.13.1), Portainer (2.19.4-3), Piper (1.4.0), Whisper (1.0.2), openWakeWord (1.8.2)
Dashboards
dashboards 3
resources 51
views 26
mode storage
Recorder
oldest_recorder_run January 30, 2024 at 3:49 PM
current_recorder_run February 7, 2024 at 9:32 PM
estimated_db_size 2298.02 MiB
database_engine mysql
database_version 10.6.12
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled SmartInspect debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Hi @thlucas1 ,

Out of my 4 devices (3 ST-10 and one ST-20), 3 of them (ST-10 ones) become unknown and i have to reload the integration to make ten work again.

Only relevant thing in the logs with debugging logs is that I see hundreds of requests to ST-20, but none to ST-10s.

Do you have any idea where I should start to debug this?

Thanks!

Reproduction steps

Just add an st-10 and wait

Debug logs

2024-02-09 14:51:37.042 DEBUG (SyncWorker_35) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting zone status
2024-02-09 14:51:37.042 DEBUG (SyncWorker_35) [bosesoundtouchapi.soundtouchclient] Getting Zone configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:37.042 DEBUG (SyncWorker_35) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/getZone'
2024-02-09 14:51:46.975 DEBUG (SyncWorker_36) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method (_attr_should_poll=True)
2024-02-09 14:51:46.975 DEBUG (SyncWorker_36) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting nowPlaying status
2024-02-09 14:51:46.975 DEBUG (SyncWorker_36) [bosesoundtouchapi.soundtouchclient] Getting NowPlayingStatus configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:46.975 DEBUG (SyncWorker_36) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/nowPlaying'
2024-02-09 14:51:47.008 DEBUG (SyncWorker_36) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting volume status
2024-02-09 14:51:47.008 DEBUG (SyncWorker_36) [bosesoundtouchapi.soundtouchclient] Getting Volume configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:47.008 DEBUG (SyncWorker_36) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/volume'
2024-02-09 14:51:47.023 DEBUG (SyncWorker_36) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting zone status
2024-02-09 14:51:47.023 DEBUG (SyncWorker_36) [bosesoundtouchapi.soundtouchclient] Getting Zone configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:47.023 DEBUG (SyncWorker_36) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/getZone'
2024-02-09 14:51:56.975 DEBUG (SyncWorker_26) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method (_attr_should_poll=True)
2024-02-09 14:51:56.975 DEBUG (SyncWorker_26) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting nowPlaying status
2024-02-09 14:51:56.976 DEBUG (SyncWorker_26) [bosesoundtouchapi.soundtouchclient] Getting NowPlayingStatus configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:56.976 DEBUG (SyncWorker_26) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/nowPlaying'
2024-02-09 14:51:57.019 DEBUG (SyncWorker_26) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting volume status
2024-02-09 14:51:57.020 DEBUG (SyncWorker_26) [bosesoundtouchapi.soundtouchclient] Getting Volume configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:57.021 DEBUG (SyncWorker_26) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/volume'
2024-02-09 14:51:57.045 DEBUG (SyncWorker_26) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting zone status
2024-02-09 14:51:57.046 DEBUG (SyncWorker_26) [bosesoundtouchapi.soundtouchclient] Getting Zone configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:51:57.046 DEBUG (SyncWorker_26) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/getZone'
2024-02-09 14:52:06.976 DEBUG (SyncWorker_45) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method (_attr_should_poll=True)
2024-02-09 14:52:06.976 DEBUG (SyncWorker_45) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting nowPlaying status
2024-02-09 14:52:06.977 DEBUG (SyncWorker_45) [bosesoundtouchapi.soundtouchclient] Getting NowPlayingStatus configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:52:06.977 DEBUG (SyncWorker_45) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/nowPlaying'
2024-02-09 14:52:07.017 DEBUG (SyncWorker_45) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting volume status
2024-02-09 14:52:07.018 DEBUG (SyncWorker_45) [bosesoundtouchapi.soundtouchclient] Getting Volume configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:52:07.019 DEBUG (SyncWorker_45) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/volume'
2024-02-09 14:52:07.047 DEBUG (SyncWorker_45) [custom_components.soundtouchplus.media_player] 'SoundTouch 20 LivingRoom': update method - getting zone status
2024-02-09 14:52:07.047 DEBUG (SyncWorker_45) [bosesoundtouchapi.soundtouchclient] Getting Zone configuration for SoundTouch device: 'SoundTouch 20 LivingRoom'
2024-02-09 14:52:07.048 DEBUG (SyncWorker_45) [bosesoundtouchapi.soundtouchclient] SoundTouchClient http request: 'http://10.11.12.66:8090/getZone'


### Diagnostics dump

_No response_

possible to show a picture in mini media player when product:TV

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

i use mini media player to show on screens what is playing, it works with BT, spotify, tunenin etc with full cover

Describe the solution you'd like

would like to add the possibility of showing picture or screencap of my fire tv when the media player is on PRODUCT:TV

Describe alternatives you've considered

...

Additional context

...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.