Git Product home page Git Product logo

Comments (7)

MiguelAngelLV avatar MiguelAngelLV commented on July 18, 2024

The data is in this link:

https://www.esios.ree.es/es/analisis/1900

from aiopvpc.

r-jordan avatar r-jordan commented on July 18, 2024

Hi, now there are two new fields in the json downloaded from esios (https://api.esios.ree.es/archives/70/download_json) named EDCGASPCB and EDCGASCYM. Each field is for the two tariffs PCB and CYM. These data would be valuable to be published in Homeassistant as another sensor the same way the energy price is published, with the prices of the whole day as attributes.

from aiopvpc.

MiguelAngelLV avatar MiguelAngelLV commented on July 18, 2024

The tokened API has the compensation values:

https://api.esios.ree.es/indicators/1900

from aiopvpc.

MiguelAngelLV avatar MiguelAngelLV commented on July 18, 2024

I create a modified component using (https://github.com/azogue/aiopvpc/issues/9#issuecomment-968049577)[this] as base that add Gas Compensation sensor

Maybe could be interesting add a sensor with injection and gas sum. I tried it, but the complete day prices in attributes is a little complex without dirty code when you don't program with python.

MiguelAngelLV/esios_gas@5233e80

from aiopvpc.

MiguelAngelLV avatar MiguelAngelLV commented on July 18, 2024

Hi.

I update (a rename) the component.

Now have a new sensor with Injection + Gas

https://github.com/MiguelAngelLV/esios_gas

from aiopvpc.

azogue avatar azogue commented on July 18, 2024

Hi there 👋

Sorry about the lack of feedback these last months 🙏

I'm finally going to update the library to support the ESIOS API token, opening the access for more price sensors, like the inyection price, the gas-tax, and the omie price.

In the next few days I expect to:

  1. Make changes in this external library, to solve open issues, and implement the token-access for multiple sensors, also refactoring the PVPCData object from here, for better integration with the DataUpdateCoordinator from Home Assistant
  2. Adapt the Home Assistant integration to use the new version, ask for an ESIOS token, and declare more price sensors, making them work with the HA system to enable/disable entities from the integration view 🤩
  3. Make a PR in HA-core with the changes
  4. Make a PR in HA-docs with the explanation of the ESIOS token usage and how to get one.

When (1) and (2) are done, I'll try to upload a 'custom_component' to be able to beta-test it, while the review-and-publish process is being done.

As the ha-esios custom component which ~already works with the token (and people tend to mismatch with the official integration), I suspect it won't work with the token header change announced by ESIOS for the 17th, unless manually edited

from aiopvpc.

azogue avatar azogue commented on July 18, 2024

✨ The new version v4 has support for this new sensor, closing this issue.

For beta-testing it, follow instructions in #47 (comment)

from aiopvpc.

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.