Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Songpal device with multiple zones confuses HA #14936

Closed
WazWaz opened this issue Jun 12, 2018 · 9 comments · Fixed by #16297
Closed

Songpal device with multiple zones confuses HA #14936

WazWaz opened this issue Jun 12, 2018 · 9 comments · Fixed by #16297
Assignees

Comments

@WazWaz
Copy link

WazWaz commented Jun 12, 2018

Home Assistant release with the issue:

0.70.1

Last working Home Assistant release (if known):

Never since songpal was added.

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io on RaspberryPi

Component/platform:

https://www.home-assistant.io/components/media_player.songpal/

Description of problem:

The logs continuously reports:

1:05 AM components/media_player/songpal.py (WARNING)
The device seems to have more than one volume setting.

Yes, the device has a volume control for main and for other zones.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

# Discover some devices automatically
discovery:
  # ignore:
  #   - songpal # otherwise, HA spews warnings to log.

and in entity_registry.yaml:

media_player.strdn1070_7aa888_2:
  name: Songpal
  platform: songpal
  unique_id: 10:4f:a8:7a:a8:88

Traceback (if applicable):


Additional information:

I understand that controlling the other zones is a feature request, and I'll add that, the bug is that it logs the error continuously (every 10 seconds or so), spamming the log.

@WazWaz
Copy link
Author

WazWaz commented Jun 12, 2018

Issue #13022 seems to be about something related, and the fix changes a WARNING to a DEBUG, but I'm still seeing the WARNING.

The fix was: 5c4a046

@rytilahti
Copy link
Member

Are you sure you are running 0.70.1? Can you check that the file uses DEBUG instead of WARNING in your installation?

@AlpineWhite
Copy link

I can also vouch for seeing this warning constantly on 0.74.2 with an STR-DN1060. I have tried setting [code]logger:
default: info
logs:
homeassistant.components.media_player: error[/code]

But the warnings persist every 10 seconds. Similarly, setting the endpoint manually in an ubuntu deployment and using the songpal CLI shows volume level as -1/55.

@Titirangikid
Copy link

System HassOS 1.9 Home Assistant 0.76.2
Hass.io supervisor Version 128
STR-DN1080

Hi I'm constantly getting the following warning.

The device seems to have more than one volume setting.
11:50 PM components/media_player/songpal.py (WARNING)
The device seems to have more than one volume setting.
11:50 PM components/media_player/songpal.py (WARNING)
The device seems to have more than one volume setting.
11:50 PM components/media_player/songpal.py (WARNING)
The device seems to have more than one volume setting.
11:50 PM components/media_player/songpal.py (WARNING)
The device seems to have more than one volume setting.
11:50 PM components/media_player/songpal.py (WARNING)
The device seems to have more than one volume setting.
11:49 PM components/media_player/songpal.py (WARNING)

rytilahti added a commit to rytilahti/home-assistant that referenced this issue Aug 30, 2018
@ghost ghost assigned rytilahti Aug 30, 2018
@ghost ghost added the in progress label Aug 30, 2018
@rytilahti
Copy link
Member

rytilahti commented Aug 30, 2018

The warning is coming from the upstream library, sorry for not taking care of it earlier. The linked PR bumps the dependency (or you can simply install python-songpal==0.0.8 manually) to fix this.

edit: or to hide the warning via logger configuration, you can also use songpal: error.

@Titirangikid
Copy link

Thanks rytilahti, sorry how do I install python-songpal==0.0.8 manually in Hass.io?

@Titirangikid
Copy link

Titirangikid commented Nov 21, 2018

Hi @WazWaz any luck with adding the controlling other zones feature request?
Sony STR-DN1080

volume_level: 0.5454545454545454
is_volume_muted: false
source: Main Zone
source_list: Main Zone,Zone 2,HDMI Zone,SOURCE,HTPC,CCAST,SAT/CATV,XboxOne,VIDEO 2,TV,SA-CD/CD,Bluetooth Audio
friendly_name: Sony AV
supported_features: 3468`

@WazWaz
Copy link
Author

WazWaz commented Nov 21, 2018

No, I just stopped using songpal.

@Titirangikid
Copy link

Thanks, @WazWaz so what are you using?

@home-assistant home-assistant locked and limited conversation to collaborators Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants