I run HA on a Raspberry Pi All in One installer and have been through several updates. Just for safety sake I decided to build up a new SD card with a fresh 0.40.0 to deploy if I ever have to. I get under the hood and muck around sometimes.
My house is full of Raspberry Pi and Mac LogitechMediaServers (squeezebox). I’ve used it for years and love the platform. The fact it integrates into HA is great however I just weblink to the server pages to control them.
Anyway this has always happened to me and I just noticed it happened again on a fresh install of 0.40.0.
17-03-14 05:43:00 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
17-03-14 05:43:50 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
17-03-14 05:44:53 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform squeezebox
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 148, in _async_setup_platform
entity_platform.async_schedule_add_entities, discovery_info
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/squeezebox.py", line 87, in async_setup_platform
players = yield from lms.create_players()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/squeezebox.py", line 110, in create_players
for players in data['players_loop']:
KeyError: 'players_loop'
17-03-14 05:45:16 ERROR (Thread-9) [plexapi] http://192.168.20.2:32400: (401) unauthorized
17-03-14 05:45:16 ERROR (Thread-12) [plexapi] http://192.168.20.6:32400: (401) unauthorized
I get the Plex errors, I haven’t added the token yet. But the squeezebox errors are persistent and exist on my deployed system as well. That being said the squeezebox platform works perfectly. Finds all my squeezeboxes and puts the control up on the main page and this is on a FRESH install. Nothing is configured in configuration.yaml yet.
Just figured I’d ask/report to see if anyone knows what this is. Again all seems to be working with squeezebox windows and again on the deployed system I use a weblink to the actual server which gives total control. The HA control doesn’t do much, just stop and start basically and show visually cover art or station pic.
Here’s my weblink control and also indicates one of my squeezeboxes on my deployed system.
Here’s my fresh install of 0.40.0 Both show the squeezeboxes, both have similar errors. Everything seems to work fine on both. Just some kind of bug I guess.