klogg
(Klogg)
September 30, 2018, 10:57am
1
There must be a topic already for this in the forum but I couldn’t find it, sorry.
I am using the brilliant custom_updater and tracker-card by @ludeeus in Lovelace to good effect.
But for some reason not all cards are reporting correctly. Can anyone advise what I might be doing wrong?
(Also - and less importantly - I have tried several times to install using the service but that has never worked for me.)
For example, I have the tracker-card installed but it doesn’t recognise it, I have the same problem with some but not all other cards too despite including the cards_urls:
with the relevant values in my config.
ludeeus
(Ludeeus)
October 1, 2018, 3:33pm
2
It looks like you do not have any ?v=x.x.x in your ui-lovelace.yaml file.
The updater uses that syntax to determine the local version of the card.
It will only download the correct files to expected location, you still need to configure them correctly.
klogg
(Klogg)
October 1, 2018, 3:47pm
3
Thanks for getting back. I had already wondered that and so I added ?v0.0.1 to those that had none. Still no joy…
resources:
- url: /local/custom_ui/dark-sky-weather-card.js?v=1
type: js
- url: /local/custom_ui/tracker-card.js?v0.0.1
type: js
- url: /local/custom_ui/mini-media-player.js?v0.0.1
type: module
- url: /local/custom_ui/alarm_control_panel-card.js?v=0.4.0
type: js
- url: /local/custom_ui/guage-card.js?v0.0.1
type: js
ludeeus
(Ludeeus)
October 1, 2018, 4:03pm
4
And you have ran the “CHECK” button, restart, or the check_all service after you added that?
klogg
(Klogg)
October 1, 2018, 4:12pm
5
Yes I have done both a a restart and pressed the CHECK button.
ludeeus
(Ludeeus)
October 1, 2018, 4:28pm
6
Activate debug logging for the component and post the result of that, the sensor data form /dev-states, version number you are using and your configuration for the component.
klogg
(Klogg)
October 1, 2018, 4:47pm
7
Ok,
Config:
custom_updater:
show_installable: True
track:
- components
- cards
- python_scripts
component_urls:
- https://raw.githubusercontent.com/pnbruckner/homeassistant-config/master/custom_components.json
card_urls:
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json
Custom Updater version:
__version__ = '3.1.0'
States,
tracker-card
tracker-card: {
"local": null,
"remote": "0.1.5",
"has_update": true,
"not_local": true,
"repo": "https://github.com/custom-cards/tracker-card",
"change_log": "https://github.com/custom-cards/tracker-card/blob/master/changelog.md"
}
gauge-card
gauge-card: {
"local": null,
"remote": "0.2.0",
"has_update": true,
"not_local": true,
"repo": "https://github.com/ciotlosm/custom-lovelace/tree/master/gauge-card",
"change_log": "https://github.com/ciotlosm/custom-lovelace/tree/master/gauge-card/changelog.md"
}
mini-media-player
mini-media-player: {
"local": null,
"remote": "0.8.2",
"has_update": true,
"not_local": true,
"repo": "https://github.com/kalkih/mini-media-player",
"change_log": "https://github.com/kalkih/mini-media-player/releases/latest"
}
I’m seeing nothing in the log.
ludeeus
(Ludeeus)
October 1, 2018, 4:56pm
8
Sorry…
I see the issue now, for versions you have tracker-card.js?v0.0.1
this should be tracker-card.js?v=0.0.1
you are missing the =
symbol
1 Like
klogg
(Klogg)
October 1, 2018, 5:03pm
9
Oooppss….
I should be the sorry one! I’ve been looking at this for hours!!
Thank you!
I didn’t want to create a new thread so figure is as good as anywhere…
I just installed the tracker yesterday but it isn’t showing anything. I guess I haven’t done something required, the instructions are fairly basic.
configuration.yaml
custom_updater: # https://github.com/custom-components/custom_updater/wiki/Installation
track:
- components
- cards
- python_scripts
card_urls:
- https://raw.githubusercontent.com/custom-cards/tracker-card/master/tracker-card.js
- https://raw.githubusercontent.com/arsaboo/homeassistant-config/master/www/custom_ui/weather-card.js
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/mini-media-player.js
- https://raw.githubusercontent.com/matisaul/vertical-style-card/master/tracker.json
- https://raw.githubusercontent.com/kuuji/button-card/0.0.2/tracker.json
- https://raw.githubusercontent.com/thomasloven/lovelace-long-press/master/long-press.js
ui-lovelace.yaml
resources:
- url: /local/custom_ui/weather-card.js
type: js
- url: /local/custom_ui/mini-media-player.js # https://github.com/kalkih/mini-media-player
type: js
- url: /local/custom_ui/vertical-style-card.js?v=0.0.1 # https://github.com/matisaul/vertical-style-card
type: js
- url: /local/custom_ui/button-card.js # https://github.com/kuuji/button-card
type: module
- url: /local/custom_ui/long-press.js # https://github.com/thomasloven/lovelace-long-press
type: js
- url: /local/custom_ui/tracker-card.js?v=0 # https://github.com/custom-cards/tracker-card
type: js # https://github.com/custom-components/custom_updater/wiki/Installation
title: Home
views:
- title: Automations
icon: mdi:home-automation
cards:
- type: custom:tracker-card
title:
trackers:
- sensor.custom_card_tracker
- sensor.custom_component_tracker
Can someone please point me in the right direction here?
HI @ludeeus ,
could it be the last update of the custom-card tracker took itself out of the overview??
the moment I updated it disappeared and hasn’t come back…
ludeeus
(Ludeeus)
October 3, 2018, 1:17pm
12
It does not looks like it set up the sensors.
I see that you have some under card_urls
that is not valid, try removing everyone that ends with .js
and restart
ludeeus
(Ludeeus)
October 3, 2018, 1:18pm
13
Not sure what you mean, I see it in your screenshot?
must be me, I thought to have seen the sensor in the Custom components section and suddenly disappear…nevermind, if you say all is right in this picture I’ll go have a glass of warm milk…
ludeeus
(Ludeeus)
October 4, 2018, 7:14am
15
You have both tracker-card
and custom_updater
in your screenshot.
Not sure what you think you are missing?
INTEL
(INTEL)
October 4, 2018, 11:34am
16
Seems like there is a bug in latest version (3.1.6), same thing happend to me, reverted to previous version (2.7.0) of the component, and started to work again.
INTEL
(INTEL)
October 5, 2018, 7:04am
17
I’m getting same blank card as @sparkydave after updating from 2.7.0 to 3.1.7
this is in my configuration
custom_updater:
I have this in my lovelace:
resources:
- url: /local/custom_ui/dark-sky-weather-card.js
type: js
- url: /local/components/monster-card.js?v=0.2.3
type: js
- url: /local/components/bignumber-card.js?v=0.0.1
type: js
- url: /local/components/text-element.js?v=0.0.2
type: js
- url: /local/components/group-card.js?v=0.0.2
type: js
- url: /local/components/tracker-card.js?v=0.1.5
And this
- type: custom:tracker-card
title:
trackers:
- sensor.custom_card_tracker
- sensor.custom_component_tracker
What am I missing?
I ended up changing my config.yaml section to the below which seems to work for most of the cards, but the mini media_player one doesnt show up.
custom_updater: # https://github.com/custom-components/custom_updater/wiki/Installation
track:
- components
- cards
- python_scripts
card_urls:
- https://raw.githubusercontent.com/custom-cards/tracker-card/master/tracker-card.json
- https://raw.githubusercontent.com/arsaboo/homeassistant-config/master/www/custom_ui/weather-card.json
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/mini-media-player.json
- https://raw.githubusercontent.com/matisaul/vertical-style-card/master/tracker.json
- https://raw.githubusercontent.com/kuuji/button-card/master/button-card.json
- https://raw.githubusercontent.com/thomasloven/lovelace-long-press/master/long-press.json
is there a option to hidde the “n/a” (not installed) cards?
… to fast i found it
configuration.yaml
custom_updater:
show_installable: false
track:
- components
- cards
# - python_scripts
–> Set show_installable: false