GithubHelp home page GithubHelp logo

Comments (11)

aukedejong avatar aukedejong commented on May 30, 2024 1

Version 1.0.2 released.

from lovelace-windrose-card.

aukedejong avatar aukedejong commented on May 30, 2024 1

Glad this works.
I'll close this issue.
Thanks.

from lovelace-windrose-card.

olivierouellet avatar olivierouellet commented on May 30, 2024

Remove the input_speed_unit and put speed_unit under windspeed_entities

wind_direction_entity:
  entity: sensor.gw1100a_v2_2_3_wind_direction
windspeed_entities:
  - entity: sensor.gw1100a_v2_2_3_wind_speed
    speed_unit: kph

If it remains blank, please use Chrome and go to View > Developer > Developer tools. Do you see any error?

from lovelace-windrose-card.

TobiasSchwarz74 avatar TobiasSchwarz74 commented on May 30, 2024

that was not the problem, but i think i found it:

The problem is "hours_to_show" - if you choose a time range, that is not available in the history, the panel stays empty!
The update of HA seems to clear some history data of my weather station, so 4 hours after the update, the panel is woring again (with default 4h setting).

from lovelace-windrose-card.

olivierouellet avatar olivierouellet commented on May 30, 2024

Maybe same issue as #26 then.

If you do a full restart of Home Assistant, does the card go blank again? Any errors in the Developper tools?

from lovelace-windrose-card.

ildar170975 avatar ildar170975 commented on May 30, 2024

In my case the card is not displayed at all:
изображение

It is displayed in Editor as blank:
изображение

See no errors in Code Inspector.
But when I open Editor - only then I see an error:
изображение


Found an interesting thing:
Decreased hours_to_show to 2 hours and got a picture!
It is displayed with a value <= 8:
изображение

And probably a reason is that in ~13:10 .. 13:15 interval (about 8 hours ago) the wind_speed entity became unavailable:
изображение

The latest 1.0.1 release fixed "direction is not a number" issue; probably same should be done with a wind speed.

from lovelace-windrose-card.

aukedejong avatar aukedejong commented on May 30, 2024

Can you add log_level: DEBUG to your config and post the browsers console output here?

from lovelace-windrose-card.

ildar170975 avatar ildar170975 commented on May 30, 2024

The code:

type: custom:windrose-card
title: Wind direction
wind_direction_entity:
  entity: sensor.xxx_gismeteo_wind_bearing
windspeed_entities:
  - entity: sensor.xxx_gismeteo_wind_speed
    name: Home
hours_to_show: 8

изображение

Chrome + Win10.

The card is still not displayed (F5 does not help):
изображение

There are no errors in Code Inspector.

In Editor - the card is displayed:
изображение

Still no errors in Code Inspector.


With hours_to_show: 9 - a blank card in Editor:
изображение

Errors in console:
изображение

And still not displayed here:
изображение


As for Log, restarted HA with debug logging, will post later.

from lovelace-windrose-card.

aukedejong avatar aukedejong commented on May 30, 2024

I think I found the problem. Testing the fix right now.

You don't need to restart HA for card config changes. Also not when you update the card version. Browser cache referesh is sometimes needed.

from lovelace-windrose-card.

ildar170975 avatar ildar170975 commented on May 30, 2024
  1. I always clear cache after updating any Lovelace plugin & updating HA (using HA in Docker).
  2. I was talking about a restart after adding "log_level: DEBUG".

from lovelace-windrose-card.

ildar170975 avatar ildar170975 commented on May 30, 2024

@aukedejong
Thank you very much, now I can see a card even with hours_to_show: 168.

But still the card may not be displayed:
изображение
I will create a separate issue for this then.

from lovelace-windrose-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.