ljmerza / fitbit-card

fitbit-card for lovelace
25 stars 6 forks source link

Card not showing anything #2

Closed TheGreatBorg closed 5 years ago

TheGreatBorg commented 5 years ago

I have installed the component and added these lines into Raw text editor in UL-Lovelace

resources:
  - type: module
    url: /community_plugin/fitbit-card/fitbit-card.js

image

But nothing shows when activated - only my manually added sensors card in the top: image

TheGreatBorg commented 5 years ago

Here is my Raw setup in UI-Lovelace

image

image

ljmerza commented 5 years ago

type is js. Didnt realize HACS adds modue by default

TheGreatBorg commented 5 years ago

Well I did add that because without nothing worked and then I got advised in Discord to add type and "module" sounded right.

You see this was added via UI-Lovelace Raw text editor not in yaml files. I try to avoid yaml files (I hate them) - but still with or without a type setting the card still don't show anything

Lethal83 commented 5 years ago

Hi all. Im having the exact same issue.

ljmerza commented 5 years ago

Are there any errors in the console?

ljmerza commented 5 years ago

@TheGreatBorg have you gotten this working? Try just adding the most basic config to see if that works.

Lethal83 commented 5 years ago

Hi I didnt see any errors in the console but what i did was strip it all back out to the basic config and added one line at a time. I think my issue is not with your card but missing data from fitbit. When i added in the calories and active minutes is when my card goes blank. if i look at what data was coming in from fitibit to HA there is no data. Ill look into that and let you know if it fixes it.

On Sun, 14 Jul 2019 at 04:12, Leonardo Merza notifications@github.com wrote:

Are there any errors in the console?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ljmerza/fitbit-card/issues/2?email_source=notifications&email_token=AKNLKVR7YTNJ2JGHJSD65MTP7ILKHA5CNFSM4H64S4NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3WYDQ#issuecomment-511142926, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNLKVRJRREJWFITAHWUNQTP7ILKHANCNFSM4H64S4NA .

Lethal83 commented 5 years ago

Update: I was missing a couple of sensors (From https://www.home-assistant.io/components/fitbit/) I added them all in instead of the selected ones and now its working. thanks