Hi,
I would like to create an automation with this sensor. When it change from NON_DEFINI to BLEU or BLANC, I would do an action. The issue is I can’t put NON_DEFINI in the « FROM » box. Do you know why and what can I do ?
Hello Nouch77
I did this automation and it works fine for me. I received an alert on my mobile phone when the state moved from NON_DEFINI to BLEU.
Funilly enough, I forgot to put BLEU in the To: field, and I received the message, so you can do that if you just want to detect when the value change.
BR
But now, the magic is that thanks to the RTE Temp plugin, I can have a script and an automation that will automatically switch the right utility meter to use:
The script:
alias: "Grid: Energy Meter Selection"
sequence:
- choose:
- conditions:
- condition: state
entity_id: sensor.rte_tempo_couleur_actuelle
state: Bleu
- type: is_on
condition: device
device_id: 9c2a0444638b52b827cc51a274c5d1f9
entity_id: binary_sensor.rte_tempo_heures_creuses
domain: binary_sensor
sequence:
- service: select.select_option
data:
option: EDF Tempo Bleu HC
target:
entity_id: select.grid_energy_meter
- conditions:
- condition: state
entity_id: sensor.rte_tempo_couleur_actuelle
state: Bleu
- type: is_off
condition: device
device_id: 9c2a0444638b52b827cc51a274c5d1f9
entity_id: binary_sensor.rte_tempo_heures_creuses
domain: binary_sensor
sequence:
- service: select.select_option
data:
option: EDF Tempo Bleu HP
target:
entity_id: select.grid_energy_meter
- conditions:
- condition: state
entity_id: sensor.rte_tempo_couleur_actuelle
state: Blanc
- type: is_on
condition: device
device_id: 9c2a0444638b52b827cc51a274c5d1f9
entity_id: binary_sensor.rte_tempo_heures_creuses
domain: binary_sensor
sequence:
- service: select.select_option
data:
option: EDF Tempo Blanc HC
target:
entity_id: select.grid_energy_meter
- conditions:
- condition: state
entity_id: sensor.rte_tempo_couleur_actuelle
state: Blanc
- type: is_off
condition: device
device_id: 9c2a0444638b52b827cc51a274c5d1f9
entity_id: binary_sensor.rte_tempo_heures_creuses
domain: binary_sensor
sequence:
- service: select.select_option
data:
option: EDF Tempo Blanc HP
target:
entity_id: select.grid_energy_meter
- conditions:
- condition: state
entity_id: sensor.rte_tempo_couleur_actuelle
state: Rouge
- type: is_on
condition: device
device_id: 9c2a0444638b52b827cc51a274c5d1f9
entity_id: binary_sensor.rte_tempo_heures_creuses
domain: binary_sensor
sequence:
- service: select.select_option
data:
option: EDF Tempo Rouge HC
target:
entity_id: select.grid_energy_meter
- conditions:
- condition: state
entity_id: sensor.rte_tempo_couleur_actuelle
state: Rouge
- type: is_off
condition: device
device_id: 9c2a0444638b52b827cc51a274c5d1f9
entity_id: binary_sensor.rte_tempo_heures_creuses
domain: binary_sensor
sequence:
- service: select.select_option
data:
option: EDF Tempo Rouge HP
target:
entity_id: select.grid_energy_meter
mode: single
icon: mdi:script-text
Bonjour, j’ai tanté de suivre ton poste mais dès le départ mes “entrée” de type compteur ne ressortent pas comme les tiennes.
En effet j’ai deux “entrées”
The subject was well discussed on the french forum, and I do not know if it reached this post, but a good addition in case of tempo contract if you want to recover your linky information without RTE or EDF API is the Zlinky module by lixee. For approx 50€ this small zigbee module is plugged on the TIC (teleinfo) terminal bloc of the linky and gives you all information available at Linky level, including tempo color of the day, tempo color of next day (at 20h00) index for all six cases (HP/HC blue, white and Red), apparent power, intensity etc…
This can be well integrated with the energy dashboard as well…
Regards
BBE
Ps: french speaker might find additional information here:
There are some regarding Linky / Tempo / etc amongst some others.
I’ve also changed how I manage things so it’s improved. I basically rely more on a Linky TIC now, and merge the data with RTE for the upcoming colors. Current color code is taken from the linky which is more reliable, as for the energy data.
hello,
Thank you for your sharing because it is not easy to configure tempo :).
So I configured the script, automation and all the helpers using the tempo.yaml file from @mathieucarbou. All these helpers/entities have the sensor “source: sensor.grid_energy” but I don’t see how to configure this source because on the TIC of the linky I have the HPHC and HPHC. If anyone has an idea how to create this sensor which would allow switching
Did someone manage to get today+tomorrow tempo color in HA? I would be interested in knowing how to do that since former EDF json link is out of service.
Thank you so much @mathieucarbou for your gists. This literally saved me days (if not weeks) of work figuring out the energy monitoring. I have a LiXee ZLinky too (I moved from an ecojoko). Was missing the costs and rouge/bleu/blanc energy usage breakdown and had been meaning to wrap my head around the utility meters/costs for a while. Now thanks to your hard work (and chatgpt) I have this info.
Now I just need to tidy up the dashboard as it currently looks a devmess as I’m sure we all know! I’ll post my yaml package up on git so others can use it as it’s a lot of work figuring it out for yourself!
Hello
ouah i love your dashboard
Would you please to share your code for Tempo Info / Power Usage / Energy monthly & Daily?
Thanks you very much and happy new year!