kalkih / forked-daapd-card

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

Lovalace forked daapd card is not working #1

Closed stlas closed 6 years ago

stlas commented 6 years ago

Hi, my server is up and running, works well in the browser. The code on top of ui-lovelace.yaml is: - url: /local/forked-daapd-card.js?v=0.8.3 type: module and below: - type: custom:forked-daapd-card entity: media_player.mpd ip: 192.168.178.$$$ port: 3689 name: Multiroom The result is: screenshot 23 Thanx for your help. Stefan

stlas commented 6 years ago

Sorry, i inserted it as "code" but the newlines are gone...

kalkih commented 6 years ago

Seems like the mpd media player is unavailable. Does your media_player.mpd work if you set it up as a normal media-control card? Or does it still show up as unavailable?

- entity: media_player.mpd
  type: media-control
stlas commented 6 years ago

You are right. In the states it shows: media_player.mpd | unavailable | friendly_name: MPD In the configuration.yaml:

media_player:
  - platform: mpd
    host: 192.168.178.$$$
kalkih commented 6 years ago

Yes, that's the issue, make sure you set up your forked daapd in home assistant properly.

kalkih commented 6 years ago

@stlas Did you get it working?