home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.66k stars 30.79k forks source link

frontier_silicon/media_player - Could not retrieve equaliser 1 in equaliser list #81250

Closed stingone closed 1 year ago

stingone commented 2 years ago

The problem

After the latest update my frontier silicon device is not loading anymore. the device is traceable and setting have not changed.

See log below:

Logger: homeassistant.components.media_player Source: components/frontier_silicon/media_player.py:196 Integration: Mediaspeler (documentation, issues) First occurred: 13:38:54 (1 occurrences) Last logged: 13:38:54

frontier_silicon: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/usr/src/homeassistant/homeassistant/components/frontier_silicon/media_player.py", line 196, in async_update eq_preset = await afsapi.get_eq_preset() File "/usr/local/lib/python3.10/site-packages/afsapi/api.py", line 532, in get_eq_preset raise FSApiException(f"Could not retrieve equaliser {v} in equaliser list") afsapi.exceptions.FSApiException: Could not retrieve equaliser 1 in equaliser list

What version of Home Assistant Core has the issue?

2022.10.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

frontier_silicon

Link to integration documentation on our website

https://www.home-assistant.io/integrations/frontier_silicon/

Diagnostics information

Logger: homeassistant.components.media_player Source: components/frontier_silicon/media_player.py:196 Integration: Mediaspeler (documentation, issues) First occurred: 13:38:54 (1 occurrences) Last logged: 13:38:54

frontier_silicon: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update await task File "/usr/src/homeassistant/homeassistant/components/frontier_silicon/media_player.py", line 196, in async_update eq_preset = await afsapi.get_eq_preset() File "/usr/local/lib/python3.10/site-packages/afsapi/api.py", line 532, in get_eq_preset raise FSApiException(f"Could not retrieve equaliser {v} in equaliser list") afsapi.exceptions.FSApiException: Could not retrieve equaliser 1 in equaliser list

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 years ago

Hey there @wlcrs, mind taking a look at this issue as it has been labeled with an integration (frontier_silicon) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `frontier_silicon` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant unassign frontier_silicon` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


frontier_silicon documentation frontier_silicon source (message by IssueLinks)

wlcrs commented 2 years ago

Can you post the output of the following URLs ? (with 192.168.1.183 changed to the IP of your radio, and the pin adapted if you changed it from the default 1234?) This will help me understand how your radio behaves differently than mine, so that I can implement a proper fix.

http://192.168.1.183/fsapi/GET/netRemote.sys.audio.eqpreset?pin=1234 http://192.168.1.183/fsapi/LIST_GET_NEXT/netRemote.sys.caps.eqPresets/-1?pin=1234&maxItems=10

stingone commented 2 years ago

First URL gives: `

FS_OK 1

`

Second URL gives: `

FS_OK Tone control

`

issue-triage-workflows[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.