Bjr, je voudrais partager une autre carte. Ayant vu une consummation curieux récemment, je voudrais comparer des jours. Pour cela, j’ai crée ça ou avec on peut choisir un ‹ offset › (jours) pour deux graphs.
type: custom:stack-in-card
mode: vertical
cards:
- type: horizontal-stack
cards:
- type: custom:numberbox-card
name: Offset 1
border: true
entity: input_number.offset_days
- type: custom:numberbox-card
name: Offset 2
border: true
entity: input_number.offset_days_2
- type: vertical-stack
cards:
- type: custom:card-templater
card:
type: custom:apexcharts-card
graph_span: 30h
update_interval: 5s
header:
show: true
title: Conso ELEC temps réel
show_states: true
colorize_states: true
series:
- entity: sensor.linky_daily
curve: smooth
color: '#df6366'
offset_template: '-{{ states(''input_number.offset_days'') }}d'
type: column
opacity: 0.6
stroke_width: 1
group_by:
duration: 60min
func: avg
- entity: sensor.linky_daily
curve: smooth
offset_template: '-{{ states(''input_number.offset_days_2'') }}d'
color: green
type: column
opacity: 0.1
stroke_width: 0.2
group_by:
duration: 60min
func: avg
entities:
- entity: sensor.linky_daily
- entity: input_number.offset_days
- entity: input_number.offset_days_2
state_template: >
{{states('input_number.offset_days') }}
{{states('input_number.offset_days_2') }}
La partie après « entities » est construit pour mettre a jour la car dès qu’un des input_number changent
1 « J'aime »
Lo,
Je trouve ton Dashboard pour ton linky de très bonne qualité,
Pourrais-tu partager ton travail stp,
Je viens de Jeedom et je n’ai pas encore les automatismes et le recul nécessaire pour élaborer ce type de Dashboard,
Merci pour ton retour,
Au plaisir,
Jielde
Septembre 25, 2023, 6:07
21
Salut djal, pourrais-tu nous partager ton yml de ton tableau stp ?
Il est super !
Salut djal, quelle card tu utilises pour avoir les valeurs sur les bars graph, avec mini graph, j’ai pas trouvé ? Tu peux poster un bout de code, merci
Désolé, demande en double, j’avais pas vu le dernier post, on est 2 intéressés
Bonjour,
il utilise la carte apexcharts-card pour les graphiques en bar et donut.
1 « J'aime »
djal
Septembre 26, 2023, 8:36
24
Hello,
Effectivement, j’utilise des cartes Apex-Chat.
Voici le « bout » de code pour les cartes :
- theme: Backend-selected
title: ENERGIE
path: energie
icon: mdi:lightning-bolt-outline
subview: true
badges: []
cards:
- type: custom:apexcharts-card
cache: true
update_interval: 1d
header:
show: true
standard_format: false
title: Conso Globale 7jrs
show_states: true
colorize_states: true
span:
end: day
show:
last_updated: true
graph_span: 7d
stacked: false
apex_config:
grid:
show: false
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
labels:
show: false
fill:
opacity: 1
series:
- entity: sensor.filtered_smart_meter
type: column
float_precision: 2
name: Globale
color: '#EA4234'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: true
legend_value: false
- type: custom:apexcharts-card
cache: true
update_interval: 1h
header:
standard_format: false
show: true
title: Conso 7jrs HP/HC
show_states: true
colorize_states: true
span:
end: day
show:
last_updated: true
graph_span: 7d
stacked: true
apex_config:
fill:
opacity: 1
grid:
show: false
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
show: true
labels:
show: false
legend:
show: false
series:
- entity: sensor.daily_energy_offpeak
type: column
name: HC
float_precision: 2
color: '#5A6FE7'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: true
legend_value: false
- entity: sensor.daily_energy_peak
type: column
name: HP
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: true
legend_value: false
card_mod:
style: |
ha-card > h1 {
text-align: center;
}
- type: custom:apexcharts-card
cache: true
update_interval: 1d
header:
show: true
standard_format: false
title: Conso Detail 7jrs
show_states: true
colorize_states: true
span:
end: day
show:
last_updated: true
graph_span: 7d
stacked: false
apex_config:
grid:
show: true
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
labels:
show: true
fill:
opacity: 1
legend:
show: false
series:
- entity: sensor.filtered_smart_meter
type: column
name: Globale
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
legend_value: false
- entity: sensor.cumul_chauffage_new
type: column
name: Chauffage
float_precision: 2
color: '#5A6FE7'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
legend_value: false
- entity: sensor.prise_chauffe_eau_summation_delivered
type: column
name: Chauffe-Eau
float_precision: 2
color: '#FF851B'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
legend_value: false
- type: custom:apexcharts-card
cache: true
update_interval: 1h
header:
standard_format: false
show: true
title: Coût Global 7jrs
show_states: true
colorize_states: true
span:
end: day
show:
last_updated: true
graph_span: 7d
stacked: true
apex_config:
grid:
show: false
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
show: true
labels:
show: false
series:
- entity: sensor.cout_jour_energie_global
type: column
name: Coût
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: true
legend_value: false
card_mod:
style: |
ha-card > h1 {
text-align: center;
}
- type: custom:apexcharts-card
cache: true
update_interval: 10min
header:
show: true
standard_format: false
title: Conso Globale 24hrs
show_states: true
colorize_states: true
show:
last_updated: true
span:
start: day
graph_span: 24h
stacked: false
apex_config:
fill:
opacity: 1
grid:
show: true
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
legend:
show: false
series:
- entity: sensor.filtered_smart_meter
type: column
name: Veille
offset: '-1d'
float_precision: 2
color: grey
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
- entity: sensor.filtered_smart_meter
type: column
name: Jour
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
card_mod:
style: |
ha-card > h1 {
text-align: center;
}
- type: custom:apexcharts-card
cache: true
update_interval: 1d
header:
standard_format: false
show: true
title: Coût 7jrs HP/HC
show_states: true
colorize_states: true
show:
last_updated: true
span:
end: day
graph_span: 7d
stacked: true
apex_config:
grid:
show: false
xaxis:
labels:
show: true
axisBorder:
show: false
axisTicks:
show: false
yaxis:
show: false
legend:
show: false
series:
- entity: sensor.cout_jour_energie_hc
type: column
name: HC
float_precision: 2
color: '#5A6FE7'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: true
legend_value: false
- entity: sensor.cout_jour_energie_hp
type: column
name: HP
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: true
legend_value: false
card_mod:
style: |
ha-card > h1 {
text-align: center;
}
- type: custom:apexcharts-card
update_interval: 1h
cache: true
header:
show: true
standard_format: false
title: Conso Detail 24hrs
show_states: true
colorize_states: true
span:
start: day
show:
last_updated: true
graph_span: 24h
stacked: false
apex_config:
grid:
show: true
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
labels:
show: true
axisBorder:
show: false
axisTicks:
show: false
legend:
show: false
series:
- entity: sensor.filtered_smart_meter
type: column
name: Global
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
- entity: sensor.cumul_chauffage_new
type: column
name: Chauffage
float_precision: 2
color: '#5A6FE7'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
- entity: sensor.prise_chauffe_eau_summation_delivered
type: column
name: Chauffe-Eau
float_precision: 2
color: '#FF851B'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
- type: custom:apexcharts-card
cache: true
update_interval: 10min
header:
show: true
standard_format: false
title: Coût 24hrs HP/HC
show_states: true
colorize_states: true
show:
last_updated: true
span:
start: day
graph_span: 24h
stacked: true
apex_config:
fill:
opacity: 1
grid:
show: true
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
legend:
show: false
series:
- entity: sensor.cout_heure_energie_hp
type: column
name: HP
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
- entity: sensor.cout_heure_energie_hc
type: column
name: HC
float_precision: 2
color: '#5A6FE7'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
legend_value: false
- type: custom:apexcharts-card
cache: true
update_interval: 5min
header:
show: true
standard_format: false
title: Chauffages 24hrs
show_states: true
colorize_states: true
show:
last_updated: true
span:
start: day
graph_span: 24h
stacked: false
apex_config:
grid:
show: true
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
legend:
show: false
series:
- entity: sensor.cumul_chauffage_new
type: column
offset: '-1d'
name: Veille
float_precision: 2
color: grey
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- entity: sensor.cumul_chauffage_new
type: column
name: Chauffages
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- type: custom:apexcharts-card
cache: true
update_interval: 5min
now:
show: false
label: Maintenant
header:
standard_format: false
title: Chauffages Detail 24hrs
show: true
show_states: true
colorize_states: true
show:
last_updated: true
span:
start: day
graph_span: 24h
stacked: true
apex_config:
legend:
show: false
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
grid:
show: true
series:
- entity: input_number.chauffage_salon_1_index
type: column
name: Salon 1
float_precision: 2
color: '#17AB48'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- entity: input_number.chauffage_salon_2_index
type: column
name: Salon 2
float_precision: 2
color: '#177DF7'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- entity: input_number.chauffage_sam_index
type: column
name: Salle a Manger
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- entity: input_number.chauffage_pauline_index
type: column
name: Pauline
float_precision: 2
color: '#F399CA'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- entity: input_number.chauffage_bebe_index
type: column
name: Emma
float_precision: 2
color: '#BB33FF'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- entity: input_number.chauffage_parents_index
type: column
name: Parents
float_precision: 2
color: '#D3D24C'
opacity: 1
group_by:
duration: 1h
func: diff
show:
datalabels: false
- type: custom:apexcharts-card
cache: true
update_interval: 5min
chart_type: pie
now:
show: false
label: Maintenant
header:
standard_format: false
title: Chauffages Detail Jrs
show: true
show_states: true
colorize_states: true
show:
last_updated: true
span:
start: day
graph_span: 24h
stacked: true
apex_config:
legend:
show: false
xaxis:
axisBorder:
show: false
axisTicks:
show: false
yaxis:
axisBorder:
show: false
axisTicks:
show: false
grid:
show: true
series:
- entity: input_number.chauffage_salon_1_index
type: column
name: Salon 1
float_precision: 2
color: '#17AB48'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
- entity: input_number.chauffage_salon_2_index
type: column
name: Salon 2
float_precision: 2
color: '#177DF7'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
- entity: input_number.chauffage_sam_index
type: column
name: Salle a Manger
float_precision: 2
color: '#EA4234'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
- entity: input_number.chauffage_pauline_index
type: column
name: Pauline
float_precision: 2
color: '#F399CA'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
- entity: input_number.chauffage_bebe_index
type: column
name: Emma
float_precision: 2
color: '#BB33FF'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
- entity: input_number.chauffage_parents_index
type: column
name: Parents
float_precision: 2
color: '#D3D24C'
opacity: 1
group_by:
duration: 1d
func: diff
show:
datalabels: false
- type: entities
entities:
- entity: sensor.cout_jour_energie_global
name: Jour
icon: mdi:currency-eur
secondary_info: last-updated
- entity: sensor.cout_semaine_energie_global
name: Semaine
icon: mdi:currency-eur
secondary_info: last-updated
- entity: sensor.cout_mois_energie_global
name: Mois
icon: mdi:currency-eur
secondary_info: last-updated
- entity: sensor.cout_annee_energie_global
secondary_info: last-updated
name: Année
icon: mdi:currency-eur
title: 'Coûts Énergie '
state_color: false
show_header_toggle: false
- type: entities
entities:
- entity: sensor.smart_meter_electric_consumed_w
secondary_info: last-updated
- entity: sensor.smart_meter_electric_consumed_kwh
secondary_info: last-updated
- entity: sensor.filtered_smart_meter
secondary_info: last-updated
- entity: sensor.filtered_smart_meter_w
secondary_info: last-updated
- entity: input_number.test_outlier
secondary_info: last-updated
- entity: sensor.filtered_outlier
secondary_info: last-updated
state_color: true
- type: entities
title: Tarifs
entities:
- entity: input_number.prix_kwh_heure_pleine
icon: mdi:currency-eur
- entity: input_number.prix_kwh_heure_creuse
- entity: select.hourly_energy
name: Tarif en cours
icon: mdi:currency-eur
secondary_info: last-updated
- type: energy-distribution
link_dashboard: true
- type: custom:content-card-linky
nbJoursAffichage: '7'
entity: sensor.myenedis_22301013003988
showIcon: true
showTitreLigne: true
showWeekRatio: true
showHistory: true
showInTableUnit: false
showDayName: short
showError: true
showEcoWatt: false
showYesterdayRatio: true
showMonthRatio: false
showYearRatio: false
showPrice: false
showDayPrice: false
showPeakOffPeak: false
showTitle: true
titleName: Consommation Energie
showCurrentMonthRatio: false
showDayHCHP: false
showDayPriceHCHP: false
showHeader: true
2 « J'aime »
Merci djal pour le code, je découvre, c’est ce que je cherchais avec la valeur sur les barres.
Bonsoir,
Je me suis lancé sur ce dossier, malheureusement je me suis cassé les dents,
J’ai créé un post si l’un de vous saurait me conseiller,
Voici le lien: [ENERGIE] Suivi consommation Linky
Merci @djal pour ton partage,
Bonne soirée,
Jielde
Septembre 27, 2023, 4:02
27
Super, merci c’est parfait !
Max13
Février 8, 2024, 1:40
28
Bonjour,
Je viens de recevoir et installer mon zlinky et l’ai configuré pour le dashboard energy de HA.
Pour l’instant j’attends les remontée d’information mais je me pose une question.
Est-il possible (et si oui, comment?) de détecter les appareils consomateur de la maison ?
J’ai une voiture electrique dans le garage, la remontée de sa conso serai apréciable par exemple
Merci d’avance, et désolé si la question est con
BBE
Février 8, 2024, 2:18
29
Si tu viens d’installer ton zlinky, et que tu attends les remontées, peut être n’as tu pas ajusté le paramètre KWh precision dans les paramètres(spécifiques)
exemple sous Z2M:
Si tu ne le met pas à 3 (de base il est à 0) tu n’auras des mises à jours que tous le KWh « pleins »… si tu le met à 3 tu auras une mise à jour tous les Wh consommés…
Ensuite pour ajouter des conso, c’est dans la configuration du dashboard energie que ça se passe:
Paramètres.
tableaux de bord:
Energie:
Appareils individuels:
il suffit de cliquer sur ajouter un appareil et trouver tes mesures.
Max13
Février 8, 2024, 2:27
30
merci pour le retour.
Pour la précision, je l’avais bien mise sur 3 en effet.
Les données commence a remonter déjà
Je pensais a un système qui sait analyser les courbes de conso et en déduire le type d’équipement (mais peut etre que je fais completement fausse route :))
BBE
Février 8, 2024, 2:39
31
Sujet abordé là:
Bonjour,
Auriez-vous connaissance d’un projet, genre open-source, qui permettrait depuis le suivi de données de consommation électrique générale dans Home Assistant (ou autre source type InfluxDB), de reconnaitre les équipements électriques en fonctionnement ? Ce pourrait-être à base d’IA.
Ce serait inspiré du produit ecojoko :
A partir d’un signal électrique global, ecojoko détecte les signatures électriques particulières des différents appareils. Le principe : un chauffe-eau n’a pas la mêm…
Je ne sais pas où ça en est…
De quoi, toujours pas a jour ! Ils y en a qui vont s’impatienter
Bon je me suis fait ca vite fait, ca evolura…
[image]
Par contre, je n’ai pas pigé pour inclure les données dans le tableau de bord Energie …?
C’est super sympa de partager tes dashboards a chaque fois, mais si je peux faire une remarque, c’est pas toujours simple de trouver ce qu’on recherche au milieu de ton lovelace.yaml composé de 25000 lignes (oui, oui, 25000)
1 « J'aime »
fait des recherches de mot, ca aide.
Rien a faire ici mais, c’est parce que je prepare pleins de nouveautés, et un réencodage complet…
Et d’autres…
1 « J'aime »