Custom_updater and tracker-card not reporting correctly

Ill jump in here, hopefully I can get some help, pardon my noobness. This is my config.yaml file entry.

custom_updater:
  #oppdaterer custom addons hvor utvikler har gjort klart for dette
  hide_sensor: false
  show_installable: true
  track:
    - components
    - cards
    - python_scripts
  component_urls:
    - https://raw.githubusercontent.com/robmarkcole/Hue-sensors-HASS/master/custom_updater.json
  card_urls:
  python_script_urls:

And in ui-lovelace.yaml I have the following:

title: a_title
# Include external resources
resources:
  - url: /local/tracker-card.js?v=0
    type: js
  - url: /local/gauge-card.js?v=0
    type: js

And:

  - title: System info
    #system info om alt på hass.io
    cards:
      - type: custom:tracker-card
        title:
          trackers:
            - sensor.custom_card_tracker
            - sensor.custom_component_tracker

This only gives me

Anyone see anything I do wrong? I can see sensor.custom_card_tracker, sensor…custom_component_tracker and sensor.custom_python_script_tracker in dev states.

Any help is greatly appreciated.

You have no card_urls and python_script_urls. Try removing these two lines:

  card_urls:
  python_script_urls:

If the problem is still there, remove:

    - cards
    - python_scripts

I think you only need to write the lines corresponding to the components, cards or python_scripts that you are actually using.

Hello,
My sensor.custom_component_tracker and sensor.custom_python_script_tracker doesn’t work
The sensor.custom_card_tracker works fine and show all my cards.
How can I see my components and phyton scripts ?
Thanks !
Bart

I have a partial working tracker card and are puzzled.

Few facts:

  • I have tracker_card and custom_updater component installed. Running last version (4) of custom_updater
  • My configuration.yaml looks as below
  • Running lovelace in storage all custom cards work fine

Issue:
For some reason the tracker/custom_updater does not see that I have custom cards installed (however does see this for customer components). I’m out of ideas…

Configuration.yaml:

custom_updater:
  mode: storage
  show_installable: True
  track:
    - components
    - cards
  component_urls:
    - https://raw.githubusercontent.com/pippyn/Home-Assistant-Sensor-Afvalbeheer/master/custom_components.json
  card_urls:
    - https://raw.githubusercontent.com/kuuji/button-card/master/tracker.json
    - https://raw.githubusercontent.com/nervetattoo/simple-thermostat/allow-updates/tracker.json 
    - https://raw.githubusercontent.com/kalkih/mini-graph-card/master/tracker.json  

First part of lovelace:

resources:
  - type: module
    url: /local/simple-thermostat/simple-thermostat.js?v=0
  - type: module
    url: /local/mini-graph-card-bundle.js?v=0.2.0
  - type: module
    url: /local/monster-card/monster-card.js?v=0
  - type: module
    url: /local/custom-lovelace/swipe-card/swipe-card.js?v=1.1.0
  - type: module
    url: /local/button-card.js?v=0
  - type: js
    url: /local/tracker-card.js?v=0

Components are recognised:

But cards not:

@DetJet @bouwew @BartEngelen @Tyfoon
Please open issues here:
https://github.com/custom-components/custom_updater/issues

Sure. Just added

1 Like

Hi Guys,

What am I doing wrong?
Thank you
image


image

If you are using ver 4.0.x of custom_updater there has been some breaking changes.


Update you config accordingly.

well that’s not too easy…
I did, and it made my setup behave rather unexpectedly slow, so loaded the previous version again…
I am a bit puzzled how to define the custom cards. Using Yaml mode with includes, I point my Lovelace setup in ui-lovelace.yaml via resources: !include /config/lovelace/resources/resources.yaml to my resources, which looks like this:

# https://github.com/thomasloven/lovelace-card-tools
- url: /local/lovelace/resources/card-tools.js?v=6ce5d0
  type: js
# Ha Cards : https://www.home-assistant.io/lovelace/gauge
# https://github.com/ciotlosm/custom-lovelace/tree/master/gauge-card
- url: /local/lovelace/resources/gauge-card.js?v=0.2.0
  type: js

- url: /local/lovelace/resources/tracker-card.js?v=0.1.5
  type: js
# https://github.com/rodrigofragadf/lovelace-cards/tree/master/tiles-card
- url: /local/lovelace/resources/tiles-card.js?v=0.1.1
  type: js
- url: /local/lovelace/resources/useful-markdown-card.js?v=dfc268
  type: js
# https://github.com/ciotlosm/custom-lovelace/tree/master/monster-card
- url: /local/lovelace/resources/monster-card.js?v=0.2.3
  type: js
# https://github.com/ciotlosm/custom-lovelace/tree/master/bignumber-card
- url: /local/lovelace/resources/bignumber-card.js?v=0.0.1
  type: js
# https://github.com/ciotlosm/custom-lovelace/tree/master/entity-attributes-card
- url: /local/lovelace/resources/entity-attributes-card.js?v=0.1.1
  type: js
- url: /local/lovelace/resources/group-card.js?v=0.0.2
  type: js

- url: /local/lovelace/resources/mini-media-player-bundle.js?v=0.9.8
  type: js
# https://github.com/kalkih/mini-graph-card
- url: /local/lovelace/resources/mini-graph-card-bundle.js?v=0.2.3
  type: module
- url: /local/lovelace/resources/weather-card.js
  type: js
# https://github.com/iammexx/home-assistant-config/tree/master/ui/darksky
- url: /local/lovelace/resources/dark-sky-weather-card.js?v=7.1.5
  type: module
- url: /local/lovelace/resources/fold-entity-row.js?v=5ab35c
  type: js
# https://github.com/custom-cards/vertical-stack-in-card
- url: /local/lovelace/resources/vertical-stack-in-card.js?v=v0.1.0
  type: js
# https://github.com/thomasloven/lovelace-card-modder
- url: /local/lovelace/resources/card-modder.js?v=fadc03
  type: js
- url: /local/lovelace/resources/slider-entity-row.js?v=d6da75
  type: js
- url: /local/lovelace/resources/layout-card.js?v=bd7e5a
  type: js
# https://github.com/gurbyz/custom-cards-lovelace/tree/master/power-wheel-card
- url: /local/lovelace/resources/power-wheel-card.js?v=0.0.8
  type: module
- url: /local/lovelace/resources/weather-card-chart.js?v=0.2
  type: module

the new setup of the custom_updater says to change the path to the resources, but I cant understand how I need to change my ui-lovelace configuration for the card to work… It should simply follow my configuration shouldn’t it?

this is the bit I don’t get:

old example:

resources:

  • url: /local/tracker-card.js?v=0.3.0
    type: js
    new example:

resources:

  • url: /customcards/tracker-card.js
    type: js

If I misunderstand the rather minimal setup instructions, please let me know how, and what I need to do to make it work again? thanks.

The new updates does not require versions anymore and the /local/ has been replaced with something else… need to see docs.

yes, I Understand so far… And did change it. But how will the ui-lovelace.yaml find the resources, when the path has changed to an non-existant one…? changing it to /customcards/ will make the config error out won’t it? Or is this in another file, and not the resource path in the ui-lovelace.yaml?

Nope. It works perfectly. Just follow the instructions…

I will, but also want to understand…
If I change the path from /local/ to /customcards/ without having a folder /customcards in my configuration, how can this ever lead to a valid configuration. Unless the new card creates a copy somehow and redirects ui-lovelace? Must be missing some basic information here, but Ive really looked :frowning:

for example, my current path is

/local/lovelace/resources/card-tools.js?v=6ce5d0

would this become

/customcards/lovelace/resources/card-tools.js or
/customcards/card-tools.js

The first one… you just replace the /local/ with /customcards/ I assume it creates some kind of symlink to the /www folder… Remember it’s called /www/ NOT /local/ as well yet that works perfectly well. Same deal imo.

1 Like

ah, ok, thanks! wil try again then cause now this is happening …

2019-02-15 10:28:51 INFO (MainThread) [homeassistant.setup] Setup of domain custom_updater took 526.1 seconds.

and yes, I se this in the .storage:

{
    "bignumber-card": {
        "version": null
    },
    "card-modder": {
        "version": null
    },
    "card-tools": {
        "version": null
    },
    "entity-attributes-card": {
        "version": null
    },
    "fold-entity-row": {
        "version": null
    },
    "gauge-card": {
        "version": null
    },
    "group-card": {
        "version": null
    },
    "layout-card": {
        "version": null
    },
    "monster-card": {
        "version": null
    },
    "slider-entity-row": {
        "version": null
    },
    "tracker-card": {
        "version": null
    },
    "useful-markdown-card": {
        "version": null
    },
    "vertical-stack-in-card": {
        "version": null
    },
    "mini-media-player-bundle": {
        "version": null
    },
    "mini-graph-card-bundle": {
        "version": null
    },
    "power-wheel-card": {
        "version": null
    }
}

which might explain/indicate something is wrong :wink:

When you first load the card, it might do that… then you need to run the check/update all to populate the versions.

hmm, gave it another try, and indeed it found the cards and after yet again 560+ seconds my Lovelace interface started to build. But, many issues.

This new card, in my settings (Yaml mode, !includes and resources includes ) doesnt work as it should, taking an enormous toll on the system. causing spontaneous reboot and never getting initialized completely.

returned to the older card once more, et voila, restart in relative quick 2 minutes or so, all cards recognized, and no response lag at all.

Ill back out on this one for now, and will wat to see if it gets better.

Maybe log an issue… It’s working fine for me… But I’m on 0.88.0b0 and using storage for lovelace.

Hi,

My config is the following:

resources:
  - type: module
    url: /customcards/simple-thermostat.js
  - type: module
    url: /customcards/lovelace-slider-entity-row/slider-entity-row.js
  - type: js
    url: /local/tracker-card.js?v=0


custom_updater:
  track:
    - cards
  card_urls:
    - https://raw.githubusercontent.com/nervetattoo/simple-thermostat/master/tracker.json

I think it works fine.

I don’t added slider-entity-row in the cards_url, but it still here? How is that possible?

One more “bug”: on hover we have a select icon cursor for buttons, that is not he best:

Untitled

OK, I’ve updated to the newer 4.0.1 and seems to work…it updated
all the cards from “na” to their latest versions :slight_smile:

The only issue/question is for the components,
it use to show this custom_updater itself as a component to track…but I don’t see it show up in the list anymore. Is it suppose to?