GithubHelp home page GithubHelp logo

Comments (11)

ikke-zelf avatar ikke-zelf commented on June 9, 2024 1

Found an interesting one related to my issue...
When using Google Chrome as my browser iso Safari (using an iMac) it all works out of the box. Returning to Safari gives the issue again.
Diving deeper to find the root cause of this but at least a big step in the right direction!

from hass-entso-e.

blowk avatar blowk commented on June 9, 2024

I had this also after updating the module.
My fix to add a new Apex graph and the other Apex graphs were working again.

Hopefully this would fix your issue.

from hass-entso-e.

ikke-zelf avatar ikke-zelf commented on June 9, 2024

no, no solution.
a new apex chart is working fine with the default configuration in it.
could it be that the ENTSO data is presented in a different format then previously?

strange thing is that I'm apparently the only one having this issue.
running this:

type: custom:apexcharts-card
graph_span: 48h
span:
  start: day
now:
  show: true
  label: Now
header:
  show: true
  title: Electriciteitsprijzen Entso (€/kwh)
series:
  - entity: sensor.current_electricity_market_price
    name: Prijs vandaag
    stroke_width: 2
    float_precision: 4
    type: column
    opacity: 2
    color: ''
    data_generator: |
      return entity.attributes.prices_today.map((record, index) => {
        return [record.time, record.price];
      });
    show:
      legend_value: false
  - entity: sensor.current_electricity_market_price
    name: Prijs morgen
    stroke_width: 2
    float_precision: 4
    type: column
    opacity: 2
    color: rgb(0,128,128)
    data_generator: |
      return entity.attributes.prices_tomorrow.map((record, index) => {
        return [record.time, record.price];
      });
    show:
      legend_value: false
yaxis:
  - decimals: 2
    apex_config:
      tickAmount: 6

from hass-entso-e.

Mariusthvdb avatar Mariusthvdb commented on June 9, 2024

seeing only 24 hour predicted values in the attributes, it might just break the data_generator? Are there no errors in Inspector on that.

(having other hour price sensors we see the same, eg easyenergy: the next day values only being available after 16:00 hr on the day?)

otoh, I jus tried it, and see:

Schermafbeelding 2022-10-17 om 09 00 48

so I guess it doesnt break the data_generator.... guess you need to check for errors in the log on that

from hass-entso-e.

ikke-zelf avatar ikke-zelf commented on June 9, 2024

Thanks for the test @Mariusthvdb . I was expecting the values for the next day only to appear around 3/4pm everyday, but strange thing is I don't see anything. While it was working before.

  • already tried new api key but in the dev tools I can see all values being present under 'prices' / 'prices_today' / and (after 3pm the 'prices_tomorrow'
  • tried reinstalling the apex charts, but a standard yaml example just works. hence the above presented yaml with the 'data_generator' also works

Am trying to pint point to the root cause, but can't seem to find it.
can you tell me which versions you are running? core/hacs etc

from hass-entso-e.

ikke-zelf avatar ikke-zelf commented on June 9, 2024

And @Mariusthvdb can you post your used yaml in the apex charts? as I see now you have different bar colors what was not in my yaml so I expect you to have used a different one (and am interested in the coloring myself

from hass-entso-e.

Mariusthvdb avatar Mariusthvdb commented on June 9, 2024

haha, You found my discussion post already #27

Entso-e is not yet in HACS? so I DL'd it manually

{
  "domain": "entsoe",
  "name": "ENTSO-e Transparency Platform",
  "documentation": "https://github.com/JaccoR/hass-entso-e",
  "issue_tracker": "https://github.com/JaccoR/hass-entso-e/issues",
  "config_flow": true,
  "codeowners": ["@JaccoR"],
  "iot_class": "cloud_polling",
  "version": "0.0.1",
  "requirements": ["entsoe-py==0.5.8"]
}

is my manifest

full card:

  - type: entities
    entities:
    - type: custom:config-template-card
      entities:
        - input_select.apex_span_hours
      variables:
        span_hours: states['input_select.apex_span_hours'].state
      card:

        type: custom:apexcharts-card
        card_mod:
          style: |
            ha-card {
              box-shadow: none;
              margin: -8px -16px -16px -16px;
              padding: 0;
            }
        graph_span: ${span_hours}
        span:
          start: day
        now:
          show: true
          label: Now
        header:
          show: true
          title: Entso-e prijzen Vandaag (€/kwh)
        experimental:
          color_threshold: true
        yaxis:
          - decimals: 2
#             apex_config:
#               tickAmount: 8
        series:
          - entity: sensor.entsoe_current_electricity_market_price
            color_threshold:
              - value: 0.05
                color: lightgreen
              - value: 0.1
                color: green
              - value: 0.15
                color: orange
              - value: 0.2
                color: darkorange
              - value: 0.25
                color: black
              - value: 0.3
                color: purple
              - value: 0.35
                color: maroon
              - value: 0.4
                color: red
            stroke_width: 2
            float_precision: 3
            type: column
            opacity: 1
            data_generator: |
              return entity.attributes.prices_today.map((record, index) => {
                return [record.time, record.price];
              });

    - input_select.apex_span_hours

from hass-entso-e.

ikke-zelf avatar ikke-zelf commented on June 9, 2024

Clear to me now... Just to let you know, the Entso is available in HACS.

from hass-entso-e.

Mariusthvdb avatar Mariusthvdb commented on June 9, 2024

Clear to me now... Just to let you know, the Entso is available in HACS.

really, what's the search term, Ive tried it all, and no result...
also, there's no release, so wonder what could be found by HACS?

edit

Wait, I found it, its. custom repository...... https://github.com/JaccoR/hass-entso-e was added .

from hass-entso-e.

ikke-zelf avatar ikke-zelf commented on June 9, 2024

Yes indeed that is it.
With the just released/committed version you are also able to keep the configuration settings (automatically)

from hass-entso-e.

Mariusthvdb avatar Mariusthvdb commented on June 9, 2024

getting
KeyError: 'modifyer'

so I re-installed.... all good gain, except still no tomorrows sensors.

from hass-entso-e.

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.