<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Forums - Tutoriels]]></title>
		<link>https://smartphoton.ch/forum/</link>
		<description><![CDATA[Forums - https://smartphoton.ch/forum]]></description>
		<pubDate>Thu, 25 Jun 2026 11:39:41 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Export quotidien données vers google drive ou smartphone]]></title>
			<link>https://smartphoton.ch/forum/thread-739.html</link>
			<pubDate>Tue, 19 Mar 2024 22:17:29 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=9">gazzzzton</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-739.html</guid>
			<description><![CDATA[Bonjour,<br />
<br />
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.<br />
<br />
1-export vers google drive:<br />
<br />
Pour exporter vos données quotidiennement vers un tableur excel sur google drive voici le tuto pour marier votre google drive a home assistant:<br />
<a href="https://www.home-assistant.io/integrations/google_sheets/" target="_blank" rel="noopener" class="mycode_url">https://www.home-assistant.io/integratio...le_sheets/</a><br />
<br />
Une fois votre drive google et home assistant en symbiose voici un exemple d'automatisation pour envoyer quotidiennement les données sur votre drive<br />
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:<br />
<br />
alias: export quotidien données google sheet<br />
description: &gt;-<br />
  export quotidien des données essentiels vers feuille excel sur mon google<br />
  drive sheet<br />
trigger:<br />
  - platform: time<br />
    at: "23:55:00"<br />
condition: []<br />
action:<br />
  - service: google_sheets.append_sheet<br />
    data:<br />
      config_entry: ######################### (votre id google sheet a la place des dieze)<br />
      worksheet: data<br />
      data:<br />
        total solaire solax (kwh): "{{ states('sensor.solax_today_s_solar_energy') }}"<br />
        total solaire superwatt (kwh): "{{ states('sensor.productionsolairesuperwattajd') }}"<br />
        total consommé edf (kwh): "{{ states('sensor.wemos_pzem_energy_today') }}"<br />
        total exporté solax (kwh): "{{ states('sensor.solax_today_s_export_energy') }}"<br />
        total batterie solax charge (kwh): "{{ states('sensor.solax_battery_input_energy_today') }}"<br />
        total batterie solax decharge (kwh): "{{ states('sensor.solax_battery_output_energy_today') }}"<br />
        total batterie superwatt charge (kwh): "{{ states('sensor.kw_batterie_charge_superwatt_ajd') }}"<br />
        total batterie superwatt decharge (kwh): "{{ states('sensor.kw_batterie_decharge_ajd') }}"<br />
        total nissan leaf (kwh): "{{ states('sensor.conso_nissan_leaf_2_ajd') }}"<br />
        total cumulus douche (kwh): "{{ states('sensor.conso_cumulus_douche_ajd') }}"<br />
        total cumulus baignoire (kwh): "{{ states('sensor.conso_cumulus_baignoire_ajd') }}"<br />
        total machine a laver (kwh): "{{ states('sensor.conso_machine_a_laver_ajd') }}"<br />
        total puit (kwh): "{{ states('sensor.conso_puit_ajd') }}"<br />
        compteur declenchement puit: "{{ states('counter.compteur_declenchement_puit') }}"<br />
mode: single<br />
<br />
<br />
<br />
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<br />
<br />
alias: "[NOTIFICATION] Consommation quotidienne"<br />
description: ""<br />
trigger:<br />
  - platform: time<br />
    at: "22:25:00"<br />
condition: []<br />
action:<br />
  - service: notify.mobile_app_xiaomi_alexis<br />
    data:<br />
      title: &gt;-<br />
        ? Consommation de {% set jours = ["Lundi",<br />
        "Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] %}{{<br />
        jours[now().weekday()] }}<br />
      message: &gt;<br />
        ? Growatt :<br />
        ({{states("sensor.growatt_integration_today_s_solar_energy")|round(1)}}<br />
        kW)<br />
<br />
        ? Solax : ({{states("sensor.solax_today_s_solar_energy")|round(1)}} kW)<br />
<br />
        ? Conso Growatt:<br />
        ({{states("sensor.growatt_integration_today_s_load")|round(1)}} kW)<br />
<br />
        ? Conso Solax: ({{states("sensor.conso_reel_solax")|round(1)}} kW)<br />
<br />
        ? Soc batterie growatt:<br />
        ({{states("sensor.growatt_integration_battery_soc")}} %)<br />
<br />
        ? Soc Batterie Solax: ({{states("sensor.solax_battery_capacity")}} %)<br />
<br />
        ⚡️ Edf import:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_import') | float +<br />
        states('sensor.solax_today_s_import_energy') | float) | round(2)}}KW)<br />
<br />
        ⚡️ Edf export:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_export') | float +<br />
        states('sensor.solax_today_s_export_energy') | float) | round(2)}}KW)<br />
<br />
        ? Chauffe Eau baignoire:<br />
        ({{states("sensor.conso_cumulus_baignoire_ajd")|round(1)}} kW)<br />
<br />
        ? Chauffe Eau douche:<br />
        ({{states("sensor.conso_cumulus_douche_ajd")|round(1)}} kW)<br />
<br />
        ? Nissan Leaf: ({{states("sensor.conso_nissan_leaf_2_ajd")|round(1)}}<br />
        kW) <br />
<br />
        ? Eau :  ({{states("sensor.conso_eau_maison_ajd")|round(1)}} L)<br />
<br />
        ? Compteur eau: {{states("counter.compteur_declenchement_puit")}}<br />
            <br />
                <br />
  - service: notify.facebook_text<br />
    data:<br />
      title: &gt;-<br />
        ? Consommation de {% set jours = ["Lundi",<br />
        "Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] %}{{<br />
        jours[now().weekday()] }}<br />
      message: &gt;<br />
        ? Growatt :<br />
        ({{states("sensor.growatt_integration_today_s_solar_energy")|round(1)}}<br />
        kW)<br />
<br />
        ? Solax : ({{states("sensor.solax_today_s_solar_energy")|round(1)}} kW)<br />
<br />
        ? Conso Growatt:<br />
        ({{states("sensor.growatt_integration_today_s_load")|round(1)}} kW)<br />
<br />
        ? Conso Solax: ({{states("sensor.conso_reel_solax")|round(1)}} kW)<br />
<br />
        ? Soc batterie growatt:<br />
        ({{states("sensor.growatt_integration_battery_soc")}} %)<br />
<br />
        ? Soc Batterie Solax: ({{states("sensor.solax_battery_capacity")}} %)<br />
<br />
        ⚡️ Edf import:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_import') | float +<br />
        states('sensor.solax_today_s_import_energy') | float) | round(2)}}KW)<br />
<br />
        ⚡️ Edf export:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_export') | float +<br />
        states('sensor.solax_today_s_export_energy') | float) | round(2)}}KW)<br />
<br />
        ? Chauffe Eau baignoire:<br />
        ({{states("sensor.conso_cumulus_baignoire_ajd")|round(1)}} kW)<br />
<br />
        ? Chauffe Eau douche:<br />
        ({{states("sensor.conso_cumulus_douche_ajd")|round(1)}} kW)<br />
<br />
        ? Nissan Leaf: ({{states("sensor.conso_nissan_leaf_2_ajd")|round(1)}}<br />
        kW) <br />
<br />
        ? Eau :  ({{states("sensor.conso_eau_maison_ajd")|round(1)}} L)<br />
<br />
        ? Compteur eau: {{states("counter.compteur_declenchement_puit")}}<br />
<br />
<br />
            <br />
                <br />
mode: single]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
<br />
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.<br />
<br />
1-export vers google drive:<br />
<br />
Pour exporter vos données quotidiennement vers un tableur excel sur google drive voici le tuto pour marier votre google drive a home assistant:<br />
<a href="https://www.home-assistant.io/integrations/google_sheets/" target="_blank" rel="noopener" class="mycode_url">https://www.home-assistant.io/integratio...le_sheets/</a><br />
<br />
Une fois votre drive google et home assistant en symbiose voici un exemple d'automatisation pour envoyer quotidiennement les données sur votre drive<br />
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:<br />
<br />
alias: export quotidien données google sheet<br />
description: &gt;-<br />
  export quotidien des données essentiels vers feuille excel sur mon google<br />
  drive sheet<br />
trigger:<br />
  - platform: time<br />
    at: "23:55:00"<br />
condition: []<br />
action:<br />
  - service: google_sheets.append_sheet<br />
    data:<br />
      config_entry: ######################### (votre id google sheet a la place des dieze)<br />
      worksheet: data<br />
      data:<br />
        total solaire solax (kwh): "{{ states('sensor.solax_today_s_solar_energy') }}"<br />
        total solaire superwatt (kwh): "{{ states('sensor.productionsolairesuperwattajd') }}"<br />
        total consommé edf (kwh): "{{ states('sensor.wemos_pzem_energy_today') }}"<br />
        total exporté solax (kwh): "{{ states('sensor.solax_today_s_export_energy') }}"<br />
        total batterie solax charge (kwh): "{{ states('sensor.solax_battery_input_energy_today') }}"<br />
        total batterie solax decharge (kwh): "{{ states('sensor.solax_battery_output_energy_today') }}"<br />
        total batterie superwatt charge (kwh): "{{ states('sensor.kw_batterie_charge_superwatt_ajd') }}"<br />
        total batterie superwatt decharge (kwh): "{{ states('sensor.kw_batterie_decharge_ajd') }}"<br />
        total nissan leaf (kwh): "{{ states('sensor.conso_nissan_leaf_2_ajd') }}"<br />
        total cumulus douche (kwh): "{{ states('sensor.conso_cumulus_douche_ajd') }}"<br />
        total cumulus baignoire (kwh): "{{ states('sensor.conso_cumulus_baignoire_ajd') }}"<br />
        total machine a laver (kwh): "{{ states('sensor.conso_machine_a_laver_ajd') }}"<br />
        total puit (kwh): "{{ states('sensor.conso_puit_ajd') }}"<br />
        compteur declenchement puit: "{{ states('counter.compteur_declenchement_puit') }}"<br />
mode: single<br />
<br />
<br />
<br />
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<br />
<br />
alias: "[NOTIFICATION] Consommation quotidienne"<br />
description: ""<br />
trigger:<br />
  - platform: time<br />
    at: "22:25:00"<br />
condition: []<br />
action:<br />
  - service: notify.mobile_app_xiaomi_alexis<br />
    data:<br />
      title: &gt;-<br />
        ? Consommation de {% set jours = ["Lundi",<br />
        "Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] %}{{<br />
        jours[now().weekday()] }}<br />
      message: &gt;<br />
        ? Growatt :<br />
        ({{states("sensor.growatt_integration_today_s_solar_energy")|round(1)}}<br />
        kW)<br />
<br />
        ? Solax : ({{states("sensor.solax_today_s_solar_energy")|round(1)}} kW)<br />
<br />
        ? Conso Growatt:<br />
        ({{states("sensor.growatt_integration_today_s_load")|round(1)}} kW)<br />
<br />
        ? Conso Solax: ({{states("sensor.conso_reel_solax")|round(1)}} kW)<br />
<br />
        ? Soc batterie growatt:<br />
        ({{states("sensor.growatt_integration_battery_soc")}} %)<br />
<br />
        ? Soc Batterie Solax: ({{states("sensor.solax_battery_capacity")}} %)<br />
<br />
        ⚡️ Edf import:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_import') | float +<br />
        states('sensor.solax_today_s_import_energy') | float) | round(2)}}KW)<br />
<br />
        ⚡️ Edf export:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_export') | float +<br />
        states('sensor.solax_today_s_export_energy') | float) | round(2)}}KW)<br />
<br />
        ? Chauffe Eau baignoire:<br />
        ({{states("sensor.conso_cumulus_baignoire_ajd")|round(1)}} kW)<br />
<br />
        ? Chauffe Eau douche:<br />
        ({{states("sensor.conso_cumulus_douche_ajd")|round(1)}} kW)<br />
<br />
        ? Nissan Leaf: ({{states("sensor.conso_nissan_leaf_2_ajd")|round(1)}}<br />
        kW) <br />
<br />
        ? Eau :  ({{states("sensor.conso_eau_maison_ajd")|round(1)}} L)<br />
<br />
        ? Compteur eau: {{states("counter.compteur_declenchement_puit")}}<br />
            <br />
                <br />
  - service: notify.facebook_text<br />
    data:<br />
      title: &gt;-<br />
        ? Consommation de {% set jours = ["Lundi",<br />
        "Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] %}{{<br />
        jours[now().weekday()] }}<br />
      message: &gt;<br />
        ? Growatt :<br />
        ({{states("sensor.growatt_integration_today_s_solar_energy")|round(1)}}<br />
        kW)<br />
<br />
        ? Solax : ({{states("sensor.solax_today_s_solar_energy")|round(1)}} kW)<br />
<br />
        ? Conso Growatt:<br />
        ({{states("sensor.growatt_integration_today_s_load")|round(1)}} kW)<br />
<br />
        ? Conso Solax: ({{states("sensor.conso_reel_solax")|round(1)}} kW)<br />
<br />
        ? Soc batterie growatt:<br />
        ({{states("sensor.growatt_integration_battery_soc")}} %)<br />
<br />
        ? Soc Batterie Solax: ({{states("sensor.solax_battery_capacity")}} %)<br />
<br />
        ⚡️ Edf import:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_import') | float +<br />
        states('sensor.solax_today_s_import_energy') | float) | round(2)}}KW)<br />
<br />
        ⚡️ Edf export:<br />
        ({{(states('sensor.growatt_integration_today_s_grid_export') | float +<br />
        states('sensor.solax_today_s_export_energy') | float) | round(2)}}KW)<br />
<br />
        ? Chauffe Eau baignoire:<br />
        ({{states("sensor.conso_cumulus_baignoire_ajd")|round(1)}} kW)<br />
<br />
        ? Chauffe Eau douche:<br />
        ({{states("sensor.conso_cumulus_douche_ajd")|round(1)}} kW)<br />
<br />
        ? Nissan Leaf: ({{states("sensor.conso_nissan_leaf_2_ajd")|round(1)}}<br />
        kW) <br />
<br />
        ? Eau :  ({{states("sensor.conso_eau_maison_ajd")|round(1)}} L)<br />
<br />
        ? Compteur eau: {{states("counter.compteur_declenchement_puit")}}<br />
<br />
<br />
            <br />
                <br />
mode: single]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Comment créer des compteurs d'énergies  (Wh)]]></title>
			<link>https://smartphoton.ch/forum/thread-729.html</link>
			<pubDate>Sat, 09 Mar 2024 10:51:09 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-729.html</guid>
			<description><![CDATA[Voici comment créer des compteurs d'énergies. Ceux-ci sont utiles pour voir heure après heure une consommation ou une production.<br />
Et ensuite comment créer des compteurs journaliers, mensuels ou annuels<br />
<br />
Ceux-ci sont très utiles pour nos graphiques, statistiques et autres automations]]></description>
			<content:encoded><![CDATA[Voici comment créer des compteurs d'énergies. Ceux-ci sont utiles pour voir heure après heure une consommation ou une production.<br />
Et ensuite comment créer des compteurs journaliers, mensuels ou annuels<br />
<br />
Ceux-ci sont très utiles pour nos graphiques, statistiques et autres automations]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Plusieurs batteries Pylontech ? comment récupérer les SOC mini-maxi-moyen ?]]></title>
			<link>https://smartphoton.ch/forum/thread-718.html</link>
			<pubDate>Thu, 07 Mar 2024 10:03:08 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-718.html</guid>
			<description><![CDATA[Vous avez par exemple 3 batteries Pylontech et souhaitez faire:<br />
<ul class="mycode_list"><li>une jauge pour le SOC de la batterie la moins chargée <br />
</li>
<li>une jauge pour le SOC de la batterie la moins chargée <br />
</li>
<li>une jauge pour le SOC moyenne de toutes les batteries<br />
</li>
</ul>
<br />
Marche à suivre:<br />
<br />
Aller dans le menu <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Paramètres-Appareils-Entrées</span> </span>et créer une entrée nommée <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Groupe</span></span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2118" target="_blank" title="">2024-03-07_09h02_18.png</a> (Taille : 27.6 Ko / Téléchargements : 1092)
<!-- end: postbit_attachments_attachment --><br />
<br />
puis <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Groupe de Capteurs</span></span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2119" target="_blank" title="">2024-03-07_09h03_50.png</a> (Taille : 26.4 Ko / Téléchargements : 1085)
<!-- end: postbit_attachments_attachment --><br />
<br />
Entrer le <span style="font-weight: bold;" class="mycode_b">nom </span>de votre future capteur, ajouter vos entités <span style="font-weight: bold;" class="mycode_b">Pylontech SOc's</span> et sélectionner le sélecteur <span style="font-weight: bold;" class="mycode_b">Minimum</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2121" target="_blank" title="">2024-03-07_09h36_05.png</a> (Taille : 31.92 Ko / Téléchargements : 1073)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2122" target="_blank" title="">2024-03-07_09h38_01.png</a> (Taille : 6.08 Ko / Téléchargements : 1112)
<!-- end: postbit_attachments_attachment --><br />
<br />
Répéter l'opération avec cette fois ci le sélecteur maximum<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2123" target="_blank" title="">2024-03-07_09h40_49.png</a> (Taille : 31.38 Ko / Téléchargements : 1092)
<!-- end: postbit_attachments_attachment --><br />
<br />
et pour finir faire idem pour la moyenne<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2124" target="_blank" title="">2024-03-07_09h44_03.png</a> (Taille : 30.13 Ko / Téléchargements : 1093)
<!-- end: postbit_attachments_attachment --><br />
<br />
Vous devriez donc au final vous retrouver avec 3 capteurs qui donnes le minimum-maximum-moyenne du SOC<br />
<br />
Allez ensuite dans <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">tableau de bord </span></span>et créer un tableau de bord vide<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2125" target="_blank" title="">2024-03-07_09h49_39.png</a> (Taille : 17.14 Ko / Téléchargements : 1133)
<!-- end: postbit_attachments_attachment --><br />
<br />
Ouvrez celui-ci et cliquer sur le crayon en haut à droite et ensuite <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">ajouter une carte </span></span>en bas à droite<br />
Sélectionner la carte <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Jauge </span></span>entrez l'entité créée ci-dessus, le soc <span style="font-weight: bold;" class="mycode_b">minimal </span>et ajouter des seuils pour les couleurs<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2126" target="_blank" title="">2024-03-07_09h54_22.png</a> (Taille : 38.05 Ko / Téléchargements : 1116)
<!-- end: postbit_attachments_attachment --><br />
<br />
Cliquez ensuite sur dupliquer et sélectionner l'entité <span style="font-weight: bold;" class="mycode_b">maxi</span><span style="font-weight: bold;" class="mycode_b">mum</span><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2127" target="_blank" title="">2024-03-07_09h56_03.png</a> (Taille : 19.59 Ko / Téléchargements : 1131)
<!-- end: postbit_attachments_attachment --><br />
<br />
faire de même pour la jauge moyenne et sélectionner l'entité <span style="font-weight: bold;" class="mycode_b">moyenne. </span>Cliquez ensuite sur<span style="font-weight: bold;" class="mycode_b"> terminé </span>en haut à droite<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Vous allez obtenir ceci </span><span style="font-weight: bold;" class="mycode_b"><img src="https://smartphoton.ch/forum/images/smilies/animated/tongueout.gif" alt="Tongueout" title="Tongueout" class="smilie smilie_3785" /></span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2128" target="_blank" title="">2024-03-07_10h02_12.png</a> (Taille : 21.78 Ko / Téléchargements : 1393)
<!-- end: postbit_attachments_attachment --><br />
<br />
<br />
Voilà qui est fait  <br />
<br />
(j'ai un peu modifié les images par la suite car mes 3 batteries étaient au même SOC et cela ne montrait pas les différences entre les SOC)]]></description>
			<content:encoded><![CDATA[Vous avez par exemple 3 batteries Pylontech et souhaitez faire:<br />
<ul class="mycode_list"><li>une jauge pour le SOC de la batterie la moins chargée <br />
</li>
<li>une jauge pour le SOC de la batterie la moins chargée <br />
</li>
<li>une jauge pour le SOC moyenne de toutes les batteries<br />
</li>
</ul>
<br />
Marche à suivre:<br />
<br />
Aller dans le menu <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Paramètres-Appareils-Entrées</span> </span>et créer une entrée nommée <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Groupe</span></span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2118" target="_blank" title="">2024-03-07_09h02_18.png</a> (Taille : 27.6 Ko / Téléchargements : 1092)
<!-- end: postbit_attachments_attachment --><br />
<br />
puis <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Groupe de Capteurs</span></span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2119" target="_blank" title="">2024-03-07_09h03_50.png</a> (Taille : 26.4 Ko / Téléchargements : 1085)
<!-- end: postbit_attachments_attachment --><br />
<br />
Entrer le <span style="font-weight: bold;" class="mycode_b">nom </span>de votre future capteur, ajouter vos entités <span style="font-weight: bold;" class="mycode_b">Pylontech SOc's</span> et sélectionner le sélecteur <span style="font-weight: bold;" class="mycode_b">Minimum</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2121" target="_blank" title="">2024-03-07_09h36_05.png</a> (Taille : 31.92 Ko / Téléchargements : 1073)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2122" target="_blank" title="">2024-03-07_09h38_01.png</a> (Taille : 6.08 Ko / Téléchargements : 1112)
<!-- end: postbit_attachments_attachment --><br />
<br />
Répéter l'opération avec cette fois ci le sélecteur maximum<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2123" target="_blank" title="">2024-03-07_09h40_49.png</a> (Taille : 31.38 Ko / Téléchargements : 1092)
<!-- end: postbit_attachments_attachment --><br />
<br />
et pour finir faire idem pour la moyenne<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2124" target="_blank" title="">2024-03-07_09h44_03.png</a> (Taille : 30.13 Ko / Téléchargements : 1093)
<!-- end: postbit_attachments_attachment --><br />
<br />
Vous devriez donc au final vous retrouver avec 3 capteurs qui donnes le minimum-maximum-moyenne du SOC<br />
<br />
Allez ensuite dans <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">tableau de bord </span></span>et créer un tableau de bord vide<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2125" target="_blank" title="">2024-03-07_09h49_39.png</a> (Taille : 17.14 Ko / Téléchargements : 1133)
<!-- end: postbit_attachments_attachment --><br />
<br />
Ouvrez celui-ci et cliquer sur le crayon en haut à droite et ensuite <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">ajouter une carte </span></span>en bas à droite<br />
Sélectionner la carte <span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Jauge </span></span>entrez l'entité créée ci-dessus, le soc <span style="font-weight: bold;" class="mycode_b">minimal </span>et ajouter des seuils pour les couleurs<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2126" target="_blank" title="">2024-03-07_09h54_22.png</a> (Taille : 38.05 Ko / Téléchargements : 1116)
<!-- end: postbit_attachments_attachment --><br />
<br />
Cliquez ensuite sur dupliquer et sélectionner l'entité <span style="font-weight: bold;" class="mycode_b">maxi</span><span style="font-weight: bold;" class="mycode_b">mum</span><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2127" target="_blank" title="">2024-03-07_09h56_03.png</a> (Taille : 19.59 Ko / Téléchargements : 1131)
<!-- end: postbit_attachments_attachment --><br />
<br />
faire de même pour la jauge moyenne et sélectionner l'entité <span style="font-weight: bold;" class="mycode_b">moyenne. </span>Cliquez ensuite sur<span style="font-weight: bold;" class="mycode_b"> terminé </span>en haut à droite<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Vous allez obtenir ceci </span><span style="font-weight: bold;" class="mycode_b"><img src="https://smartphoton.ch/forum/images/smilies/animated/tongueout.gif" alt="Tongueout" title="Tongueout" class="smilie smilie_3785" /></span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2128" target="_blank" title="">2024-03-07_10h02_12.png</a> (Taille : 21.78 Ko / Téléchargements : 1393)
<!-- end: postbit_attachments_attachment --><br />
<br />
<br />
Voilà qui est fait  <br />
<br />
(j'ai un peu modifié les images par la suite car mes 3 batteries étaient au même SOC et cela ne montrait pas les différences entre les SOC)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Créer une entité Home Assistant à partir d'un topic MQTT Smartphoton]]></title>
			<link>https://smartphoton.ch/forum/thread-717.html</link>
			<pubDate>Wed, 06 Mar 2024 18:34:29 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-717.html</guid>
			<description><![CDATA[Suite à une demande précise.<br />
Voici comment récupérer un topic mis à disposition sur le Broker MQTT et en faire un senseur dans HA et ainsi, au final pouvoir gérer cette valeur.<br />
<br />
par exemple on veut créer un senseur avec le topic <span style="font-weight: bold;" class="mycode_b">smartphoton/voltronic1/qpig_16 </span>qui donne selon la <a href="https://github.com/jean-luc1203/Smartphoton-Documentation/blob/main/Smartphoton_MQTT_Description-QPIGS.pdf" target="_blank" rel="noopener" class="mycode_url">documentation </a> l'état de l'appareil.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2112" target="_blank" title="">2024-03-06_18h20_25.png</a> (Taille : 2.31 Ko / Téléchargements : 2186)
<!-- end: postbit_attachments_attachment --><br />
<br />
Alors, il faut éditer le fichier <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">configuration.yaml</span></span> et ajouter ce qui suit:<br />
<div class="codeblock"><div class="title">Code :</div><div class="body" dir="ltr"><code>sensor:<br />
  - name: "Etat de l'onduleur"<br />
    state_topic: "smartphoton/voltronic1/qpig_16"<br />
    unique_id: "Etat-de--onduleur"</code></div></div><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2113" target="_blank" title="">2024-03-06_18h27_04.png</a> (Taille : 4.55 Ko / Téléchargements : 2154)
<!-- end: postbit_attachments_attachment --><br />
<br />
Puis sauvegarder et aller dans le menu <span style="font-style: italic;" class="mycode_i">Outils de développement</span> de Home Assistant et lancer la relecture des fichiers Yaml pour qu'il créer ce senseur.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2114" target="_blank" title="">2024-03-06_18h28_59.png</a> (Taille : 40.61 Ko / Téléchargements : 2103)
<!-- end: postbit_attachments_attachment --><br />
<br />
Si tout va bien ( Il n'y pas de raisons ) vous aller le retrouver par exemple dans l'onglet <span style="font-style: italic;" class="mycode_i">Etat</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2115" target="_blank" title="">2024-03-06_18h31_56.png</a> (Taille : 24.51 Ko / Téléchargements : 2090)
<!-- end: postbit_attachments_attachment --><br />
<br />
ou plus généralement dans <span style="font-weight: bold;" class="mycode_b">Appareils - Entités</span> <br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2116" target="_blank" title="">2024-03-06_18h32_54.png</a> (Taille : 11.47 Ko / Téléchargements : 2073)
<!-- end: postbit_attachments_attachment --><br />
<br />
avec l'historique qui va bien si nécessaire.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2117" target="_blank" title="">2024-03-06_18h33_36.png</a> (Taille : 10.86 Ko / Téléchargements : 2122)
<!-- end: postbit_attachments_attachment --><br />
<br />
Pas plus compliqué que ça (quand on sait)  <img src="https://smartphoton.ch/forum/images/smilies/animated/blushing.gif" alt="Blushing" title="Blushing" class="smilie smilie_3782" />]]></description>
			<content:encoded><![CDATA[Suite à une demande précise.<br />
Voici comment récupérer un topic mis à disposition sur le Broker MQTT et en faire un senseur dans HA et ainsi, au final pouvoir gérer cette valeur.<br />
<br />
par exemple on veut créer un senseur avec le topic <span style="font-weight: bold;" class="mycode_b">smartphoton/voltronic1/qpig_16 </span>qui donne selon la <a href="https://github.com/jean-luc1203/Smartphoton-Documentation/blob/main/Smartphoton_MQTT_Description-QPIGS.pdf" target="_blank" rel="noopener" class="mycode_url">documentation </a> l'état de l'appareil.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2112" target="_blank" title="">2024-03-06_18h20_25.png</a> (Taille : 2.31 Ko / Téléchargements : 2186)
<!-- end: postbit_attachments_attachment --><br />
<br />
Alors, il faut éditer le fichier <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i">configuration.yaml</span></span> et ajouter ce qui suit:<br />
<div class="codeblock"><div class="title">Code :</div><div class="body" dir="ltr"><code>sensor:<br />
  - name: "Etat de l'onduleur"<br />
    state_topic: "smartphoton/voltronic1/qpig_16"<br />
    unique_id: "Etat-de--onduleur"</code></div></div><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2113" target="_blank" title="">2024-03-06_18h27_04.png</a> (Taille : 4.55 Ko / Téléchargements : 2154)
<!-- end: postbit_attachments_attachment --><br />
<br />
Puis sauvegarder et aller dans le menu <span style="font-style: italic;" class="mycode_i">Outils de développement</span> de Home Assistant et lancer la relecture des fichiers Yaml pour qu'il créer ce senseur.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2114" target="_blank" title="">2024-03-06_18h28_59.png</a> (Taille : 40.61 Ko / Téléchargements : 2103)
<!-- end: postbit_attachments_attachment --><br />
<br />
Si tout va bien ( Il n'y pas de raisons ) vous aller le retrouver par exemple dans l'onglet <span style="font-style: italic;" class="mycode_i">Etat</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2115" target="_blank" title="">2024-03-06_18h31_56.png</a> (Taille : 24.51 Ko / Téléchargements : 2090)
<!-- end: postbit_attachments_attachment --><br />
<br />
ou plus généralement dans <span style="font-weight: bold;" class="mycode_b">Appareils - Entités</span> <br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2116" target="_blank" title="">2024-03-06_18h32_54.png</a> (Taille : 11.47 Ko / Téléchargements : 2073)
<!-- end: postbit_attachments_attachment --><br />
<br />
avec l'historique qui va bien si nécessaire.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2117" target="_blank" title="">2024-03-06_18h33_36.png</a> (Taille : 10.86 Ko / Téléchargements : 2122)
<!-- end: postbit_attachments_attachment --><br />
<br />
Pas plus compliqué que ça (quand on sait)  <img src="https://smartphoton.ch/forum/images/smilies/animated/blushing.gif" alt="Blushing" title="Blushing" class="smilie smilie_3782" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[COMMENT RETROUVEZ NOS ELFIN SUR NOTRE RESEAU  LOCAL]]></title>
			<link>https://smartphoton.ch/forum/thread-702.html</link>
			<pubDate>Sun, 25 Feb 2024 17:46:39 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=361">LIVINGEYES</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-702.html</guid>
			<description><![CDATA[Bonjour à tous !<br />
Je me permets ce petit tuto de retour d'expérience, afin d'aider des novices comme moi qui galèrent avec leur elfin EW10 et autre quand ils disparaissent de notre réseau local.<br />
Voilà, j'ai changé de fournisseur d'accès, je suis passé de la deux chevaux à la Ferrari (ADSL toute pourrie, même pas la vitesse d'un vieux modem, a Starlink) habitant en rase campagne, c'était la seule solution fiable.<br />
Et après avoir installé Starlink, impossible de voir réapparaître mes 2 Elfin sur mon réseau local, même après réinitialisation des Elfin, utilisation du logiciel fing etc...<br />
Tous mes autres appareils étaient détectés par le routeur sauf les Elfin. Du plus, sur le routeur Starlink pas de connexion réseau filaire, il faut acheter un boitier supplémentaire, ce que j'ai fait, car pour installer home assistant, il faut une connexion filaire pour faire l'installation, après, on peut passer en wifi. Attention pour ceux qui sont avec Starlink, bien faire la séparation du routeur en 2.4G/ 5G pour les Elfin et autres appareils qui ne fonctionne qu'en 2.4G<br />
Donc j'ai fait des recherches sur le site chinois et j'ai trouvé cette application HF-smartlink V8.<br />
C'est très simple, il faut décompresser le fichier (ci-joint à ce tuto) sur votre PC. <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2020" target="_blank" title="">Smartlink_V8_20221108.zip</a> (Taille : 15.49 Mo / Téléchargements : 757)
<!-- end: postbit_attachments_attachment --><br />
<br />
Installé sur votre mobile la version correspondante a celui-ci Android ou iOS. Ensuite, prenez votre Elfin mettez-le, le plus près de votre routeur et alimentez-le en volt (5V à 12V) uniquement, comme précisé par le constructeur suivant votre modèle, les leds vertes doivent clignoter<br />
ensuite, vous allez sur votre mobile cherche cette icône <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2026" target="_blank" title="">Screenshot_20240225_161001_One UI Home.jpg</a> (Taille : 58.41 Ko / Téléchargements : 1306)
<!-- end: postbit_attachments_attachment -->  cliquer dessus pour ouvrir l'application<br />
<br />
vous avez cette page d'afficher<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2027" target="_blank" title="">Screenshot_20240225_155046_SmartLink Demo.jpg</a> (Taille : 11.84 Ko / Téléchargements : 1318)
<!-- end: postbit_attachments_attachment --> cliquer sur Smartlink7 Demo<br />
<br />
vous avez cette page d'afficher <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2028" target="_blank" title="">Screenshot_20240225_155057_SmartLink Demo.jpg</a> (Taille : 20.36 Ko / Téléchargements : 1244)
<!-- end: postbit_attachments_attachment --> cliquer sur Customized Activity<br />
<br />
vous avez cette page d'afficher<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2029" target="_blank" title="">Screenshot_20240225_155609_SmartLink Demo.jpg</a> (Taille : 28.33 Ko / Téléchargements : 1245)
<!-- end: postbit_attachments_attachment --> le premier champ SSD n'est pas accessible donc ne pas s'en préoccuper, rentré dans le deuxième champ le mot de pass de votre routeur, ensuite, ne pas s'occuper du 3ᵉ champs (other), laissez le 4ᵉ champs sur SmartLink V8 puis allez sur votre Elfin appuyé sur le bouton reset du Elfin une fois durant une a deux secondes maxi, les leds doivent rapidement clignoté <br />
<br />
à ce moment-là appuyer sur le champ start sur votre mobile<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2030" target="_blank" title="">Screenshot_20240225_155609_SmartLink Demo1.jpg</a> (Taille : 29.11 Ko / Téléchargements : 1292)
<!-- end: postbit_attachments_attachment --> l'application va rechercher votre routeur et détecte le elfin<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2032" target="_blank" title="">t.png</a> (Taille : 31.43 Ko / Téléchargements : 1197)
<!-- end: postbit_attachments_attachment --><br />
<br />
, les leds du elfin vont clignoter moins vite à un moment, sur l'aplication, vous devez voir furtivement le ip du Elfin apparaitre<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2033" target="_blank" title="">t1.png</a> (Taille : 26.39 Ko / Téléchargements : 1211)
<!-- end: postbit_attachments_attachment --><br />
<br />
, bien attendre que l'application affiche SmartLink completed sinon refaire la manipulation<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2034" target="_blank" title="">T2.png</a> (Taille : 26.1 Ko / Téléchargements : 1216)
<!-- end: postbit_attachments_attachment --><br />
<br />
Normalement si l'application affiche Smartlink completed, vous devez voir votre elfin sur votre routeur et donc avoir aussi son ip et pouvoir<br />
le reconfigurer en tapant son ip sur votre pc pour avoir accès a sa page de configuration.<br />
<br />
Voilà, j'espère que ce tuto est assez clair, car là aussi, c'est une première pour moi d'en faire un. <img src="https://smartphoton.ch/forum/images/smilies/TwitEmojiV2/blush.png" alt="Blush" title="Blush" class="smilie smilie_3836" /> <img src="https://smartphoton.ch/forum/images/smilies/TwitEmojiV2/blush.png" alt="Blush" title="Blush" class="smilie smilie_3836" /> Voici le manuel traduit en français avec mes petit moyen soyer indulgent lol !<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/pngegg.png" title="pdf" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2035" target="_blank" title="">HF-SmartLink V8User Manual_20181121.pdf</a> (Taille : 648.58 Ko / Téléchargements : 1251)
<!-- end: postbit_attachments_attachment --><br />
<br />
En espérant aider les néophytes comme moi qui ne somment pas vraiment à l'aise avec ces technologies <img src="https://smartphoton.ch/forum/images/smilies/animated/mad.gif" alt="Mad" title="Mad" class="smilie smilie_3784" /> <img src="https://smartphoton.ch/forum/images/smilies/animated/mad.gif" alt="Mad" title="Mad" class="smilie smilie_3784" />]]></description>
			<content:encoded><![CDATA[Bonjour à tous !<br />
Je me permets ce petit tuto de retour d'expérience, afin d'aider des novices comme moi qui galèrent avec leur elfin EW10 et autre quand ils disparaissent de notre réseau local.<br />
Voilà, j'ai changé de fournisseur d'accès, je suis passé de la deux chevaux à la Ferrari (ADSL toute pourrie, même pas la vitesse d'un vieux modem, a Starlink) habitant en rase campagne, c'était la seule solution fiable.<br />
Et après avoir installé Starlink, impossible de voir réapparaître mes 2 Elfin sur mon réseau local, même après réinitialisation des Elfin, utilisation du logiciel fing etc...<br />
Tous mes autres appareils étaient détectés par le routeur sauf les Elfin. Du plus, sur le routeur Starlink pas de connexion réseau filaire, il faut acheter un boitier supplémentaire, ce que j'ai fait, car pour installer home assistant, il faut une connexion filaire pour faire l'installation, après, on peut passer en wifi. Attention pour ceux qui sont avec Starlink, bien faire la séparation du routeur en 2.4G/ 5G pour les Elfin et autres appareils qui ne fonctionne qu'en 2.4G<br />
Donc j'ai fait des recherches sur le site chinois et j'ai trouvé cette application HF-smartlink V8.<br />
C'est très simple, il faut décompresser le fichier (ci-joint à ce tuto) sur votre PC. <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2020" target="_blank" title="">Smartlink_V8_20221108.zip</a> (Taille : 15.49 Mo / Téléchargements : 757)
<!-- end: postbit_attachments_attachment --><br />
<br />
Installé sur votre mobile la version correspondante a celui-ci Android ou iOS. Ensuite, prenez votre Elfin mettez-le, le plus près de votre routeur et alimentez-le en volt (5V à 12V) uniquement, comme précisé par le constructeur suivant votre modèle, les leds vertes doivent clignoter<br />
ensuite, vous allez sur votre mobile cherche cette icône <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2026" target="_blank" title="">Screenshot_20240225_161001_One UI Home.jpg</a> (Taille : 58.41 Ko / Téléchargements : 1306)
<!-- end: postbit_attachments_attachment -->  cliquer dessus pour ouvrir l'application<br />
<br />
vous avez cette page d'afficher<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2027" target="_blank" title="">Screenshot_20240225_155046_SmartLink Demo.jpg</a> (Taille : 11.84 Ko / Téléchargements : 1318)
<!-- end: postbit_attachments_attachment --> cliquer sur Smartlink7 Demo<br />
<br />
vous avez cette page d'afficher <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2028" target="_blank" title="">Screenshot_20240225_155057_SmartLink Demo.jpg</a> (Taille : 20.36 Ko / Téléchargements : 1244)
<!-- end: postbit_attachments_attachment --> cliquer sur Customized Activity<br />
<br />
vous avez cette page d'afficher<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2029" target="_blank" title="">Screenshot_20240225_155609_SmartLink Demo.jpg</a> (Taille : 28.33 Ko / Téléchargements : 1245)
<!-- end: postbit_attachments_attachment --> le premier champ SSD n'est pas accessible donc ne pas s'en préoccuper, rentré dans le deuxième champ le mot de pass de votre routeur, ensuite, ne pas s'occuper du 3ᵉ champs (other), laissez le 4ᵉ champs sur SmartLink V8 puis allez sur votre Elfin appuyé sur le bouton reset du Elfin une fois durant une a deux secondes maxi, les leds doivent rapidement clignoté <br />
<br />
à ce moment-là appuyer sur le champ start sur votre mobile<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2030" target="_blank" title="">Screenshot_20240225_155609_SmartLink Demo1.jpg</a> (Taille : 29.11 Ko / Téléchargements : 1292)
<!-- end: postbit_attachments_attachment --> l'application va rechercher votre routeur et détecte le elfin<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2032" target="_blank" title="">t.png</a> (Taille : 31.43 Ko / Téléchargements : 1197)
<!-- end: postbit_attachments_attachment --><br />
<br />
, les leds du elfin vont clignoter moins vite à un moment, sur l'aplication, vous devez voir furtivement le ip du Elfin apparaitre<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2033" target="_blank" title="">t1.png</a> (Taille : 26.39 Ko / Téléchargements : 1211)
<!-- end: postbit_attachments_attachment --><br />
<br />
, bien attendre que l'application affiche SmartLink completed sinon refaire la manipulation<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2034" target="_blank" title="">T2.png</a> (Taille : 26.1 Ko / Téléchargements : 1216)
<!-- end: postbit_attachments_attachment --><br />
<br />
Normalement si l'application affiche Smartlink completed, vous devez voir votre elfin sur votre routeur et donc avoir aussi son ip et pouvoir<br />
le reconfigurer en tapant son ip sur votre pc pour avoir accès a sa page de configuration.<br />
<br />
Voilà, j'espère que ce tuto est assez clair, car là aussi, c'est une première pour moi d'en faire un. <img src="https://smartphoton.ch/forum/images/smilies/TwitEmojiV2/blush.png" alt="Blush" title="Blush" class="smilie smilie_3836" /> <img src="https://smartphoton.ch/forum/images/smilies/TwitEmojiV2/blush.png" alt="Blush" title="Blush" class="smilie smilie_3836" /> Voici le manuel traduit en français avec mes petit moyen soyer indulgent lol !<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/pngegg.png" title="pdf" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2035" target="_blank" title="">HF-SmartLink V8User Manual_20181121.pdf</a> (Taille : 648.58 Ko / Téléchargements : 1251)
<!-- end: postbit_attachments_attachment --><br />
<br />
En espérant aider les néophytes comme moi qui ne somment pas vraiment à l'aise avec ces technologies <img src="https://smartphoton.ch/forum/images/smilies/animated/mad.gif" alt="Mad" title="Mad" class="smilie smilie_3784" /> <img src="https://smartphoton.ch/forum/images/smilies/animated/mad.gif" alt="Mad" title="Mad" class="smilie smilie_3784" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Comment insérer des images dans votre topic sur le forum]]></title>
			<link>https://smartphoton.ch/forum/thread-680.html</link>
			<pubDate>Sun, 11 Feb 2024 13:06:48 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-680.html</guid>
			<description><![CDATA[<span style="font-size: x-large;" class="mycode_size">S.V.P</span><br />
<br />
Lorsque vous souhaitez inclure des images dans votre message.<br />
N'oubliez pas de cliquer sur le bouton "<span style="font-weight: bold;" class="mycode_b">Insérer dans le message</span>" une fois qu'il à été téléversé.<br />
Cela permet une bonne mise en page lors de la lecture du post<br />
<br />
<span style="font-size: medium;" class="mycode_size">Merci</span><br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Voir l'exemple ci-dessous:</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1908" target="_blank" title="">insert-image-into-post.png</a> (Taille : 116.88 Ko / Téléchargements : 775)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="font-size: x-large;" class="mycode_size">S.V.P</span><br />
<br />
Lorsque vous souhaitez inclure des images dans votre message.<br />
N'oubliez pas de cliquer sur le bouton "<span style="font-weight: bold;" class="mycode_b">Insérer dans le message</span>" une fois qu'il à été téléversé.<br />
Cela permet une bonne mise en page lors de la lecture du post<br />
<br />
<span style="font-size: medium;" class="mycode_size">Merci</span><br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Voir l'exemple ci-dessous:</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1908" target="_blank" title="">insert-image-into-post.png</a> (Taille : 116.88 Ko / Téléchargements : 775)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Zerotier - Accès externe à votre Smartphoton Add-on]]></title>
			<link>https://smartphoton.ch/forum/thread-663.html</link>
			<pubDate>Tue, 30 Jan 2024 17:45:58 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-663.html</guid>
			<description><![CDATA[<span style="font-size: medium;" class="mycode_size">Vous souhaitez accéder à votre smartphoton add-on et plus généralement votre Home Assistant lorsque vous êtes en déplacement ?</span><br />
<br />
Il y a pas mal de solutions plus ou moins compliquées.<br />
<br />
Nous vous proposons l'une des plus simple à mettre en œuvre:   <span style="font-size: x-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="https://www.zerotier.com/" target="_blank" rel="noopener" class="mycode_url">Zerotier One</a></span></span><br />
<br />
Cette solution s'installe tout comme un autre Add-On et ne nécessite que peu de manœuvre.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1829" target="_blank" title="">zerotier-addon.png</a> (Taille : 23.12 Ko / Téléchargements : 842)
<!-- end: postbit_attachments_attachment --><br />
<br />
configurez ensuite le Numéro de réseau que Zerotier vous a attribué et go !<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1830" target="_blank" title="">zerotier-No-reseau.png</a> (Taille : 24.03 Ko / Téléchargements : 796)
<!-- end: postbit_attachments_attachment --><br />
<br />
Je vous laisse le soin <span style="font-weight: bold;" class="mycode_b">de regarder la vidéo de Makernix qui est parfaite</span><br />
<br />
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/stC75JJObRw" frameborder="0" allowfullscreen="true"></iframe>]]></description>
			<content:encoded><![CDATA[<span style="font-size: medium;" class="mycode_size">Vous souhaitez accéder à votre smartphoton add-on et plus généralement votre Home Assistant lorsque vous êtes en déplacement ?</span><br />
<br />
Il y a pas mal de solutions plus ou moins compliquées.<br />
<br />
Nous vous proposons l'une des plus simple à mettre en œuvre:   <span style="font-size: x-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="https://www.zerotier.com/" target="_blank" rel="noopener" class="mycode_url">Zerotier One</a></span></span><br />
<br />
Cette solution s'installe tout comme un autre Add-On et ne nécessite que peu de manœuvre.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1829" target="_blank" title="">zerotier-addon.png</a> (Taille : 23.12 Ko / Téléchargements : 842)
<!-- end: postbit_attachments_attachment --><br />
<br />
configurez ensuite le Numéro de réseau que Zerotier vous a attribué et go !<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1830" target="_blank" title="">zerotier-No-reseau.png</a> (Taille : 24.03 Ko / Téléchargements : 796)
<!-- end: postbit_attachments_attachment --><br />
<br />
Je vous laisse le soin <span style="font-weight: bold;" class="mycode_b">de regarder la vidéo de Makernix qui est parfaite</span><br />
<br />
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/stC75JJObRw" frameborder="0" allowfullscreen="true"></iframe>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[installation de Home Assistant et ensuite smartphoton addon]]></title>
			<link>https://smartphoton.ch/forum/thread-639.html</link>
			<pubDate>Mon, 22 Jan 2024 09:38:31 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-639.html</guid>
			<description><![CDATA[Smartphoton fonctionne avec home assistant. <br />
Il faut donc avoir installé home assistant auparavant. <br />
Ce logiciel de domotique fonctionne sur quasi toutes machines. <br />
Il peut être installé sur un raspberry pi 4, sur un pc, dans un nas,  un hyperviseur de votre choix sous forme de virtual machine. <br />
<br />
Il existe un nombre incalculable de tutoriels sur la manière d'installer et de configurer home Assistant. <br />
<br />
Je vous Propose <a href="https://mcflypartages.fr/blog/ha_haos_installation/" target="_blank" rel="noopener" class="mycode_url">celui-ci </a>qui est récent. <br />
<br />
<br />
Une fois celui-ci installé et configuré vous pourrez ajouter smartphoton addon et accéder ainsi aux données de vos onduleurs et batteries]]></description>
			<content:encoded><![CDATA[Smartphoton fonctionne avec home assistant. <br />
Il faut donc avoir installé home assistant auparavant. <br />
Ce logiciel de domotique fonctionne sur quasi toutes machines. <br />
Il peut être installé sur un raspberry pi 4, sur un pc, dans un nas,  un hyperviseur de votre choix sous forme de virtual machine. <br />
<br />
Il existe un nombre incalculable de tutoriels sur la manière d'installer et de configurer home Assistant. <br />
<br />
Je vous Propose <a href="https://mcflypartages.fr/blog/ha_haos_installation/" target="_blank" rel="noopener" class="mycode_url">celui-ci </a>qui est récent. <br />
<br />
<br />
Une fois celui-ci installé et configuré vous pourrez ajouter smartphoton addon et accéder ainsi aux données de vos onduleurs et batteries]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MQTT - Modifier les paramètres onduleur depuis l'extérieur]]></title>
			<link>https://smartphoton.ch/forum/thread-637.html</link>
			<pubDate>Sat, 20 Jan 2024 10:53:58 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-637.html</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Changement des paramètres de l’onduleur depuis Topic MQTT</span></span><br />
<br />
Il est possible de changer la valeur de certains paramètres depuis l’extérieur de Home Assistant.<br />
Ceci dans l'idée de le faire depuis une autre domotique.<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Pour ce faire voici un exemple simple :</span><br />
<br />
On souhaite changer la valeur du paramètre 01 en SOL (celui-ci peut prendre les valeurs UTI, SOL, SBU)<br />
Il suffit pour se faire de publier sur le broker MQTT de Home Assistant sur les topics qui vont avoir cette syntaxe de base :<br />
<br />
<span style="font-weight: bold;" class="mycode_b">smartphoton/Modification-voltronic/1/Param<span style="color: #ff4136;" class="mycode_color">xx</span></span> la valeur désirée<br />
<br />
Les paramètres disponibles sont ceux-ci:<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1770" target="_blank" title="">mqtt-8.png</a> (Taille : 20.82 Ko / Téléchargements : 871)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Voici un exemple pour changer le paramètre 01:</span><br />
<br />
Dans mon cas, j'ai installé l'Add-on <a href="https://community.home-assistant.io/t/addon-mqtt-explorer-new-version/603739" target="_blank" rel="noopener" class="mycode_url">MQTTexplorer pour HA</a><br />
<br />
<span style="font-weight: bold;" class="mycode_b">smartphoton/Modification-voltronic/1/Param01</span> la valeur <span style="font-weight: bold;" class="mycode_b">SOL</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1883" target="_blank" title="">mqtt-MODIF-parametre-01.png</a> (Taille : 69.77 Ko / Téléchargements : 768)
<!-- end: postbit_attachments_attachment --><br />
<br />
Et ainsi l’onduleur va changer sa valeur en <span style="font-weight: bold;" class="mycode_b">SOL</span>. C’est simple et efficace !<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1769" target="_blank" title="">mqtt-7.png</a> (Taille : 16.84 Ko / Téléchargements : 874)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Changement des paramètres de l’onduleur depuis Topic MQTT</span></span><br />
<br />
Il est possible de changer la valeur de certains paramètres depuis l’extérieur de Home Assistant.<br />
Ceci dans l'idée de le faire depuis une autre domotique.<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Pour ce faire voici un exemple simple :</span><br />
<br />
On souhaite changer la valeur du paramètre 01 en SOL (celui-ci peut prendre les valeurs UTI, SOL, SBU)<br />
Il suffit pour se faire de publier sur le broker MQTT de Home Assistant sur les topics qui vont avoir cette syntaxe de base :<br />
<br />
<span style="font-weight: bold;" class="mycode_b">smartphoton/Modification-voltronic/1/Param<span style="color: #ff4136;" class="mycode_color">xx</span></span> la valeur désirée<br />
<br />
Les paramètres disponibles sont ceux-ci:<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1770" target="_blank" title="">mqtt-8.png</a> (Taille : 20.82 Ko / Téléchargements : 871)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Voici un exemple pour changer le paramètre 01:</span><br />
<br />
Dans mon cas, j'ai installé l'Add-on <a href="https://community.home-assistant.io/t/addon-mqtt-explorer-new-version/603739" target="_blank" rel="noopener" class="mycode_url">MQTTexplorer pour HA</a><br />
<br />
<span style="font-weight: bold;" class="mycode_b">smartphoton/Modification-voltronic/1/Param01</span> la valeur <span style="font-weight: bold;" class="mycode_b">SOL</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1883" target="_blank" title="">mqtt-MODIF-parametre-01.png</a> (Taille : 69.77 Ko / Téléchargements : 768)
<!-- end: postbit_attachments_attachment --><br />
<br />
Et ainsi l’onduleur va changer sa valeur en <span style="font-weight: bold;" class="mycode_b">SOL</span>. C’est simple et efficace !<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1769" target="_blank" title="">mqtt-7.png</a> (Taille : 16.84 Ko / Téléchargements : 874)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Configuration de Grafana dans HA]]></title>
			<link>https://smartphoton.ch/forum/thread-628.html</link>
			<pubDate>Wed, 17 Jan 2024 19:38:47 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=395">gag</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-628.html</guid>
			<description><![CDATA[Voici ci-dessous un tutoriel de la part de <span style="font-weight: bold;" class="mycode_b"><a href="https://smartphoton.ch/forum/user-395.html" target="_blank" rel="noopener" class="mycode_url">GAG </a></span><br />
<br />
sur la manière de configurer grafana pour pouvoir afficher des graphiques intégré dans Home Assistant.<br />
Ce qui va vous permettre d'avoir des informations de manière professionnelle<br />
<br />
De ce genre là:<br />
<br />
<blockquote class="mycode_quote"><cite>Citation :</cite><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1757" target="_blank" title="">grafana.png</a> (Taille : 70.36 Ko / Téléchargements : 2036)
<!-- end: postbit_attachments_attachment --></blockquote>
<br />
<hr class="mycode_hr" />
<hr class="mycode_hr" />
<br />
Alors il y a plusieurs choses à faire:<br />
<br />
- Dans la configuration de l'addon grafana (settings - addon - grafana - configuration):<br />
<br />
J'ai rétiré le ssl mais aucune idée si ça entre en ligne de compte ou pas<br />
<br />
Partie env_vars mettre ça:<br />
<br />
- name: GF_INGRESS_USER<br />
  value: anonymous<br />
- name: GF_DEFAULT_INSTANCE_NAME<br />
  value: Hassio<br />
- name: GF_AUTH_ANONYMOUS_ENABLED<br />
  value: "true"<br />
- name: GF_SECURITY_ALLOW_EMBEDDING<br />
  value: "true"<br />
- name: GF_SECURITY_COOKIE_SAMESITE<br />
  value: none<br />
- name: GF_SECURITY_COOKIE_SECURE<br />
  value: "true"<br />
- name: GF_SECURITY_LOGIN_REMEMBER_DAYS<br />
  value: "365"<br />
- name: GF_AUTH_BASIC_ENABLED<br />
  value: "true"<br />
<br />
Dans la partie network ajouter le port 3000 vers 80 (qui est pour ceux qui ne le savent pas le port par défaut pour grafana):<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1752" target="_blank" title="">config grafana.JPG</a> (Taille : 71.61 Ko / Téléchargements : 2049)
<!-- end: postbit_attachments_attachment --><br />
Quand on fait sauvegarder il va faire un reload de l'addon grafana, c'est obligatoire de le faire afin qu'il prenne en compte les changements.<br />
<br />
Une fois le dashboard grafana créé avec les différents graphs il faut cliquer en haut à droite du graph qu'on veut afficher sur le dashboard HA et choisir partager (ou share en anglais):<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1753" target="_blank" title="">graph.JPG</a> (Taille : 32.16 Ko / Téléchargements : 2049)
<!-- end: postbit_attachments_attachment --><br />
<br />
Dans embed (aucune idée de comment traduire ça en français), déselectionner le Current time range pour éviter que le graph ne soit figé à l'heure actuelle et copier cette partie du lien:<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1754" target="_blank" title="">share.JPG</a> (Taille : 47.88 Ko / Téléchargements : 2047)
<!-- end: postbit_attachments_attachment --><br />
<br />
C'est maintenant que le port 3000 va être utile, quand vous voulez ajouter le card dans le dashboard HA il suffit de sélectionner webpage et de remplacer le port 8123 par 3000 dans l'url qui a été copiée à l'étape précédente (et il va vous afficher le résultat directement donc si le copier/coller a été fait correctement le graph apparait):<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1755" target="_blank" title="">config webpage.JPG</a> (Taille : 35.77 Ko / Téléchargements : 2083)
<!-- end: postbit_attachments_attachment --><br />
<br />
Voila je crois que je n'ai rien oublié]]></description>
			<content:encoded><![CDATA[Voici ci-dessous un tutoriel de la part de <span style="font-weight: bold;" class="mycode_b"><a href="https://smartphoton.ch/forum/user-395.html" target="_blank" rel="noopener" class="mycode_url">GAG </a></span><br />
<br />
sur la manière de configurer grafana pour pouvoir afficher des graphiques intégré dans Home Assistant.<br />
Ce qui va vous permettre d'avoir des informations de manière professionnelle<br />
<br />
De ce genre là:<br />
<br />
<blockquote class="mycode_quote"><cite>Citation :</cite><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1757" target="_blank" title="">grafana.png</a> (Taille : 70.36 Ko / Téléchargements : 2036)
<!-- end: postbit_attachments_attachment --></blockquote>
<br />
<hr class="mycode_hr" />
<hr class="mycode_hr" />
<br />
Alors il y a plusieurs choses à faire:<br />
<br />
- Dans la configuration de l'addon grafana (settings - addon - grafana - configuration):<br />
<br />
J'ai rétiré le ssl mais aucune idée si ça entre en ligne de compte ou pas<br />
<br />
Partie env_vars mettre ça:<br />
<br />
- name: GF_INGRESS_USER<br />
  value: anonymous<br />
- name: GF_DEFAULT_INSTANCE_NAME<br />
  value: Hassio<br />
- name: GF_AUTH_ANONYMOUS_ENABLED<br />
  value: "true"<br />
- name: GF_SECURITY_ALLOW_EMBEDDING<br />
  value: "true"<br />
- name: GF_SECURITY_COOKIE_SAMESITE<br />
  value: none<br />
- name: GF_SECURITY_COOKIE_SECURE<br />
  value: "true"<br />
- name: GF_SECURITY_LOGIN_REMEMBER_DAYS<br />
  value: "365"<br />
- name: GF_AUTH_BASIC_ENABLED<br />
  value: "true"<br />
<br />
Dans la partie network ajouter le port 3000 vers 80 (qui est pour ceux qui ne le savent pas le port par défaut pour grafana):<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1752" target="_blank" title="">config grafana.JPG</a> (Taille : 71.61 Ko / Téléchargements : 2049)
<!-- end: postbit_attachments_attachment --><br />
Quand on fait sauvegarder il va faire un reload de l'addon grafana, c'est obligatoire de le faire afin qu'il prenne en compte les changements.<br />
<br />
Une fois le dashboard grafana créé avec les différents graphs il faut cliquer en haut à droite du graph qu'on veut afficher sur le dashboard HA et choisir partager (ou share en anglais):<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1753" target="_blank" title="">graph.JPG</a> (Taille : 32.16 Ko / Téléchargements : 2049)
<!-- end: postbit_attachments_attachment --><br />
<br />
Dans embed (aucune idée de comment traduire ça en français), déselectionner le Current time range pour éviter que le graph ne soit figé à l'heure actuelle et copier cette partie du lien:<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1754" target="_blank" title="">share.JPG</a> (Taille : 47.88 Ko / Téléchargements : 2047)
<!-- end: postbit_attachments_attachment --><br />
<br />
C'est maintenant que le port 3000 va être utile, quand vous voulez ajouter le card dans le dashboard HA il suffit de sélectionner webpage et de remplacer le port 8123 par 3000 dans l'url qui a été copiée à l'étape précédente (et il va vous afficher le résultat directement donc si le copier/coller a été fait correctement le graph apparait):<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1755" target="_blank" title="">config webpage.JPG</a> (Taille : 35.77 Ko / Téléchargements : 2083)
<!-- end: postbit_attachments_attachment --><br />
<br />
Voila je crois que je n'ai rien oublié]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Création Entité Home Assistant (HA) automatiquement via MQTT]]></title>
			<link>https://smartphoton.ch/forum/thread-620.html</link>
			<pubDate>Sun, 14 Jan 2024 11:54:36 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://smartphoton.ch/forum/member.php?action=profile&uid=1">jlm</a>]]></dc:creator>
			<guid isPermaLink="false">https://smartphoton.ch/forum/thread-620.html</guid>
			<description><![CDATA[<span style="font-size: medium;" class="mycode_size">Vous souhaitez intégrer un capteur externe provenant par exemple de votre propre domotique (Jeedom, Domoticz, Homey, etc) dans Home Assistant ?</span><br />
<br />
Voilà par le texte et l'image comment faire.<br />
<br />
Dans ce tutoriel je vous montre comment intégrer mon capteur de la prise de recharge de la voiture électrique dans Home Assistant.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Tout cela va se faire via MQTT de manière automatique.</span><br />
<br />
Voici le tuto:               En format PDF à cet <a href="https://github.com/jean-luc1203/Smartphoton-Documentation/blob/main/Cr%C3%A9ation%20Entit%C3%A9%20Home%20Assistant%20(HA)%20automatiquement%20via%20MQTT.pdf" target="_blank" rel="noopener" class="mycode_url">endroit </a>ou ci-dessous <br />
<br />
<hr class="mycode_hr" />
<br />
<br />
<span style="font-size: large;" class="mycode_size">Création d’une entité Home Assistant (HA) de manière automatique</span><br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Cas de figure : </span><br />
<br />
J’ai un compteur de puissance de charge de la batterie de ma voiture électrique disponible.<br />
Celui-ci n’est pas intégré dans HA (pas d’intégration existante)<br />
Je vais vouloir l’envoyer et l’utiliser dans le tableau des énergies de HA pour qu’il soit comptabilisé automatiquement. <br />
Que je puisse ensuite faire des graphiques ou tout autre actions.<br />
<br />
<br />
<br />
Comment s’y prendre:<br />
<br />
<br />
Il faut créer 2 Topic MQTT dans le broker de HA<br />
<br />
<br />
<ol type="1" class="mycode_list"><li>Le premier est la définition de l’entité créée dans HA<br />
</li>
<li>Le 2ème est la valeur du compteur à envoyer vers HA<br />
</li>
</ol>
<br />
<br />
Il y a plusieurs manière de procéder pour créer ces Topic. <br />
Par exemple avec un script Python ou avec Nodered.<br />
Dans mon cas je vais utiliser Nodered car c’est plus visuel (et pratique dans mon cas)<br />
Le compteur se trouve dans ma domotique personnelle dans un HA différent de smartphoton.<br />
Je vais donc le récupérer et créer les 2 topics<br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Voilà le flow NR en question :</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1721" target="_blank" title="">2024-01-13_14h06_56.png</a> (Taille : 36.15 Ko / Téléchargements : 3073)
<!-- end: postbit_attachments_attachment --><br />
<br />
Définitions, explications des 4 nœuds ci-dessus<br />
<br />
<ol type="1" class="mycode_list"><li>Il faut créer le topic discovery HA, celui qui va permettre à HA de créer l’entité correspondante avec tous ses attributs<br />
</li>
</ol>
<br />
<span style="color: #000000;" class="mycode_color">{</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"unit_of_measurement"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"W"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"device_class"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"power"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"state_topic"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"</span><span style="color: #0451a5;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">homeassistant/sensor/voiture_electrique/Puissance/value</span></span><span style="color: #0451a5;" class="mycode_color">"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"friendly_name"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"Voiture Electrique No1"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"unique_id"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"EV1"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"device"</span><span style="color: #000000;" class="mycode_color">: {</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"name"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"Voiture Electrique No1"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"model"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"version Add-on 1.01"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"manufacturer"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"Smartphoton"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"identifiers"</span><span style="color: #000000;" class="mycode_color">: [</span><br />
<span style="color: #000000;" class="mycode_color">            </span><span style="color: #0451a5;" class="mycode_color">"EV1"</span><br />
<span style="color: #000000;" class="mycode_color">        ]</span><br />
<span style="color: #000000;" class="mycode_color">    }</span><br />
<span style="color: #000000;" class="mycode_color">}</span><br />
<br />
<ol type="1" class="mycode_list"><li>Publication du topic sur le Broker de HA<br />
</li>
</ol>
Le topic en question est : <span style="font-weight: bold;" class="mycode_b">homeassistant/sensor/voiture_electrique/config</span><br />
<br />
<br />
<ol type="1" class="mycode_list"><li>Récupération de la valeur de la puissance consommée par la charge de la voiture. Je la récupère depuis ma domotique HA séparée via Nodered compagnon.<br />
</li>
</ol>
<br />
<br />
<ol type="1" class="mycode_list"><li>Publication de la valeur de puissance sur le topic du Broker HA <br />
</li>
</ol>
<span style="font-weight: bold;" class="mycode_b">homeassistant/sensor/voiture_electrique/Puissance/value</span><br />
<br />
<br />
Voici ce que l’on devra donc avoir sur le broker MQTT de HA :<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1722" target="_blank" title="">2024-01-13_14h25_39.png</a> (Taille : 39.45 Ko / Téléchargements : 2984)
<!-- end: postbit_attachments_attachment --><br />
<br />
Découverte de l’entité créée automatiquement dans HA<br />
Dans paramètres – Appareils et services – Appareil, on va retrouver l’appareil Voiture Electrique No1 qui a donc été créé via le topic MQTT<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1723" target="_blank" title="">2024-01-14_10h20_42.png</a> (Taille : 17.81 Ko / Téléchargements : 3032)
<!-- end: postbit_attachments_attachment --><br />
<br />
En cliquant sur l’appareil, on va pouvoir voir le capteur créé avec sa valeur actuelle<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1724" target="_blank" title="">capteur-HA.png</a> (Taille : 97.38 Ko / Téléchargements : 3025)
<!-- end: postbit_attachments_attachment --><br />
<br />
Et lorsque l’on appuie sur le capteur (entité) on obtient un graphique des valeurs prises les dernières minutes / heures<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1725" target="_blank" title="">2024-01-14_10h37_11.png</a> (Taille : 20.7 Ko / Téléchargements : 2939)
<!-- end: postbit_attachments_attachment --><br />
<br />
Voilà, vous avez réussi à créé une entité Home Assistant depuis un capteur externe à HA, ceci via MQTT !<br />
<br />
<div style="text-align: center;" class="mycode_align"><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1728" target="_blank" title="">5cf1e8d6e99482dddcdb8b4682ca4f21-bpthumb.png</a> (Taille : 14.81 Ko / Téléchargements : 3020)
<!-- end: postbit_attachments_attachment --></div>
<br />
<br />
<a href="http://#sdfootnote1anc" target="_blank" rel="noopener" class="mycode_url">1</a><span style="font-family: Liberation Serif, serif;" class="mycode_font">©</span><span style="font-family: Liberation Serif, serif;" class="mycode_font"> Smartphoton 2024</span>]]></description>
			<content:encoded><![CDATA[<span style="font-size: medium;" class="mycode_size">Vous souhaitez intégrer un capteur externe provenant par exemple de votre propre domotique (Jeedom, Domoticz, Homey, etc) dans Home Assistant ?</span><br />
<br />
Voilà par le texte et l'image comment faire.<br />
<br />
Dans ce tutoriel je vous montre comment intégrer mon capteur de la prise de recharge de la voiture électrique dans Home Assistant.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Tout cela va se faire via MQTT de manière automatique.</span><br />
<br />
Voici le tuto:               En format PDF à cet <a href="https://github.com/jean-luc1203/Smartphoton-Documentation/blob/main/Cr%C3%A9ation%20Entit%C3%A9%20Home%20Assistant%20(HA)%20automatiquement%20via%20MQTT.pdf" target="_blank" rel="noopener" class="mycode_url">endroit </a>ou ci-dessous <br />
<br />
<hr class="mycode_hr" />
<br />
<br />
<span style="font-size: large;" class="mycode_size">Création d’une entité Home Assistant (HA) de manière automatique</span><br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Cas de figure : </span><br />
<br />
J’ai un compteur de puissance de charge de la batterie de ma voiture électrique disponible.<br />
Celui-ci n’est pas intégré dans HA (pas d’intégration existante)<br />
Je vais vouloir l’envoyer et l’utiliser dans le tableau des énergies de HA pour qu’il soit comptabilisé automatiquement. <br />
Que je puisse ensuite faire des graphiques ou tout autre actions.<br />
<br />
<br />
<br />
Comment s’y prendre:<br />
<br />
<br />
Il faut créer 2 Topic MQTT dans le broker de HA<br />
<br />
<br />
<ol type="1" class="mycode_list"><li>Le premier est la définition de l’entité créée dans HA<br />
</li>
<li>Le 2ème est la valeur du compteur à envoyer vers HA<br />
</li>
</ol>
<br />
<br />
Il y a plusieurs manière de procéder pour créer ces Topic. <br />
Par exemple avec un script Python ou avec Nodered.<br />
Dans mon cas je vais utiliser Nodered car c’est plus visuel (et pratique dans mon cas)<br />
Le compteur se trouve dans ma domotique personnelle dans un HA différent de smartphoton.<br />
Je vais donc le récupérer et créer les 2 topics<br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">Voilà le flow NR en question :</span><br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1721" target="_blank" title="">2024-01-13_14h06_56.png</a> (Taille : 36.15 Ko / Téléchargements : 3073)
<!-- end: postbit_attachments_attachment --><br />
<br />
Définitions, explications des 4 nœuds ci-dessus<br />
<br />
<ol type="1" class="mycode_list"><li>Il faut créer le topic discovery HA, celui qui va permettre à HA de créer l’entité correspondante avec tous ses attributs<br />
</li>
</ol>
<br />
<span style="color: #000000;" class="mycode_color">{</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"unit_of_measurement"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"W"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"device_class"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"power"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"state_topic"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"</span><span style="color: #0451a5;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">homeassistant/sensor/voiture_electrique/Puissance/value</span></span><span style="color: #0451a5;" class="mycode_color">"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"friendly_name"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"Voiture Electrique No1"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"unique_id"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"EV1"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">    </span><span style="color: #a31515;" class="mycode_color">"device"</span><span style="color: #000000;" class="mycode_color">: {</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"name"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"Voiture Electrique No1"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"model"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"version Add-on 1.01"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"manufacturer"</span><span style="color: #000000;" class="mycode_color">: </span><span style="color: #0451a5;" class="mycode_color">"Smartphoton"</span><span style="color: #000000;" class="mycode_color">,</span><br />
<span style="color: #000000;" class="mycode_color">        </span><span style="color: #a31515;" class="mycode_color">"identifiers"</span><span style="color: #000000;" class="mycode_color">: [</span><br />
<span style="color: #000000;" class="mycode_color">            </span><span style="color: #0451a5;" class="mycode_color">"EV1"</span><br />
<span style="color: #000000;" class="mycode_color">        ]</span><br />
<span style="color: #000000;" class="mycode_color">    }</span><br />
<span style="color: #000000;" class="mycode_color">}</span><br />
<br />
<ol type="1" class="mycode_list"><li>Publication du topic sur le Broker de HA<br />
</li>
</ol>
Le topic en question est : <span style="font-weight: bold;" class="mycode_b">homeassistant/sensor/voiture_electrique/config</span><br />
<br />
<br />
<ol type="1" class="mycode_list"><li>Récupération de la valeur de la puissance consommée par la charge de la voiture. Je la récupère depuis ma domotique HA séparée via Nodered compagnon.<br />
</li>
</ol>
<br />
<br />
<ol type="1" class="mycode_list"><li>Publication de la valeur de puissance sur le topic du Broker HA <br />
</li>
</ol>
<span style="font-weight: bold;" class="mycode_b">homeassistant/sensor/voiture_electrique/Puissance/value</span><br />
<br />
<br />
Voici ce que l’on devra donc avoir sur le broker MQTT de HA :<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1722" target="_blank" title="">2024-01-13_14h25_39.png</a> (Taille : 39.45 Ko / Téléchargements : 2984)
<!-- end: postbit_attachments_attachment --><br />
<br />
Découverte de l’entité créée automatiquement dans HA<br />
Dans paramètres – Appareils et services – Appareil, on va retrouver l’appareil Voiture Electrique No1 qui a donc été créé via le topic MQTT<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1723" target="_blank" title="">2024-01-14_10h20_42.png</a> (Taille : 17.81 Ko / Téléchargements : 3032)
<!-- end: postbit_attachments_attachment --><br />
<br />
En cliquant sur l’appareil, on va pouvoir voir le capteur créé avec sa valeur actuelle<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1724" target="_blank" title="">capteur-HA.png</a> (Taille : 97.38 Ko / Téléchargements : 3025)
<!-- end: postbit_attachments_attachment --><br />
<br />
Et lorsque l’on appuie sur le capteur (entité) on obtient un graphique des valeurs prises les dernières minutes / heures<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1725" target="_blank" title="">2024-01-14_10h37_11.png</a> (Taille : 20.7 Ko / Téléchargements : 2939)
<!-- end: postbit_attachments_attachment --><br />
<br />
Voilà, vous avez réussi à créé une entité Home Assistant depuis un capteur externe à HA, ceci via MQTT !<br />
<br />
<div style="text-align: center;" class="mycode_align"><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://smartphoton.ch/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1728" target="_blank" title="">5cf1e8d6e99482dddcdb8b4682ca4f21-bpthumb.png</a> (Taille : 14.81 Ko / Téléchargements : 3020)
<!-- end: postbit_attachments_attachment --></div>
<br />
<br />
<a href="http://#sdfootnote1anc" target="_blank" rel="noopener" class="mycode_url">1</a><span style="font-family: Liberation Serif, serif;" class="mycode_font">©</span><span style="font-family: Liberation Serif, serif;" class="mycode_font"> Smartphoton 2024</span>]]></content:encoded>
		</item>
	</channel>
</rss>