Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Hi Guest this is an announcement for guests !!!

Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Export quotidien données vers google drive ou smartphone
#1
Bonjour,

Ci joint un petit tuto pour exporter vos données quotidiennement dans un premier temps dans un tableau excel sur votre drive google et dans un deuxième temps sur votre smartphone ou autre.

1-export vers google drive:

Pour exporter vos données quotidiennement vers un tableur excel sur google drive voici le tuto pour marier votre google drive a home assistant:
https://www.home-assistant.io/integratio...le_sheets/

Une fois votre drive google et home assistant en symbiose voici un exemple d'automatisation pour envoyer quotidiennement les données sur votre drive
A adapter suivant vos entités et votre id google sheet, la dans mon cas c'est avec mes onduleurs et appareils presents a la maison:

alias: export quotidien données google sheet
description: >-
  export quotidien des données essentiels vers feuille excel sur mon google
  drive sheet
trigger:
  - platform: time
    at: "23:55:00"
condition: []
action:
  - service: google_sheets.append_sheet
    data:
      config_entry: ######################### (votre id google sheet a la place des dieze)
      worksheet: data
      data:
        total solaire solax (kwh): "{{ states('sensor.solax_today_s_solar_energy') }}"
        total solaire superwatt (kwh): "{{ states('sensor.productionsolairesuperwattajd') }}"
        total consommé edf (kwh): "{{ states('sensor.wemos_pzem_energy_today') }}"
        total exporté solax (kwh): "{{ states('sensor.solax_today_s_export_energy') }}"
        total batterie solax charge (kwh): "{{ states('sensor.solax_battery_input_energy_today') }}"
        total batterie solax decharge (kwh): "{{ states('sensor.solax_battery_output_energy_today') }}"
        total batterie superwatt charge (kwh): "{{ states('sensor.kw_batterie_charge_superwatt_ajd') }}"
        total batterie superwatt decharge (kwh): "{{ states('sensor.kw_batterie_decharge_ajd') }}"
        total nissan leaf (kwh): "{{ states('sensor.conso_nissan_leaf_2_ajd') }}"
        total cumulus douche (kwh): "{{ states('sensor.conso_cumulus_douche_ajd') }}"
        total cumulus baignoire (kwh): "{{ states('sensor.conso_cumulus_baignoire_ajd') }}"
        total machine a laver (kwh): "{{ states('sensor.conso_machine_a_laver_ajd') }}"
        total puit (kwh): "{{ states('sensor.conso_puit_ajd') }}"
        compteur declenchement puit: "{{ states('counter.compteur_declenchement_puit') }}"
mode: single



2- export vers smartphone: La méthode est plus simple si vous avez l'applis home assistant sur votre smartphone et comme vous pouvez le voir j export aussi vers mon facebook messenger grace a un bot créer dans home assistant. Comme pour le tuto 1,  a adapter en fonction de vos entités

alias: "[NOTIFICATION] Consommation quotidienne"
description: ""
trigger:
  - platform: time
    at: "22:25:00"
condition: []
action:
  - service: notify.mobile_app_xiaomi_alexis
    data:
      title: >-
        ? Consommation de {% set jours = ["Lundi",
        "Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] %}{{
        jours[now().weekday()] }}
      message: >
        ? Growatt :
        ({{states("sensor.growatt_integration_today_s_solar_energy")|round(1)}}
        kW)

        ? Solax : ({{states("sensor.solax_today_s_solar_energy")|round(1)}} kW)

        ? Conso Growatt:
        ({{states("sensor.growatt_integration_today_s_load")|round(1)}} kW)

        ? Conso Solax: ({{states("sensor.conso_reel_solax")|round(1)}} kW)

        ? Soc batterie growatt:
        ({{states("sensor.growatt_integration_battery_soc")}} %)

        ? Soc Batterie Solax: ({{states("sensor.solax_battery_capacity")}} %)

        ⚡️ Edf import:
        ({{(states('sensor.growatt_integration_today_s_grid_import') | float +
        states('sensor.solax_today_s_import_energy') | float) | round(2)}}KW)

        ⚡️ Edf export:
        ({{(states('sensor.growatt_integration_today_s_grid_export') | float +
        states('sensor.solax_today_s_export_energy') | float) | round(2)}}KW)

        ? Chauffe Eau baignoire:
        ({{states("sensor.conso_cumulus_baignoire_ajd")|round(1)}} kW)

        ? Chauffe Eau douche:
        ({{states("sensor.conso_cumulus_douche_ajd")|round(1)}} kW)

        ? Nissan Leaf: ({{states("sensor.conso_nissan_leaf_2_ajd")|round(1)}}
        kW)

        ? Eau :  ({{states("sensor.conso_eau_maison_ajd")|round(1)}} L)

        ? Compteur eau: {{states("counter.compteur_declenchement_puit")}}
           
               
  - service: notify.facebook_text
    data:
      title: >-
        ? Consommation de {% set jours = ["Lundi",
        "Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] %}{{
        jours[now().weekday()] }}
      message: >
        ? Growatt :
        ({{states("sensor.growatt_integration_today_s_solar_energy")|round(1)}}
        kW)

        ? Solax : ({{states("sensor.solax_today_s_solar_energy")|round(1)}} kW)

        ? Conso Growatt:
        ({{states("sensor.growatt_integration_today_s_load")|round(1)}} kW)

        ? Conso Solax: ({{states("sensor.conso_reel_solax")|round(1)}} kW)

        ? Soc batterie growatt:
        ({{states("sensor.growatt_integration_battery_soc")}} %)

        ? Soc Batterie Solax: ({{states("sensor.solax_battery_capacity")}} %)

        ⚡️ Edf import:
        ({{(states('sensor.growatt_integration_today_s_grid_import') | float +
        states('sensor.solax_today_s_import_energy') | float) | round(2)}}KW)

        ⚡️ Edf export:
        ({{(states('sensor.growatt_integration_today_s_grid_export') | float +
        states('sensor.solax_today_s_export_energy') | float) | round(2)}}KW)

        ? Chauffe Eau baignoire:
        ({{states("sensor.conso_cumulus_baignoire_ajd")|round(1)}} kW)

        ? Chauffe Eau douche:
        ({{states("sensor.conso_cumulus_douche_ajd")|round(1)}} kW)

        ? Nissan Leaf: ({{states("sensor.conso_nissan_leaf_2_ajd")|round(1)}}
        kW)

        ? Eau :  ({{states("sensor.conso_eau_maison_ajd")|round(1)}} L)

        ? Compteur eau: {{states("counter.compteur_declenchement_puit")}}


           
               
mode: single
Like Répondre
#2
Un exemple en image de ce que je reçois sur messenger


Pièces jointes Image(s)
   
Like Répondre
#3
Et la version de notification de l'appli ha


Pièces jointes Image(s)
   
Like Répondre
#4
Tu me tues avec ta production PV.
Mon déménagement est tout proche :-))
Jean-Luc
Like Répondre
#5
C est le sud-ouest, quand il pleut pas il fait beau  Laughing
Like Répondre
#6
Ici c'est plutôt 50 nuances de lumières. Faut vraiment s'adapter. Pas tjs simple ne serait-ce que niveau vêtements
Jean-Luc
Like Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
[-]
discussions récentes
Launch of the JK-BMS RS485 ad...
thanks that all worked , i w...jlm — 01:58 PM
Launch of the JK-BMS RS485 ad...
thanks that all worked , i wen...fandtm666 — 01:52 PM
Launch of the JK-BMS RS485 ad...
I hfound you app and managed...jlm — 12:10 PM
Launch of the JK-BMS RS485 ad...
I hfound you app and managed t...fandtm666 — 11:46 AM
Optimisation énergétique et e...
Salut !  C'est une réflexion ...eden12 — 06:09 PM
Issues with Premium Dashboard ...
I had installed successfully t...Smokin'Joe — 05:15 PM
Launch of the JK-BMS RS485 ad...
sent you 2 emails now - can yo...Smokin'Joe — 06:22 PM
Launch of the JK-BMS RS485 ad...
no worries - these things happ...Smokin'Joe — 02:54 PM
Launch of the JK-BMS RS485 ad...
I haven't received anything in...jlm — 01:56 PM
Launch of the JK-BMS RS485 ad...
I sent you an email with the i...Smokin'Joe — 01:03 PM
Launch of the JK-BMS RS485 ad...
Never used Ko-fi but I am su...jlm — 10:14 PM

[-]
Rechercher








(Advanced Search)

[-]
Who's Online
There are currently no members online.

[-]
goals
79% of the way to our goal of 10,000 posts!
Only 2,096 posts left to go!

[-]
Statistics
» Members: 1,064
» Latest member: fandtm666
» Forum threads: 876
» Forum posts: 7,904

Full Statistics

[-]
Latest Threads
Launch of the JK-BMS RS485 add-on for Ho...
Last Post: jlm
19-08-2026 01:58 PM
» Replies: 52
» Views: 48840
Optimisation énergétique et et protectio...
Last Post: eden12
12-08-2026 06:09 PM
» Replies: 2
» Views: 1051
Issues with Premium Dashboard - Solved
Last Post: Smokin'Joe
07-08-2026 05:15 PM
» Replies: 0
» Views: 217
Comparaison de cartes eSIM mondiales pou...
Last Post: jlm
30-07-2026 09:17 AM
» Replies: 1
» Views: 681
Présentation Kreg
Last Post: jlm
30-07-2026 09:12 AM
» Replies: 1
» Views: 705
Double MPTT
Last Post: Sylvain
25-07-2026 03:07 PM
» Replies: 33
» Views: 29928
Voici une toute nouvelle version de Smar...
Last Post: Tapion
23-07-2026 09:12 PM
» Replies: 74
» Views: 58123
Matériel Compatible addon
Last Post: STF
19-07-2026 04:08 PM
» Replies: 16
» Views: 16852
Présentation
Last Post: eden12
14-07-2026 11:44 AM
» Replies: 1
» Views: 1553
Présentation Harrys
Last Post: eden12
11-07-2026 12:36 PM
» Replies: 1
» Views: 1566

>