943 lines
55 KiB
Plaintext
Executable File
943 lines
55 KiB
Plaintext
Executable File
a:6:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:3:"
|
||
|
||
|
||
";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:52:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:8:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:8:"Zatoufly";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:20:"https://zatoufly.fr/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:13:"lastBuildDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 19 Nov 2023 16:07:58 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"language";a:1:{i:0;a:5:{s:4:"data";s:5:"fr-FR";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:30:"https://wordpress.org/?v=6.4.1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:5:"image";a:1:{i:0;a:6:{s:4:"data";s:11:"
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:5:{s:3:"url";a:1:{i:0;a:5:{s:4:"data";s:80:"https://zatoufly.fr/wp-content/uploads/2022/01/cropped-Logo-Zatoufly-1-32x32.png";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:8:"Zatoufly";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:20:"https://zatoufly.fr/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:5:"width";a:1:{i:0;a:5:{s:4:"data";s:2:"32";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:6:"height";a:1:{i:0;a:5:{s:4:"data";s:2:"32";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}s:4:"item";a:10:{i:0;a:6:{s:4:"data";s:73:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:45:"Relais Zigbee sans neutre – Sonoff ZBMINIL2";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:62:"https://zatoufly.fr/relais-zigbee-sans-neutre-sonoff-zbminil2/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:70:"https://zatoufly.fr/relais-zigbee-sans-neutre-sonoff-zbminil2/#respond";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 19 Nov 2023 17:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:9:"Domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3933";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:124:"Le relais Sonoff ZBMINIL2 est le plus petit de sa catégorie. Il permet de connecter l'interrupteur et luminaire à la fois.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1185:"
|
||
<p>Le relais Sonoff ZBMINIL2 est le plus petit de sa catégorie. Il permet de connecter l’interrupteur et luminaire à la fois dans Home Assistant.</p>
|
||
|
||
|
||
|
||
<p>Les relais sont vraiment pratiques dans l’objectif de garder des interrupteurs muraux classiques. L’avantage majeur étant de garder ses interrupteurs et luminaires historiques mais de les rendre domotisable via Home Assistant. En réalité, vous pouvez juste faire du on/off via la domotique et l’interrupteur relier au relais.</p>
|
||
|
||
|
||
|
||
<p>Attention, ce relais est sans neutre. Il conviendra seulement si votre installation ne comprend pas de neutre (ce qui est le cas de la plupart des habitats, il me semble). Le relais est un module zigbee de type Endpoint et pas Router comme ce que l’on pourrait penser.</p>
|
||
|
||
|
||
|
||
<p>Finalement, ce module ne sera pas utilisé chez moi pour le moment, car je n’en ai pas l’utilité. Mon installation électrique ne le permet pas.</p>
|
||
|
||
|
||
|
||
<p>La vidéo n’est pas de superbe qualité, par cause de mauvaise gestion du temps. J’espère tout de même que j’aurai éclairci votre lumière sur l’utilisation de ce type de module.</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:67:"https://zatoufly.fr/relais-zigbee-sans-neutre-sonoff-zbminil2/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:57:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:37:"La gamme Aqara T1 dans Home Assistant";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:58:"https://zatoufly.fr/la-gamme-aqara-t1-dans-home-assistant/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 12 Nov 2023 17:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:9:"Domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3919";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:134:"Grâce à domadoo, je vous présente la gamme Aqara T1 sous Home Assistant avec mes cas d'utilisations pour chacun des modules Zigbee.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:592:"
|
||
<p>Grâce à <a href="https://www.domadoo.fr/fr/?domid=57" target="_blank" rel="noreferrer noopener">domadoo</a>, je vous présente la gamme Aqara T1 sous Home Assistant avec mes cas d’utilisations pour chacun des modules Zigbee.</p>
|
||
|
||
|
||
|
||
<p>Ces 5 modules sont compatibles dans Home Assistant via Zigbee2MQTT. Pour le cas Zigbee Home Automation, seuls le Mini Switch et le T1 Cube Pro ne sont pas encore pris en charge par l’intégration. </p>
|
||
|
||
|
||
|
||
<p>Je suis particulièrement content de sortir cette vidéo qui est à mon sens une des plus travaillées depuis un petit moment.</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:57:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:24:"Unboxing colis domadoo !";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:43:"https://zatoufly.fr/unboxing-colis-domadoo/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 07 Nov 2023 18:02:49 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:9:"Domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3748";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:86:"Vidéo bonus en milieu de semaine où l'on découvre les produits envoyés par Domadoo";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:310:"
|
||
<p>Vidéo bonus en milieu de semaine où l’on découvre les produits envoyés par Domadoo. Plusieurs vidéos sont prévues sur la chaîne principale pour faire des tests, comparatifs, cas d’utilisation etc…</p>
|
||
|
||
|
||
|
||
<p>Très content de travailler avec domadoo, j’ai hâte de la suite ! </p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:63:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:35:"Alertes Météo dans Home Assistant";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:54:"https://zatoufly.fr/alertes-meteo-dans-home-assistant/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 05 Nov 2023 17:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:9:"Domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:9:"domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:14:"home assistant";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3675";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:121:"Dans cet article on va voir comment ajouter les vigilances météos de votre région sur Home Assistant avec WeatherAlert";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:17841:"
|
||
<p>Dans cet article on va voir comment ajouter les vigilances météos de votre région sur Home Assistant. Le plugin Météo France permet de le faire, cependant la partie alerte météo ne fonctionne pas. Il existe un second plugin qui permet de faire cette remontée d’info WeatherAlert.</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">WeatherAlert</h2>
|
||
|
||
|
||
|
||
<p>Le plugin fait partie de la liste des plugins officiel Home Assistant, pour la configuration, c’est dans le fichier configuration.yaml que ça se passe. Vous avez besoin d’ajouter ce code :</p>
|
||
|
||
|
||
|
||
<pre class="wp-block-code"><code>binary_sensor:
|
||
- platform: meteoalarm
|
||
country: "France"
|
||
province: "Paris"
|
||
language: "fr-FR"
|
||
|
||
|
||
template:
|
||
- sensor:
|
||
- name: 'Alerte Orages'
|
||
unique_id: sensor.alerte_orages
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Orages') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune orages' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange orages' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge orages' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:weather-lightning
|
||
|
||
|
||
- name: 'Alerte Vent violent'
|
||
unique_id: sensor.alerte_vent_violent
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Vent violent') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune vent-violent' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange vent-violent' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge vent-violent' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:weather-windy
|
||
|
||
|
||
- name: 'Alerte Pluie Inondation'
|
||
unique_id: sensor.alerte_pluie_inondation
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Pluie_inondation') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune pluie_inondation' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange pluie_inondation' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge pluie_inondation' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:weather-pouring
|
||
|
||
|
||
- name: 'Alerte Inondation'
|
||
unique_id: sensor.alerte_inondation
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Inondation') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune inondation' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange inondation' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge inondation' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:waves-arrow-up
|
||
|
||
|
||
- name: 'Alerte Canicule'
|
||
unique_id: sensor.alerte_canicule
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Canicule') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune canicule' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange canicule' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge canicule' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:weather-sunny
|
||
|
||
|
||
- name: 'Alerte Neige-verglas'
|
||
unique_id: sensor.alerte_neige_verglas
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Neige-verglas') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune neige-verglas' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange neige-verglas' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge neige-verglas' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:snowflake
|
||
|
||
|
||
- name: 'Alerte Grand-froid'
|
||
unique_id: sensor.alerte_grand_froid
|
||
state: >-
|
||
{% set wa = (state_attr('sensor.17_weather_alert', 'Grand-froid') ) %}
|
||
{% set at = (state_attr('binary_sensor.meteoalarm','awareness_type') ) %}
|
||
{% set ev = (state_attr('binary_sensor.meteoalarm','event') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif 'jaune grand-froid' in ev %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif 'orange grand-froid' in ev %}
|
||
{% set al = 'Orange' %}
|
||
{% elif 'rouge grand-froid' in ev %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'Vert' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
icon: mdi:snowman
|
||
|
||
|
||
- name: 'Alerte Météo'
|
||
unique_id: sensor.alerte_meteo
|
||
state: >-
|
||
{% set wa = (states('sensor.17_weather_alert') ) %}
|
||
{% set al = (state_attr('binary_sensor.meteoalarm','awareness_level') ) %}
|
||
{% if wa in ['Vert', 'Jaune', 'Orange', 'Rouge'] %}
|
||
{% set al = wa %}
|
||
{% elif '1' in al %}
|
||
{% set al = 'Vert' %}
|
||
{% elif '2' in al %}
|
||
{% set al = 'Jaune' %}
|
||
{% elif '3' in al %}
|
||
{% set al = 'Orange' %}
|
||
{% elif '4' in al %}
|
||
{% set al = 'Rouge' %}
|
||
{% else %}
|
||
{% set al = 'unknown' %}
|
||
{% endif %}
|
||
{{ al }}
|
||
attributes:
|
||
Date: >-
|
||
{% set dt = (state_attr('binary_sensor.meteoalarm','urgency') ) %}
|
||
{% if dt == 'Future' %}
|
||
{% set val = 'Demain' %}
|
||
{% else %}
|
||
{% set val = dt %}
|
||
{% endif %}
|
||
{{ val }}
|
||
Orages: >-
|
||
{% set val = states('sensor.alerte_orages') %}
|
||
{{ val }}
|
||
Vent Violent: >-
|
||
{% set val = states('sensor.alerte_vent_violent') %}
|
||
{{ val }}
|
||
Pluie Inondation: >-
|
||
{% set val = states('sensor.alerte_pluie_inondation') %}
|
||
{{ val }}
|
||
Inondation: >-
|
||
{% set val = states('sensor.alerte_Inondation') %}
|
||
{{ val }}
|
||
Canicule: >-
|
||
{% set val = states('sensor.alerte_canicule') %}
|
||
{{ val }}
|
||
Grand Froid: >-
|
||
{% set val = states('sensor.alerte_grand_froid') %}
|
||
{{ val }}
|
||
Neige Verglas: >-
|
||
{% set val = states('sensor.alerte_neige_verglas') %}
|
||
{{ val }}
|
||
icon: mdi:weather-cloudy-alert</code></pre>
|
||
|
||
|
||
|
||
<p>Ce code trouvé sur le <a href="https://forum.hacf.fr/t/alerte-meteo/23930/302" target="_blank" rel="noreferrer noopener">forum hacf</a> permet de configurer le plugin WeatherAlert mais aussi de créer 8 capteurs pour les différents types d’alertes météorologiques. Vous pouvez modifier la partie « template » afin de customiser les icônes et plus selon vos besoins.</p>
|
||
|
||
|
||
|
||
<p>Il est important aussi de modifier pour les 8 entités le bout de code « sensor.17_weather_alert » en remplaçant le département 17 par le votre.</p>
|
||
|
||
|
||
|
||
<p>Bien sûr après modification du fichier configuration.yaml, veillez à redémarrer votre Home Assistant</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Dashboard Mushroom </h2>
|
||
|
||
|
||
|
||
<p>Pour la partie dashboard, je fait appel aux widgets template de mushroom permettant facilement de modifier la couleur de l’icone selon l’état de l’alerte : vert, jaune, orange, rouge.</p>
|
||
|
||
|
||
<div class="wp-block-image">
|
||
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="864" height="428" src="https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-03-a-07.26.39.png" alt="" class="wp-image-3676" style="aspect-ratio:2.0186915887850465;width:404px;height:auto" srcset="https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-03-a-07.26.39.png 864w, https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-03-a-07.26.39-300x149.png 300w, https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-03-a-07.26.39-768x380.png 768w" sizes="(max-width: 864px) 100vw, 864px" /></figure></div>
|
||
|
||
|
||
<p>Voici le .yaml si vous souhaitez partir sur de bonne basse pour votre dashboard</p>
|
||
|
||
|
||
|
||
<pre class="wp-block-code"><code>type: vertical-stack
|
||
cards:
|
||
- type: horizontal-stack
|
||
cards:
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_neige_verglas
|
||
secondary: Neige
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_canicule
|
||
secondary: Canicule
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_grand_froid
|
||
secondary: Grand Froid
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_inondation
|
||
secondary: Inondation
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: horizontal-stack
|
||
cards:
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_vent_violent
|
||
secondary: Vent violent
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_pluie_inondation
|
||
secondary: Pluie Inondation
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_orages
|
||
secondary: Orages
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info
|
||
- type: custom:mushroom-template-card
|
||
primary: ''
|
||
icon: '{{ state_attr(entity, ''icon'') }}'
|
||
icon_color: |-
|
||
{% if states(entity) == 'Vert' %}
|
||
green
|
||
{% elif states(entity) == 'Jaune' %}
|
||
yellow
|
||
{% elif states(entity) == 'Orange' %}
|
||
orange
|
||
{% elif states(entity) == 'Rouge' %}
|
||
red
|
||
{% endif %}
|
||
entity: sensor.alerte_meteo
|
||
secondary: Météo
|
||
layout: vertical
|
||
hold_action:
|
||
action: none
|
||
double_tap_action:
|
||
action: none
|
||
tap_action:
|
||
action: more-info</code></pre>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Notifications</h2>
|
||
|
||
|
||
|
||
<p>Pour conclure en beauté, je vous propose ce code afin de vous envoyer une notification lors d’une activation d’alerte météo. Comme toujours, ce code sert de base, libre à vous de l’adapter et le modifier selon vos besoins.</p>
|
||
|
||
|
||
<div class="wp-block-image">
|
||
<figure class="aligncenter size-full is-resized"><img decoding="async" width="658" height="190" src="https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-04-a-09.07.20.png" alt="" class="wp-image-3677" style="aspect-ratio:3.463157894736842;width:386px;height:auto" srcset="https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-04-a-09.07.20.png 658w, https://zatoufly.fr/wp-content/uploads/2023/11/Capture-decran-2023-11-04-a-09.07.20-300x87.png 300w" sizes="(max-width: 658px) 100vw, 658px" /></figure></div>
|
||
|
||
|
||
<p>N’oubliez pas de changer l’appareil récepteur des notifications !</p>
|
||
|
||
|
||
|
||
<pre class="wp-block-code"><code>alias: Notification - Alertes météo
|
||
description: ""
|
||
trigger:
|
||
- platform: state
|
||
entity_id:
|
||
- sensor.alerte_meteo
|
||
from: null
|
||
to: Jaune
|
||
- platform: state
|
||
entity_id:
|
||
- sensor.alerte_meteo
|
||
from: null
|
||
to: Orange
|
||
- platform: state
|
||
entity_id:
|
||
- sensor.alerte_meteo
|
||
from: null
|
||
to: Rouge
|
||
condition: []
|
||
action:
|
||
- device_id: cfa712c97bdaf2c9e9f2d013867cf252
|
||
domain: mobile_app
|
||
type: notify
|
||
message: >
|
||
Orages : {{ state_attr('sensor.alerte_meteo', 'Orages') }}
|
||
|
||
|
||
Vent Violent : {{ state_attr('sensor.alerte_meteo', 'Vent Violent') }}
|
||
|
||
|
||
Pluie Inondation : {{ state_attr('sensor.alerte_meteo', 'Pluie
|
||
Inondation') }}
|
||
|
||
|
||
Inondation : {{ state_attr('sensor.alerte_meteo', 'Inondation') }}
|
||
|
||
|
||
Canicule : {{ state_attr('sensor.alerte_meteo', 'Canicule') }}
|
||
|
||
|
||
Grand Froid : {{ state_attr('sensor.alerte_meteo', 'Grand Froid') }}
|
||
|
||
|
||
Neige Verglas : {{ state_attr('sensor.alerte_meteo', 'Neige Verglas') }}
|
||
title: "Alerte météo : {{ states('sensor.alerte_meteo') }} "
|
||
mode: single
|
||
</code></pre>
|
||
|
||
|
||
|
||
<p>Si vous avez besoin de plus de détail, je vous invite à regarder la vidéo liée à l’article qui se trouve tout en haut. Pour échanger sur la configuration du plugin, il y a le <a href="https://discord.zatoufly.fr">discord communautaire</a>.</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:63:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:45:"J’ai remplacé ma table basse – IKEA LACK";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:58:"https://zatoufly.fr/jai-remplace-ma-table-basse-ikea-lack/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 04 Nov 2023 17:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:4:"Blog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:4:"ikea";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:4:"vlog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3681";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:132:"Pour faire un essai du DJI MIC récemment acquis, je vous propose un mini vlog de moi qui remplace ma table basse par une IKEA LACK.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:354:"
|
||
<p>Pour faire un essai du DJI MIC récemment acquis, je vous propose un mini vlog de moi qui remplace ma table basse par une IKEA LACK.</p>
|
||
|
||
|
||
|
||
<p>La conclusion est que ce DJI MIC me permet d’avoir un très bon son, ce qui ouvre la porte des possibles pour de futur vidéo, comme refaire une vidéo sur la Clio V mais cette fois ci publiable !</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:60:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:31:"Supprimer vos comptes en lignes";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:52:"https://zatoufly.fr/supprimer-vos-comptes-en-lignes/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 29 Oct 2023 17:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:2:{i:0;a:5:{s:4:"data";s:4:"Blog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:11:"vie privée";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3670";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:123:"Mon petit plaisir de cette semaine a été de supprimer un maximum de comptes en ligne de mon gestionnaire de mot de passe.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:2529:"
|
||
<p>Mon petit plaisir de cette semaine a été de supprimer un maximum de comptes en ligne de mon gestionnaire de mot de passe.</p>
|
||
|
||
|
||
|
||
<p>Les <a href="https://zatoufly.fr/creer-son-serveur-vaultwarden-avec-docker/">gestionnaires de mot de passe</a> sont tout aussi utiles pour votre sécurité que pour révéler des statistiques. Mon nombre d’entrées dans mon gestionnaire de mot de passe était de 340 il y a encore quelques jours, je trouve ça énorme.</p>
|
||
|
||
|
||
|
||
<p>De mon côté, j’ai déjà pu supprimer facilement 20 entrées qui été utiliser d’ancien services auto héberger, serveur qui ne sont plus d’actualité. J’ai pu supprimer 70 autres entrées de compte en ligne, tel que des magasins, des outils en ligne, etc …</p>
|
||
|
||
|
||
|
||
<p>Aujourd’hui il me reste 238 entrées. Mon objectif étant de descendre en dessous des 200 si possible.</p>
|
||
|
||
|
||
<div class="wp-block-image">
|
||
<figure class="aligncenter size-full is-resized"><img decoding="async" width="378" height="599" src="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-29-a-16.32.56.png" alt="" class="wp-image-3671" style="aspect-ratio:0.6310517529215359;width:264px;height:auto" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-29-a-16.32.56.png 378w, https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-29-a-16.32.56-189x300.png 189w" sizes="(max-width: 378px) 100vw, 378px" /></figure></div>
|
||
|
||
|
||
<h2 class="wp-block-heading">Pourquoi supprimer ?</h2>
|
||
|
||
|
||
|
||
<p>Comme vous le savez, je suis fan de minimalisme, et tout ce qui ne sert à rien doit être supprimé. J’ai adoré <a href="https://amzn.to/3skG6H4">ce livre</a> qui parle du sujet. Bien sûr, la raison principale étant la sécurité, je ne souhaite pas donner mon adresse e-mail à tous les services sur Internet. De manière générale, je fais relativement confiance au site où je laisse mon empreinte, cependant on n’est jamais à l’a pris d’une fuite de données.</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Comment supprimer ses comptes ?</h2>
|
||
|
||
|
||
|
||
<p>La première catégorie est assez simple, ils sont déjà supprimés pour cause d’inactivité. La plupart du temps il faudra aller dans les paramètres de son compte, puis cliquer sur un bouton « supprimer mon compte et mes données ». Quelques sites ne permettent pas de supprimer son compte. Dans ce cas, il faudra passer par le support du site ou bien créer un ticket pour une demande de suppression de compte.</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:63:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:46:"Mikrotik Hap AX Lite – Vraiment du Wi-Fi 6 ?";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:61:"https://zatoufly.fr/mikrotik-hap-ax-lite-vraiment-du-wi-fi-6/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 22 Oct 2023 16:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:2:"IT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:8:"mikrotik";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:4:"wifi";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3641";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:107:"J'ai pu avoir en prêt un Mikrotik Hap AX Lite, un routeur Wi-Fi pas cher promettant du Wi-Fi 6 pour 60€.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:3903:"
|
||
<p>J’ai pu avoir en prêt un <a href="https://amzn.to/3s82R0P">Mikrotik Hap AX Lite</a>, un routeur Wi-Fi pas cher promettant du Wi-Fi 6 pour 60€.</p>
|
||
|
||
|
||
|
||
<p>La partie qui m’intéresse sont les capacités Wi-Fi de du matériel. J’utilise toujours le Wi-Fi 5 proposé par ma Livebox 5.</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Speedtest : Hap AX Lite vs Livebox 5</h2>
|
||
|
||
|
||
|
||
<p>J’utilise un MBP M2 en Wi-Fi pour faire ces tests. Voici les résultat en local et en cloud sur le Wi-Fi 5 de la Livebox</p>
|
||
|
||
|
||
|
||
<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
|
||
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="509" height="329" data-id="3643" src="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.14.21.png" alt="" class="wp-image-3643" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.14.21.png 509w, https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.14.21-300x194.png 300w" sizes="(max-width: 509px) 100vw, 509px" /><figcaption class="wp-element-caption">Livebox 5 – Local</figcaption></figure>
|
||
|
||
|
||
|
||
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="489" height="301" data-id="3642" src="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.14.39.png" alt="" class="wp-image-3642" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.14.39.png 489w, https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.14.39-300x185.png 300w" sizes="(max-width: 489px) 100vw, 489px" /><figcaption class="wp-element-caption">Livebox 5 – Cloud</figcaption></figure>
|
||
</figure>
|
||
|
||
|
||
|
||
<p>Coté Mikrotik, voici les performances pour du Wi-Fi 6 </p>
|
||
|
||
|
||
|
||
<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
|
||
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="476" height="304" data-id="3644" src="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.15.54.png" alt="" class="wp-image-3644" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.15.54.png 476w, https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.15.54-300x192.png 300w" sizes="(max-width: 476px) 100vw, 476px" /><figcaption class="wp-element-caption">Hap AX Lite – Local</figcaption></figure>
|
||
|
||
|
||
|
||
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="469" height="311" data-id="3645" src="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.16.38.png" alt="" class="wp-image-3645" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.16.38.png 469w, https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-22-a-15.16.38-300x199.png 300w" sizes="(max-width: 469px) 100vw, 469px" /><figcaption class="wp-element-caption">Hap AX Lite – Cloud</figcaption></figure>
|
||
</figure>
|
||
|
||
|
||
|
||
<p>Curieusement les performances sont meilleures avec la Livebox en Wi-Fi 5. Celà s’explique par le manque de présence de la bande 5Ghz sur le matériel Mikrotik. Voici les specs du modèle tester sur le <a href="https://mikrotik.com/product/hap_ax_lite">site officiel</a>.</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Conclusion</h2>
|
||
|
||
|
||
|
||
<p>Pour mon utilisation, ce Mikrotik Hap AX Lite ne vaut pas le coup, une borne Wi-Fi sera bien plus intéressante pour mon usage. D’autant plus qu’il s’agît d’un routeur Wi-Fi et non d’une Borne Wi-Fi. ça fonction première est avant tout le partie routeur, le Wi-Fi vient qu’après et sert pour de l’appoint</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:63:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:39:"Je migre mon HomeLab dans un IKEA BESTA";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:60:"https://zatoufly.fr/je-migre-mon-homelab-dans-un-ikea-besta/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 15 Oct 2023 16:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:4:"Blog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:7:"homelab";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:4:"ikea";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3635";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:134:"J'ai récemment acquis un IKEA BESTA (version banc TV) j'en profite pour déplacer encore une fois mon homelab, cette fois sous ma TV.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1429:"
|
||
<p>J’ai récemment acquis un IKEA BESTA (version banc TV) j’en profite pour déplacer encore une fois mon homelab, cette fois sous ma TV.</p>
|
||
|
||
|
||
|
||
<p>Je suis dans l’ensemble très satisfait du résultat visuel et fonctionnel. En revanche pour le câble management le rack semble être la seule solution viable. Les NAS n’ont presque aucune prise d’air et mon Synology a directement pris 8° supplémentaires. </p>
|
||
|
||
|
||
<div class="wp-block-image">
|
||
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="562" height="442" src="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-15-a-15.54.08.png" alt="" class="wp-image-3637" style="aspect-ratio:1.2714932126696832;width:396px;height:auto" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-15-a-15.54.08.png 562w, https://zatoufly.fr/wp-content/uploads/2023/10/Capture-decran-2023-10-15-a-15.54.08-300x236.png 300w" sizes="(max-width: 562px) 100vw, 562px" /></figure></div>
|
||
|
||
|
||
<p>Heureusement que l’on quitte l’été, cela ne devrait pas être trop problématique. L’été prochain dans ma roadmap je prévois de déménager, il est possible qu’un rack fasse son apparition dans mon futur logement.</p>
|
||
|
||
|
||
|
||
<p>Un article très « life style » cette semaine. Plein de chouettes vidéos à venir, j’ai hâte de vous montrer tout ça ! </p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:66:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:35:"La Domotique IKEA et Home Assistant";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:56:"https://zatoufly.fr/la-domotique-ikea-et-home-assistant/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 08 Oct 2023 16:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:4:{i:0;a:5:{s:4:"data";s:9:"Domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:9:"domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:14:"home assistant";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:3;a:5:{s:4:"data";s:4:"ikea";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3626";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:129:"J'ai profité d'un aller à IKEA pour acheter quelques appareils domotique que vous présente aujourd'hui. Et j'en suis content !";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:162:"
|
||
<p>J’ai profité d’un aller à IKEA pour acheter quelques appareils domotique que vous présente aujourd’hui. Et j’en suis content !</p>
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:69:"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:6:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:48:"Home Assistant – Wake On LAN un NAS & plus";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:59:"https://zatoufly.fr/home-assistant-wake-on-lan-un-nas-plus/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 01 Oct 2023 16:00:00 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:5:{i:0;a:5:{s:4:"data";s:9:"Domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:9:"domotique";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:14:"home assistant";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:3;a:5:{s:4:"data";s:3:"NAS";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:4;a:5:{s:4:"data";s:3:"wol";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:27:"https://zatoufly.fr/?p=3621";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:120:"Le Wake On Lan "WoL" permet d'allumer une machine de son réseau via un logiciel. Home Assistant est l'un de ces outils.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Jérémy Taunay";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:3921:"
|
||
<p>Le Wake On Lan « WoL » permet d’allumer une machine de son réseau via un logiciel. Home Assistant est l’un de ces outils.</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Configurer le WoL sur Home Assistant</h2>
|
||
|
||
|
||
|
||
<p>Cette technologie est native à Home Assistant, pas besoin d’installer de plugins.</p>
|
||
|
||
|
||
|
||
<p>Pour configurer un bouton Wake On Lan, il faut pouvoir ajouter un bout de code dans le fichier configuration.yaml qui peut être accessible via File Editor, Studio Code Serveur…</p>
|
||
|
||
|
||
|
||
<p>Voici le code à ajouter et à modifier selon votre configuration. Les variables à modifier sont :</p>
|
||
|
||
|
||
|
||
<ul>
|
||
<li>mac : l’adresse mac de l’équipement à allumer</li>
|
||
|
||
|
||
|
||
<li>name : le nom d’affichage du switch qui sert à envoyer la requête WoL</li>
|
||
|
||
|
||
|
||
<li>host : Pas obligatoire. L’adresse IP de votre serveur pour que le switch sache si le serveur est déjà allumé. Si le serveur est allumé, l’option force le switch à « on ». </li>
|
||
</ul>
|
||
|
||
|
||
|
||
<pre class="wp-block-code"><code>switch:
|
||
- platform: wake_on_lan
|
||
mac: 00:11:32:6D:D9:A5
|
||
name: "NAS-916"
|
||
host: "192.168.10.10"</code></pre>
|
||
|
||
|
||
|
||
<p>Vous pouvez ajouter plusieurs switch WoL de cette manière : </p>
|
||
|
||
|
||
|
||
<pre class="wp-block-code"><code>switch:
|
||
- platform: wake_on_lan
|
||
mac: 00:11:32:6D:D9:A5
|
||
name: "NAS-916"
|
||
host: "192.168.10.10"
|
||
- platform: wake_on_lan
|
||
mac: 00:08:9B:EE:8A:26
|
||
name: "TS-453 Pro II"
|
||
host: "192.168.10.5"
|
||
- platform: wake_on_lan
|
||
mac: 98:FA:9B:1A:93:F7
|
||
name: "PVE"
|
||
host: "192.168.10.6"</code></pre>
|
||
|
||
|
||
|
||
<p>Chaque machine WoL configuration sera ajoutée en tant qu’entité de type « switch » sur Home Assistant. à chaque modification du fichier configuration.yaml il est nécessaire de redémarrer HA</p>
|
||
|
||
|
||
|
||
<h2 class="wp-block-heading">Ajouter un bouton WoL sur le dashboard</h2>
|
||
|
||
|
||
|
||
<p>Pour allumer une machine, il suffit d’ajouter l’entité sur votre dashboard.</p>
|
||
|
||
|
||
<div class="wp-block-image">
|
||
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-1.png" alt="" class="wp-image-3622" style="width:548px;height:356px" width="548" height="356" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-1.png 985w, https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-1-300x195.png 300w, https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-1-768x499.png 768w" sizes="(max-width: 548px) 100vw, 548px" /></figure></div>
|
||
|
||
|
||
<p>Dans mon cas, j’utilise les cartes mushroom avec un bout de code pour faire varier la couleur de l’icône selon l’état du serveur. rouge = éteint, vert = allumé.</p>
|
||
|
||
|
||
|
||
<pre class="wp-block-code"><code>type: horizontal-stack
|
||
cards:
|
||
- type: custom:mushroom-template-card
|
||
primary: NAS 916
|
||
icon: mdi:nas
|
||
entity: switch.nas_916
|
||
icon_color: '{{ ''green'' if states(entity) == ''on'' else ''red'' }}'
|
||
tap_action:
|
||
action: toggle
|
||
- type: custom:mushroom-template-card
|
||
primary: TS-453
|
||
icon: mdi:nas
|
||
entity: switch.ts_453_pro_ii
|
||
icon_color: '{{ ''green'' if states(entity) == ''on'' else ''red'' }}'
|
||
tap_action:
|
||
action: toggle
|
||
- type: custom:mushroom-template-card
|
||
primary: PVE
|
||
icon: mdi:server
|
||
entity: switch.pve
|
||
icon_color: '{{ ''green'' if states(entity) == ''on'' else ''red'' }}'
|
||
tap_action:
|
||
action: toggle</code></pre>
|
||
|
||
|
||
<div class="wp-block-image">
|
||
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-2.png" alt="" class="wp-image-3623" style="width:465px;height:80px" width="465" height="80" srcset="https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-2.png 509w, https://zatoufly.fr/wp-content/uploads/2023/10/HA-WoL-2-300x52.png 300w" sizes="(max-width: 465px) 100vw, 465px" /></figure></div>";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:4:"href";s:25:"https://zatoufly.fr/feed/";s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:44:"http://purl.org/rss/1.0/modules/syndication/";a:2:{s:12:"updatePeriod";a:1:{i:0;a:5:{s:4:"data";s:9:"
|
||
hourly ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:15:"updateFrequency";a:1:{i:0;a:5:{s:4:"data";s:4:"
|
||
1 ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:8:{s:4:"date";s:29:"Sun, 26 Nov 2023 10:04:51 GMT";s:12:"content-type";s:34:"application/rss+xml; charset=UTF-8";s:6:"server";s:6:"Apache";s:12:"x-powered-by";s:7:"PHP/8.0";s:15:"x-litespeed-tag";s:12:"490_HTTP.200";s:13:"last-modified";s:29:"Sun, 19 Nov 2023 17:00:00 GMT";s:4:"etag";s:34:""98e54f314a7e791d6f9d8547380a0828"";s:4:"link";s:93:"<https://zatoufly.fr/wp-json/>; rel=https://api.w.org/, <https://zatoufly.fr/>; rel=canonical";}s:5:"build";s:14:"20230304122624";s:5:"mtime";i:1700993091;s:3:"md5";s:32:"f33f136821b005a8178256670b26b549";} |