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

.38.2 SSL and Sonos issues #5959

Closed
scottdalton opened this issue Feb 13, 2017 · 3 comments
Closed

.38.2 SSL and Sonos issues #5959

scottdalton opened this issue Feb 13, 2017 · 3 comments

Comments

@scottdalton
Copy link

scottdalton commented Feb 13, 2017

Home Assistant release (hass --version): 0.38.2

Python release (python3 --version): Python 3.4.3

Component/platform: Media Player/Sonos

With the Sonos component, attempting to issue media player commands in a script such as:

  - service: media_player.sonos_snapshot
    data_template:
      with_group: true
  - service: media_player.sonos_unjoin
    entity_id: media_player.bathroom, media_player.hallway
  - service: media_player.sonos_join
    data_template:
      master: media_player.bathroom
      entity_id: media_player.hallway

results in the following error:
17-02-13 17:58:05 WARNING (MainThread) [homeassistant.core] Unable to find service media_player/sonos_snapshot
17-02-13 17:58:15 WARNING (MainThread) [homeassistant.core] Unable to find service media_player/sonos_unjoin
17-02-13 17:58:25 WARNING (MainThread) [homeassistant.core] Unable to find service media_player/sonos_join

Expected Behavior:
These features worked as expected in .37. Possible regression of new Sonos updates in 0.37?

[Edit] : Moved developer tools to existing issue #5941:
-With 0.38.2 (and .1) trying to access the Developer tools Services/States icons via SSL results in a spinner which never resolves. Connecting via http:// works fine.
In my particular case I'm going through a reverse proxy so Home Assistant itself is not set up to use SSL. Nothing to speak of in the logs.-

@andriej
Copy link
Contributor

andriej commented Feb 13, 2017

Might be connected with #5954

@pvizeli
Copy link
Member

pvizeli commented Feb 14, 2017

Works fine for me on 0.38. Looks like you sonos is not be discovered. Use:

media_player:
  platform: sonos

@scottdalton
Copy link
Author

Thanks! This appears to have resolved the issue.
Previously these were auto-discovered including platform details, so I didn't realize they needed an explicit media_player entry.

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

No branches or pull requests

3 participants