Is this component working with HA 0.110.3, because I would like to try it.
Has anyone been able to get this to work with Spotify playlists?
Running on HA 0.112.3 so yes, the only issues I have noted so far are that:
- mute and stop icons are not showing at least in Firefox
- HA Android App does not seem to understand js and so outputs a red box message saying: Custom element doesnāt exist: jukebox-card
@lukx You are a gentleman and a scholar, i have been looking for a simpler way to do this for a while, i am unsure of why i missed it
Thank you
clearing the app cache fixed the js error on my android
To fix the stop and mute buttons, you need to fix line 67 and 78 in /www/jukebox.js
const muteButton = document.createElement('ha-icon-button');
const stopButton = document.createElement('ha-icon-button')
@lukx i have a pull request submitted
1 how do you install it?
I have problem with the lovelace card.
I put the following in an entities card but I get the following error
What should I do?
Hey,
I am reviewing the open PRs on github and testing it on my setup today, re-writing later
Thatās great. Please inform us when you finish.
You need to remove the first 6 lines completely and then correct the indentationā¦
Hey,
I was able to install the jukebox card using HACS now, which you can do as an alternative to using the method described in the Readme file.
Thanks to everybody who contributed! I am now opening a pull request to become part of the official HACS repo
Hi,
Trying to install this, but keeps getting an error that my lovelace frontend that Custom element doesnāt exist: jukebox-card.
Here is what I have done:
- Click on https://github.com/lukx/home-assistant-jukebox
- Click on āMerge branch āmasterā of https://github.com/lukx/home-assistant-jukebox/commit/b3faa40308bbc76cf8bb9a74e4b13f67aa2b09c4
- Click on āGo to Fileā, takes me to https://github.com/BigWebstas/home-assistant-jukebox/find/master.
- Download jukebox-card.js
On https://github.com/lukx/home-assistant-jukebox/commit/d933922085eeef6d726e3d74e4357f6d70566fe7 it is shown that the www directory should contain these files:
|___ /configuration.yaml
|___ /www/jukebox.js
|___ /www/jukebox-card.js
So, I also download jukebox.js from https://github.com/BigWebstas/home-assistant-jukebox/find/master
I put both of these files in www folder.
I add the resources:
resources:
- url: /local/jukebox-card.js
type: module
- url: /local/jukebox.js
Type: module
I go to my lovelace overview tab, click configure ui in upper right corner, click raw configuration editor, and add the above four lines under āresources:ā.
Please note that in my file the other resources are shown as
resources:
- type: module
url: /local/slider-entity-row.js
And that I have also tried to add the two jukebox resources in a similar way. I assume/suspect that it does not matter if it either one?
And also note that in some places it is written that the resources url should be /www/, others that it should be /local/, so have also tried both of that.
And the I add under cards:
entities:
- media_player.wuerfel_wohnzimmer
- media_player.wuerfel_kueche
links:
- name: Concertzender Jazz
url: 'http://streams.greenhost.nl:8080/jazz'
- name: Inside Jazz
url: 'http://fs-insidejazz.fast-serv.com:8282/;stream.nsv'
type: 'custom:jukebox-card'
But I do get an error saying: Custom element doesnāt exist: jukebox-card.
And the same result if I use type: ācustom:jukeboxā(except of course that the error says that the jukebox doesn-t exist.
And, finally, I have tried to add the it through HACS as the author says he managed to do that. Here I am really on thin ice, but tried to link to both of the .js files as well as the hacs.json file under custom repositories, but no luck. Any suggestions are welcome.
Note that under the heading āInstallationā on https://github.com/lukx/home-assistant-jukebox, it says āGrab a copy of jukebox.jsā, but that seems to be empty.
And on the same page, the example of the ui-lovelace.yaml shows the resource as url: /local/jukebox-card.js, no mentioning of jukebox.js. And its says local instead of www, but I have also tried that in vain.
So, where do I get this all wrong?
Ok, I finally got it to work, so I thought I better answer some of my own questions.
For installing through HACS, you have to use the main github url, ie https://github.com/BigWebstas/home-assistant-jukebox
Under resources I added (not /www/, or /local/):
- type: module
url: /www/community/home-assistant-jukebox/jukebox-card.js
In your ui
And under cards:
type: 'custom:jukebox-card'
links:
- name: DR P1
url: 'http://drradio1-lh.akamaihd.net/i/p1_9@143503/master.m3u8'
- name: BBC World
url: 'http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-einws'
entities:
- media_player.stue_speaker
- media_player.kokken_speaker
Have a wonderful day.
I tried to add the custom card through HACS but cannot find itā¦ which is the correct link to add as a custom card into HACS?
did you fine the correct address?
@lukx
can you give us the link to find it in HACS?
instructions in github page would be nice I think
No, still notā¦
Do you know if this could work with a non audio chromecast? I have one for my TV and I just found at a good price a chromecast audio and wondering to buy it or not
For me, it works with all media players which take a play_media command, but I have not tested a chromecast. Using sony speakersā¦
About HACS: I am having trouble making time to apply for a pull request to the official HACS repos. Iād appreciate if anyone could open it and let me know what the repo is missingā¦
I believe it will work, but I would like to have only sound. I think when I try to cast it will open my TV also which I donāt like.
Regarding the pull request I really donāt know what to do otherwise I would help you