Comments (3)
Olá,
Os sensores dos Tarifários Portugal podem ser usados directamente no Energy do HA, não é necessário fazer conversões nenhumas.
Relativamente aos tarifários, até notícia em contrário estão actualizados. Eu não sigo todos os tarifários do mercado mas conto com as contribuições dos utilizadores neste tópico do CPHA.pt ou aqui no GitHub quando há alguma actualização a fazer.
from hass_omie.
Se eu colocar assim como diz (testei) o energy deixa de reportar dados..
Tive de fazer estes 2 sensores:
- name: "Ibelectra Current Hour Price"
unit_of_measurement: '€/kWh'
state_class: measurement
device_class: monetary
state: >
{% set current_hour = now().strftime('%Y-%m-%dT%H:00:00+00:00') %}
{% set today_hours = state_attr('sensor.template_ibelectra_familia_bihorario', 'today_hours') %}
{% set current_price_mwh = today_hours.get(current_hour) %}
{% if current_price_mwh is not none %}
{{ (current_price_mwh / 1000) | round(4) }}
{% else %}
0
{% endif %}
- name: "Energia Simples Current Hour Price"
unit_of_measurement: '€/kWh'
state_class: measurement
device_class: monetary
state: >
{% set current_hour = now().strftime('%Y-%m-%dT%H:00:00+00:00') %}
{% set today_hours = state_attr('sensor.template_energia_simples_excedente_indexado', 'today_hours') %}
{% set current_price_mwh = today_hours.get(current_hour) %}
{% if current_price_mwh is not none %}
{{ (current_price_mwh / 1000) | round(4) }}
{% else %}
0
{% endif %}
from hass_omie.
Não é necessário, deve haver por aí algum outro problema qualquer que pode estar a causar isso. Há erros nas estatísticas dos sensores dos tarifários?
https://my.home-assistant.io/redirect/developer_statistics/
from hass_omie.
Related Issues (20)
- No actualiza datos desde ayer a las 10.30 HOT 4
- Erro ao criar integração HOT 4
- OMIE - electricity market operator for the Iberian Peninsula" integration stopped working for me at 29 October 2023 at 00h. HOT 18
- Preços em Tabela HOT 1
- Gráfico Apex não está a carregar com a lista de atributos tomorrow_hours HOT 4
- desfasamento horário ? HOT 1
- Valores da formula luzboa spot (simples) HOT 9
- Tomorrows rates not displaying correctly HOT 8
- A integração não está a receber o MIBEL HOT 17
- Proposta para sensor Iberdrola Simples Indexado HOT 1
- Sítio omie não está a fornecer as tarifas HOT 10
- Error setting up entry OMIE for sensor (HA 2024.3.0) HOT 19
- Erro com 2024.3.1 HOT 1
- "Error setting up entry OMIE for omie", 2024.4.0 HOT 1
- Template para preço LuzBoa com preço horário incorreto HOT 8
- Problema com o acesso aos dados do OMIE spot do dia seguinte HOT 16
- No funciona HOT 1
- Cost calculation for Octopus Flexi tariff (Spain)
- Ibelectra Solução Família simples: erro no APEX HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass_omie.