Pour l’instant non…
Quand tu as lancé le curl, il y a juste à mettre le username et le password (ceux de l’utilisateur spécifique du boker) ?
Le curl installe le pont MQTT , si cela à fonctionner elle publie en MQTT les valeurs
De mémoire j’avais du redémarrer ma borne pour que le pont soit fonctionnel
pour le pont dans la borne il n’y a pas de user name
je n’ai pas de user name pour mon pont
Quand tu lance le curl voici ce que cela donne :
PS C:\Users\lione> ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa root@192.168.0.99
root@WB12345:~# curl -sSfL https://github.com/jagheterfredrik/wallbox-mqtt-bridge/releases/download/bridge/install.sh > install.sh && bash install.sh
Downloading the bridge
Setting up auto-start
Created symlink /etc/systemd/system/multi-user.target.wants/mqtt-bridge.service → /lib/systemd/system/mqtt-bridge.service.
Done!
root@WB12345:~#
le pont est installé et publie en MQTT
A tous les coups j’ai entré une mauvaise config de MQTT…
Lors de la première exécution du curl, j’ai eu des choses à rentrer et j’ai pas du mettre ce qu’il faut. Mais quand je relance je n’ai plus accès à ces infos.
Je vais pas devoir tout refaire ? ![]()
Je comprend pas , quelle info ?
Et quand tu relance quoi ?
Lors de la première exécution du curl, ça m’a demandé les infos sur la config MQTT, genre username, password, port 1883, etc. J’ai plus le code par contre…
Et quand je relance le curl, il met comme toi
ok , ça fait longtemps … je les ais peut etre rempli la 1 ere fois .
Donc tu as mis les bonnes infos de ton broker HA ?
Oui si tu clic sur 53 appareils , tu dois voir ta borne si elle est sur le bon broker …
J’ai pas du mettre les bonnes infos non car la borne n’est pas dans les 53 appareils…
Reste à remettre à zéro le pont MQTT sur la borne et savoir quels infos rentrer lors de la première config
Si tu es sur des bonnes info , tu peux tenter de redémarer la borne .
Si non , maintenant que l’acces ssh est valide ,tu peux te connecter en ssh et tu aura accès , attention, à la totalité de l’arborescence des fichiers de la borne pour modifier les valeurs du broker
!! attention , si tu modifie ou efface un fichier par erreur , ta borne fera un beau presse papier
pour le MQTT arborescence de la borne : /home/root/mqtt-bridge/
le fichier bridge.ini =parametre mqtt
mon fichier bridge.ini ressemble à ça :
[mqtt]
host = 192.168.0.76
port = 1883
username =
password =
[settings]
polling_interval_seconds = 1
device_name = Wallbox
legacy_locking = no
Merci à @nadlio pour son aide énorme !
Je vais essayer de faire un tuto sur le forum pour aider ceux qui passeraient par la sans les connaissances nécessaires pour cette manipulation.
Merci encore ![]()
Bonjour je me lève ce matin et je vois que ça fonctionne aussi pour toi;) super.
Moi aussi la première fois il a fallu que je rentre les info ( adresse de mon brokers , …) et pareil faut redémarrer la wallbox.
Si il y a une mise a jour du github il suffit de relancer la commande curl
Aller, je relance le sujet avec ce qui était le cœur de mon besoin, affecter une intensité de charge dynamique à ma Wallbox.
Cette valeur est calculée en continu par des templates, maintenant je ne sais pas comment affecter cette valeur de template à l’entité idoine sur la Wallbox. J’aimerai le faire hors d’une automatisation, de manière continue et automatique.
En gros, faire que sensor.intensite_max_wallbox = number.wallbox_max_charging_current
avec sensor.intensite_max_wallbox qui est un template de calcul entre la valeur maximale admissible par mon Linky (via Lixee) et la valeur instantée d’intensité de ma maison.
Je suis obligé de faire sauter le root et de remettre la box à jour.
Dès que je branche mes voitures, la borne ne comprend pas que la voiture demande une charge et la liaison VE/Borne est en défaut…
Aïe c’est bizarre, confirme ni s que ça fonctionne bien avec la dernière version. ( Mais dans ce cas pas de rooter et pas d’ajustement du courant via ha)
En fait je ne sais pas si le souci vient de la borne, du root ou de la voiture…
En l’état, j’ai remis les choses à l’état initial et ça fonctionne, je me pencherai dessus quand j’aurais le temps
@Sigalou merci pour le partage des images mais la borne Wallbox socket plus n’a pas exactement les mêmes statuts, je n’ai donc pas pu utiliser tes créations
dans ma lovelace ! Dommage !!
Ci-dessous le dashboard pour la borne :
views:
- title: Wall Box
type: sections
max_columns: 4
icon: mdi:ev-station
sections:
- type: grid
cards:
- type: heading
icon: mdi:ev-station
heading: Borne WallBox
heading_style: title
badges:
- type: entity
show_state: true
show_icon: true
entity: lock.wallbox_pulsar_plus_lock
tap_action:
action: more-info
tap_action:
action: none
card_mod:
style:
.: |
ha-card {
font-family: "Days One";
}
- type: heading
icon: mdi:play-pause
heading_style: subtitle
badges:
- type: entity
show_state: true
show_icon: true
entity: switch.wallbox_pulsar_plus_pause_resume
tap_action:
action: more-info
visibility:
- condition: state
entity: switch.wallbox_pulsar_plus_pause_resume
state_not: unavailable
heading: Pause / Relancer la charge
card_mod:
style:
.: |
ha-card {
font-family: "Days One";
}
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Borne
secondary: >-
{% if is_state(config.entity,'Locked') %}
Verrouillée
{% elif is_state(config.entity,'Charging') %}
En charge
{% elif is_state(config.entity,'Disconnected') %}
Déverrouillée
{% elif is_state(config.entity,'Waiting for car demand')
%}
En attente charge
{% elif is_state(config.entity,'Scheduled') %}
Charge programmée
{% elif is_state(config.entity,'Locked, car connected') %}
Déverrouiller pour charger
{% elif is_state(config.entity,'Paused') %}
En pause
{% elif is_state(config.entity,'Ready') %}
Déverrouillée
{% else %}
Bug
{% endif %}
icon: mdi:ev-plug-type2
icon_color: >-
{% if is_state(config.entity,'Locked') %}
orange
{% elif is_state(config.entity,'Paused') %}
tomato
{% elif is_state(config.entity,'Charging') %}
blue
{% elif is_state(config.entity,'Disconnected') %}
green
{% elif is_state(config.entity,'Waiting for car demand')
%}
blue
{% elif is_state(config.entity,'Scheduled') %}
blue
{% elif is_state(config.entity,'Paused') %}
blue
{% elif is_state(config.entity,'Ready') %}
green
{% else %}
grey
{% endif %}
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_pulsar_plus_status_description
fill_container: true
layout: horizontal
badge_icon: >-
{% if is_state(config.entity,'Locked') %}
mdi:lock
{% elif is_state(config.entity,'Charging') %}
mdi:lightning-bolt
{% elif is_state(config.entity,'Paused') %}
mdi:pause
{% elif is_state(config.entity,'Disconnected') %}
mdi:lock-off-outline
{% elif is_state(config.entity,'Waiting for car demand')
%}
mdi:lightning-bolt-outline
{% elif is_state(config.entity,'Scheduled') %}
mdi:sleep
{% elif is_state(config.entity,'Locked, car connected') %}
mdi:lightning-bolt-outline
{% elif is_state(config.entity,'Ready') %}
mdi:sleep
{% else %}
mdi:alert
{% endif %}
badge_color: null
card_mod:
style:
mushroom-state-info$: |
.container {
{% if is_state(config.entity,'Locked') %}
--card-primary-color: orange ;
--card-secondary-color: orange;
{% elif is_state(config.entity,'Paused') %}
--card-primary-color: tomato ;
--card-secondary-color: tomato;
{% elif is_state(config.entity,'Charging') %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% elif is_state(config.entity,'Disconnected') %}
--card-primary-color: ;
--card-secondary-color: green;
{% elif is_state(config.entity,'Waiting for car demand') %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% elif is_state(config.entity,'Locked, car connected') %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
% elif is_state(config.entity,'Scheduled') %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% elif is_state(config.entity,'Ready') %}
--card-primary-color: ;
--card-secondary-color: green;
{% else %}
--card-primary-color: ;
--card-secondary-color: ;
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if is_state(config.entity,'Locked') %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Paused') %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Charging') %}
--shape-animation: ping 2s infinite;
color: blue !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Disconnected') %}
--shape-animation: ping 2s infinite;
color: green !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Locked, car connected') %}
color: blue !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Scheduled') %}
color: blue !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Waiting for car demand') %}
color: blue !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% elif is_state(config.entity,'Ready') %}
color: green !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
{% else %}
mdi:alert
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
.: |
mushroom-badge-icon {
{% if is_state(config.entity,'Locked') %}
--main-color: orange !important;
animation: wobbling 0.7s linear infinite alternate;
{% elif is_state(config.entity,'Paused') %}
--main-color: tomato !important;
{% elif is_state(config.entity,'Charging') %}
--main-color: blue !important;
{% elif is_state(config.entity,'Disconnected') %}
--main-color: green !important;
{% elif is_state(config.entity,'Waiting for car demand') %}
--main-color: blue !important;
{% elif is_state(config.entity,'Scheduled') %}
--main-color: blue !important;
{% elif is_state(config.entity,'Locked, car connected') %}
--main-color: blue !important;
{% elif is_state(config.entity,'Ready') %}
--main-color: green !important;
{% else %}
grey
{% endif %}
}
@keyframes wobbling {
0% {transform: rotate(-80deg);}
100% {transform: rotate(40deg);}
- type: custom:mushroom-template-card
primary: Puissance Charge
secondary: >-
{{ states('sensor.wallbox_pulsar_plus_charging_power')}}
kW
icon: mdi:lightning-bolt
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_pulsar_plus_charging_power
fill_container: true
layout: horizontal
badge_icon: >-
{% set temp =
states('sensor.wallbox_pulsar_plus_charging_power') |
float %}
{% if temp == 0 %}
mdi:lock
{% else %}
mdi:check-bold
{% endif %}
badge_color: ''
card_mod:
style:
mushroom-state-info$: |
.container {
{% set temp = states('sensor.wallbox_pulsar_plus_charging_power') | float %}
{% if temp == 0 %}
--card-primary-color: orange ;
--card-secondary-color: orange;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
}
mushroom-badge-icon$: |
.badge {
{% set temp = states('sensor.wallbox_pulsar_plus_charging_power') | float %}
{% if temp > 0 %}
animation: ping2 2s infinite;
{% endif %}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 10px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
mushroom-shape-icon$: |
.shape {
{% set temp = states('sensor.wallbox_pulsar_plus_charging_power') | float %}
{% if temp == 0 %}
--shape-animation: ping2 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: orange
{% else %}
--shape-animation: ping 5s infinite;
color: #0080FF !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
.: |
mushroom-badge-icon {
{% set temp = states('sensor.wallbox_pulsar_plus_charging_power') | float %}
{% if temp == 0 %}
animation: wobbling 0.7s linear infinite alternate;
--main-color: orange !important;
{% else %}
--main-color: green !important;
{% endif %}
}
@keyframes wobbling {
0% {transform: rotate(-80deg);}
100% {transform: rotate(40deg);}
- type: tile
entity: sensor.wallbox_pulsar_plus_added_energy
name: Dernière Charge
- type: tile
entity: sensor.prixcharge
name: Cout Charge
icon: mdi:currency-eur
- type: custom:swipe-card
card_width: 185px
start_card: 1
reset_after: 10
parameters:
spaceBetween: 8
scrollbar:
hide: true
draggable: true
snapOnRelease: true
cards:
- type: custom:power-flow-card-plus
entities:
home:
entity: sensor.power_114
color_icon: null
override_state: true
use_metadata: false
fossil_fuel_percentage:
entity: sensor.co2_signal_grid_fossil_fuel_percentage
icon: mdi:leaf
color_icon: true
display_zero: true
name: Non Fossile
state_type: power
grid:
icon: mdi:transmission-tower-export
name: Réseaux
entity:
consumption: sensor.power_114
individual:
- entity: sensor.wallbox_pulsar_plus_charging_power
name: Wallbox
color_icon: true
display_zero: true
color: steelblue
icon: mdi:car-electric
clickable_entities: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 1
min_flow_rate: 0.75
max_expected_power: 10000
min_expected_power: 1
watt_threshold: 1000
transparency_zero_lines: 0
max_flow_rate: 6
- type: custom:apexcharts-card
experimental:
color_threshold: true
graph_span: 24h
show:
last_updated: true
loading: false
header:
standard_format: false
show: true
show_states: true
colorize_states: true
now:
show: true
color: red
label: Now
span:
start: day
series:
- entity: sensor.wallbox_pulsar_plus_charging_power
stroke_width: 5
color_threshold:
- value: 1000
color: steelblue
- value: 2000
color: midnightblue
- value: 3000
color: orange
- value: 4000
color: orangered
- value: 60000
color: red
group_by:
duration: 30sec
show:
extremas: true
header_color_threshold: true
header_actions:
tap_action:
action: navigate
navigation_path: /energy
- type: heading
icon: mdi:car-electric-outline
heading: Statistiques de consommation
heading_style: title
badges: []
tap_action:
action: none
card_mod:
style:
.: |
ha-card {
font-family: "Days One";
}
- type: custom:tabbed-card
styles:
'--mdc-theme-primary''': dodgerblue
'--mdc-tab-text-label-color-default': dodgerblue
attributes:
icon: mdi:calendar
tabs:
- attributes:
label: Semaine
card:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Wallbox
secondary: >-
{% if
states('sensor.wallbox_consommation_hebdomadaire_01896')
== 'unknown' %} En attente {% else %} {{
states('sensor.wallbox_consommation_hebdomadaire_01896')}}
kW {% endif %}
icon: mdi:ev-station
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_consommation_hebdomadaire_01896
fill_container: true
layout: horizontal
card_mod:
style:
mushroom-state-info$: |
.container {
{% if states('sensor.wallbox_consommation_hebdomadaire_01896') == 'unknown' %}
--card-primary-color: red;
--card-secondary-color: red;
{% else %}
{% set temp = states('sensor.wallbox_consommation_hebdomadaire_01896') | float %}
{% if temp > 100 %}
--card-primary-color: tomato;
--card-secondary-color: tomato;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if states('sensor.wallbox_consommation_hebdomadaire_01896') == 'unknown' %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: red
{% else %}
{% set temp = states('sensor.wallbox_consommation_hebdomadaire_01896') | float %}
{% if temp > 100 %}
--shape-animation: ping2 5s infinite;
color: tomato !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: tomato
{% else %}
--shape-animation: ping 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
- type: custom:mushroom-template-card
primary: Wallbox
secondary: >-
{% if
states('sensor.wallbox_consommation_hebdomadaire_01896')
== 'unknown' %} En attente {% else %} {{
states('sensor.prixchargehebdo')}} € {% endif %}
icon: mdi:currency-eur
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_consommation_hebdomadaire_01896
fill_container: true
layout: horizontal
card_mod:
style:
mushroom-state-info$: |
.container {
{% if states('sensor.wallbox_consommation_hebdomadaire_01896') == 'unknown' %}
--card-primary-color: red;
--card-secondary-color: red;
{% else %}
{% set temp = states('sensor.wallbox_consommation_hebdomadaire_01896') | float %}
{% if temp > 100 %}
--card-primary-color: tomato;
--card-secondary-color: tomato;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if states('sensor.wallbox_consommation_anuelle_0_1896') == 'unknown' %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: red
{% else %}
{% set temp = states('sensor.wallbox_consommation_anuelle_0_1896') | float %}
{% if temp > 100 %}
--shape-animation: ping2 5s infinite;
color: tomato !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: tomato
{% else %}
--shape-animation: ping 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
- attributes:
label: Mois
card:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Wallbox
secondary: >-
{% if
states('sensor.wallbox_consommation_mensuelle_01896')
== 'unknown' %} En attente {% else %} {{
states('sensor.wallbox_consommation_mensuelle_01896')}}
kW {% endif %}
icon: mdi:ev-station
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_consommation_mensuelle_01896
fill_container: true
layout: horizontal
card_mod:
style:
mushroom-state-info$: |
.container {
{% if states('sensor.wallbox_consommation_mensuelle_01896') == 'unknown' %}
--card-primary-color: red;
--card-secondary-color: red;
{% else %}
{% set temp = states('sensor.wallbox_consommation_mensuelle_01896') | float %}
{% if temp > 100 %}
--card-primary-color: tomato;
--card-secondary-color: tomato;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if states('sensor.wallbox_consommation_mensuelle_01896') == 'unknown' %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: red
{% else %}
{% set temp = states('sensor.wallbox_consommation_mensuelle_01896') | float %}
{% if temp > 100 %}
--shape-animation: ping2 5s infinite;
color: tomato !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: tomato
{% else %}
--shape-animation: ping 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
- type: custom:mushroom-template-card
primary: Wallbox
secondary: >-
{% if
states('sensor.wallbox_consommation_hebdomadaire_01896')
== 'unknown' %} En attente {% else %} {{
states('sensor.prixchargemensuel')}} € {% endif %}
icon: mdi:currency-eur
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_consommation_mensuelle_01896
fill_container: true
layout: horizontal
card_mod:
style:
mushroom-state-info$: |
.container {
{% if states('sensor.wallbox_consommation_mensuelle_01896') == 'unknown' %}
--card-primary-color: red;
--card-secondary-color: red;
{% else %}
{% set temp = states('sensor.wallbox_consommation_mensuelle_01896') | float %}
{% if temp > 100 %}
--card-primary-color: tomato;
--card-secondary-color: tomato;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if states('sensor.wallbox_consommation_mensuelle_01896') == 'unknown' %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: red
{% else %}
{% set temp = states('sensor.wallbox_consommation_mensuelle_01896') | float %}
{% if temp > 100 %}
--shape-animation: ping2 5s infinite;
color: tomato !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: tomato
{% else %}
--shape-animation: ping 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
- attributes:
label: Année
card:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Wallbox
secondary: >-
{% if
states('sensor.wallbox_consommation_anuelle_0_1896')
== 'unknown' %} En attente {% else %} {{
states('sensor.wallbox_consommation_anuelle_0_1896')}}
kW {% endif %}
icon: mdi:ev-station
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_consommation_anuelle_0_1896
fill_container: true
layout: horizontal
card_mod:
style:
mushroom-state-info$: |
.container {
{% if states('sensor.wallbox_consommation_anuelle_0_1896') == 'unknown' %}
--card-primary-color: red;
--card-secondary-color: red;
{% else %}
{% set temp = states('sensor.wallbox_consommation_anuelle_0_1896') | float %}
{% if temp > 100 %}
--card-primary-color: tomato;
--card-secondary-color: tomato;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if states('sensor.wallbox_consommation_anuelle_0_1896') == 'unknown' %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: red
{% else %}
{% set temp = states('sensor.wallbox_consommation_anuelle_0_1896') | float %}
{% if temp > 100 %}
--shape-animation: ping2 5s infinite;
color: tomato !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: tomato
{% else %}
--shape-animation: ping 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
- type: custom:mushroom-template-card
primary: Wallbox
secondary: >-
{% if
states('sensor.wallbox_consommation_hebdomadaire_01896')
== 'unknown' %} En attente {% else %} {{
states('sensor.prixchargeannuel')}} € {% endif %}
icon: mdi:currency-eur
icon_color: ''
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
entity: sensor.wallbox_consommation_anuelle_0_1896
fill_container: true
layout: horizontal
card_mod:
style:
mushroom-state-info$: |
.container {
{% if states('sensor.wallbox_consommation_anuelle_0_1896') == 'unknown' %}
--card-primary-color: red;
--card-secondary-color: red;
{% else %}
{% set temp = states('sensor.wallbox_consommation_anuelle_0_1896') | float %}
{% if temp > 100 %}
--card-primary-color: tomato;
--card-secondary-color: tomato;
{% else %}
--card-primary-color: ;
--card-secondary-color: #0080FF;
{% endif %}
{% endif %}
}
mushroom-shape-icon$: |
.shape {
{% if states('sensor.wallbox_consommation_anuelle_0_1896') == 'unknown' %}
--shape-animation: ping2 5s infinite;
color: red !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: red
{% else %}
{% set temp = states('sensor.wallbox_consommation_anuelle_0_1896') | float %}
{% if temp > 100 %}
--shape-animation: ping2 5s infinite;
color: tomato !important;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: tomato
{% else %}
--shape-animation: ping 5s infinite;
--shape-color: none;
--shape-color-disabled: transparent !important;
--icon-symbol-size: 0.8em;
--icon-color: #0080FF
{% endif %}
{% endif %}
}
@keyframes ping {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-blue), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
@keyframes ping2 {
0% {box-shadow: 0 0 0 0 rgba(var(--rgb-red), 0.7);}
70% {box-shadow: 0 0 0 15px transparent;}
100% {box-shadow: 0 0 0 0 transparent;}
}
- type: sections
max_columns: 4
title: Tesla
path: tesla
icon: phu:tesla-icon
sections:
- type: grid
cards:
- type: heading
heading_style: title
heading: En attente de la livraison 🙃
?? ça fonctionne bien chez moi, qu’est ce qui a changé ou posé souci ?
J’ai pour le moment répertorié tous ces statuts :
Charging
Disconnected
Waiting for car demand
Scheduled
Locked
Paused
Ready
J’ai l’impression d’avoir plus de statuts que d’images ou des statuts différents ?
Pour tous ceux qui se demandent comment dowgrader de la version 6.6.20 vers une version précédente compatible MQTT, sans passer par une restauration et rester sur une vieille version, je pense avoir réussi a remettre ma Copper SB en 6.4.14. J’ai posté la solution sur le Github : Doesn't work with v6.6.x · Issue #63 · jagheterfredrik/wallbox-mqtt-bridge · GitHub
A adapter avec les autres modèles. Je vais tester plus en profondeur que ça ne génère pas de nouveau bug, mais pour le moment j’ai bien récupéré les états sur HA et rien remarqué d’anormal…
Je vais enfin pouvoir me lancer dans la configuration de vrais automatismes ![]()


