kalkih / forked-daapd-card

forked daapd card for Home Assistant Lovelace UI
MIT License
79 stars 12 forks source link

Missing control #10

Open amitkeret opened 3 years ago

amitkeret commented 3 years ago

Thank you for this custom card.

It seems that the control switches and buttons are missing in my setup; I'm only seeing the volume sliders. The different outputs respond correctly when they are switched on/off from forked-daapd's interface, however the switches to do so from the card itself are missing.

Screen Shot 2021-05-21 at 10 23 23 pm

It looks like the section itself is being rendered (since the slider is being displayed, but other components are not. Looking at the code, I believe this has something to do with using the custom elements (ha-switch, ha-icon-button etc.) in the templates.

Any help would be appreciated. HA version: core-2021.5.4

Skons commented 2 years ago

A bit late for this, but it has to do with your home assistant running https and wss (secure websocket) and owntone not. To solve this you'll need to resolve home assistant over http (not recommended) or make sure owntone is running https with wss. I have not found how you can run owntone with https, maybe this can also be solved with a reverse proxy.

amitkeret commented 2 years ago

I have not found how you can run owntone with https

ummm.... So either run HA in HTTP (not recommended), or run OwnTone in HTTPS (both of us don't know how to do this)?... So how is this card meant to work then?

kalkih commented 2 years ago

Please see #3

amitkeret commented 2 years ago

Hi there Thanks for the link. However, I have connected to my HA instance via HTTP (over LAN), and still no controls appearing.

big111boy commented 2 years ago

Hi there Thanks for the link. However, I have connected to my HA instance via HTTP (over LAN), and still no controls appearing. I have the same problem