{"id":1308,"date":"2021-01-23T23:36:27","date_gmt":"2021-01-23T21:36:27","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=1308"},"modified":"2024-04-21T13:13:40","modified_gmt":"2024-04-21T11:13:40","slug":"le-conseiller-de-securite-synology-sur-jeedom","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom","title":{"rendered":"Synology Security Advisor on Jeedom"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_90 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6b0378e82246a\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6b0378e82246a\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Objectif\" >Objective<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Important_Ce_tuto_est_en_deux_parties\" >Important: This tutorial is in two parts<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Materiel_logiciels\" >Hardware, software<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#1ere_partie_Explication_complete_a_vertu_pedagogique_pas_a_pas\" >Part 1: Complete explanation with pedagogical virtue, step by step<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Envoyer_des_ordres_au_Syno\" >Send orders to Syno<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Trouver_les_commandes_a_envoyer_au_routeur\" >Find the commands to send to the router<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Ajout_de_cette_commande_a_Jeedom\" >Adding this command to Jeedom<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Recuperer_des_infos_du_Syno\" >Recover information from Syno<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Ameliorer_le_Widget_v1\" >Improve Widget (v1)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Ameliorer_le_Widget_v2\" >Improve Widget (v2)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Fusionner_les_deux_devices_en_un_seul\" >Merge the two devices into one<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Bonus_Avoir_lactualisation_en_temps_reel_du_resultat_du_conseiller_de_securite\" >Bonus: Have the security advisor\u2019s result updated in real time<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Resultat\" >Result<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#2eme_partie_Importation_direct_dun_modele_de_Device\" >Part 2: Direct import of a device model<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/le-conseiller-de-securite-synology-sur-jeedom\/#Importer_un_modele_dequipement\" >Import a model of equipment<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Objectif\"><\/span>Objective<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>The purpose of this tutorial is to use the pretext of reproducing a tile corresponding to the Synology Security Advisor on Jeedom to explain how to use the Synology-API plugin.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1309\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite.gif\" alt=\"\" width=\"754\" height=\"213\" \/><\/p>\n<p><!--more--><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Important_Ce_tuto_est_en_deux_parties\"><\/span>Important: This tutorial is in two parts<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Depending on what you want to do and\/or understand about the use of Synology APIs and how the Synology-API plugin works, you have two options:<\/p>\n<ul>\n<li>Either you read the <strong>Part I<\/strong> that explains to you, step by step in the most pedagogical way possible what you do<\/li>\n<li>Either you read directly the <strong>Part 2<\/strong> who will provide you, turnkey the tile of your equipment, with the commands and information already programmed<\/li>\n<\/ul>\n\n\n\n<h2><span class=\"ez-toc-section\" id=\"Materiel_logiciels\"><\/span>Hardware, software<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>All Synology equipment is equipped with a Security Adviser, who will be used:<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1314\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite.png\" alt=\"\" width=\"166\" height=\"109\" \/><\/p>\n<ul>\n<li>On the Jeedom side, you need the Jeedom-Synology link called <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-synology-api-documentation\"><span style=\"text-decoration: underline;\">Synology-API<\/span><\/a><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1215\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/synologyapi_icon-266x300.png\" alt=\"\" width=\"146\" height=\"165\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/synologyapi_icon-266x300.png 266w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/synologyapi_icon.png 309w\" sizes=\"auto, (max-width: 146px) 100vw, 146px\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"1ere_partie_Explication_complete_a_vertu_pedagogique_pas_a_pas\"><\/span>Part 1: Complete explanation with pedagogical virtue, step by step<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"Envoyer_des_ordres_au_Syno\"><\/span>Send orders to Syno<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Trouver_les_commandes_a_envoyer_au_routeur\"><\/span>Find the commands to send to the router<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the Tuto <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/activer-desactiver-wifi-de-mon-reseau-avec-jeedom\/\">Enable\/Disable WIFI from my network with Jeedom<\/a>, it is explained how to find the commands to send.<\/p>\n<p>For this tutorial, the command to be sent to launch the analysis in the security adviser is:<\/p>\n<ul>\n<li>Name of API:\u00a0<strong>Core.SecurityScan.Operation<\/strong><\/li>\n<li>Method to be used:\u00a0<strong>start<\/strong><\/li>\n<\/ul>\n<p>And as a parameter:<\/p>\n<ul>\n<li><strong>&amp;items=ALL<\/strong><\/li>\n<\/ul>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Ajout_de_cette_commande_a_Jeedom\"><\/span>Adding this command to Jeedom<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To send an order from the Syno, you must add an action command in the Synology-API plugin.<\/p>\n<ul>\n<li>Launch Synology-API and click on the + to launch the wizard<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1232\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/assistant.png\" alt=\"\" width=\"148\" height=\"133\"><\/p>\n<ul>\n<li>In <strong>API to use<\/strong>, select <strong>Core.SecurityScan.Operation<\/strong><\/li>\n<li>In <strong>Method to be used<\/strong>, select <strong>Start<\/strong><\/li>\n<li>In other settings, add <strong>&amp;<\/strong><strong>items=ALL<\/strong><\/li>\n<li>Be careful not to forget the &amp; at the beginning.<\/li>\n<li>click Launch Query.<\/li>\n<\/ul>\n<p>The assistant replied:\u00a0<span style=\"color: #000000;\"><span style=\"color: #8fc935;\">Request sent and executed successfully!<\/span><\/span>\u00a0This is because it worked and Syno replied that the request was executed.<\/p>\n<p>Just below, the wizard proposes to save this command to be able to reuse it directly or via a scenario. Fill in the form and validate the addition of the order<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1330\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite4.png\" alt=\"\" width=\"1153\" height=\"128\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite4.png 1153w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite4-600x67.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite4-300x33.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite4-1024x114.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite4-768x85.png 768w\" sizes=\"auto, (max-width: 1153px) 100vw, 1153px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Recuperer_des_infos_du_Syno\"><\/span>Recover information from Syno<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>On the principle of previous queries, the Syno can be questioned for information. To respect the Jeedom language, we will refer to these queries as \"info commands\".<\/p>\n<p>Continuing the current example, we will question the Syno to retrieve the result of the Security Adviser\u2019s analysis.<\/p>\n<p>The manipulation to find this information is identical to the previous explanation.<\/p>\n<p>Here is the API to be used:<\/p>\n<ul>\n<li>API:&nbsp;<strong><span class=\"eqLogicAttr\" data-l1key=\"configuration\" data-l2key=\"urlAPI\">SYNO.Core.SecurityScan.Status<\/span><\/strong><\/li>\n<li>Method to be used: <strong>System Get<br><\/strong><\/li>\n<\/ul>\n<p>This request returns the following reply:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1321\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite1.png\" alt=\"\" width=\"429\" height=\"512\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite1.png 429w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite1-251x300.png 251w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/p>\n<p>Tick:<\/p>\n<ul>\n<li>all failSeverity boxes in each section<\/li>\n<li><span style=\"color: #000000;\">lastScanTime<\/span><\/li>\n<li><span style=\"color: #000000;\">sysProgress<\/span><\/li>\n<\/ul>\n<p>After adding the new Jeedom device that includes all the commands, you can rename the commands for a better understanding.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1322\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite2.png\" alt=\"\" width=\"991\" height=\"596\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite2.png 991w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite2-600x361.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite2-300x180.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite2-768x462.png 768w\" sizes=\"auto, (max-width: 991px) 100vw, 991px\" \/><\/p>\n<p>Please note that it is useful to use the \u2018calculation\u2019 box to transform the information given by the API into a date\/time.<\/p>\n<p>For example: date(\u2018d-m-Y H:i\u2019,#value#)<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Ameliorer_le_Widget_v1\"><\/span>Improve Widget (v1)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The failSeverity field gives information in the format of a word corresponding to a state: e.g. Safe, Risk, outOfDate, \u2026<\/p>\n<p>It will be necessary to create a Jeedom widget to transform this state into a logo, here is what I propose to create a Widget:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1325\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite3.png\" alt=\"\" width=\"1473\" height=\"644\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite3.png 1473w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite3-600x262.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite3-300x131.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite3-1024x448.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite3-768x336.png 768w\" sizes=\"auto, (max-width: 1473px) 100vw, 1473px\" \/><\/p>\n<p>I chose to do three tests:<\/p>\n<ul>\n<li>#value#== \"safe\" which displays fas fa-check-circle icon_green<\/li>\n<li>#value#== \"risk\" which displays fas fa-exclamation-circle icon_red<\/li>\n<li>#value#==\"outOfDate\" which displays fas fa-exclamation-circle icon_orange<\/li>\n<li>#value#==\"warning\" which displays fas fa-exclamation-circle icon_orange<\/li>\n<li>#value#== \u00bbinfo \u00bb which displays fas fa-exclamation-circle icon_blue<\/li>\n<\/ul>\n<p>This widget is therefore assigned to all failSeverity values&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Ameliorer_le_Widget_v2\"><\/span>Improve Widget (v2)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I left the previous paragraph because it has a pedagogical virtue to explain widgets but since then I have integrated the widget into the plugin.<\/p>\n<p>Simply choose the Synologyapi\/Safe_Risk widget for each info command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1340\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite9.png\" alt=\"\" width=\"676\" height=\"222\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite9.png 676w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite9-600x197.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite9-300x99.png 300w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Fusionner_les_deux_devices_en_un_seul\"><\/span>Merge the two devices into one<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The Synology-API plugin is able to merge two devices to have on the same device Jeedom commands and info.<\/p>\n<p>All you need to do is follow the fusion wizard<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1288\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/fusionner.png\" alt=\"\" width=\"130\" height=\"87\"><\/p>\n\n\n\n<h3><span class=\"ez-toc-section\" id=\"Bonus_Avoir_lactualisation_en_temps_reel_du_resultat_du_conseiller_de_securite\"><\/span>Bonus: Have the security advisor\u2019s result updated in real time<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The order <strong>Launches an analysis<\/strong> asks Synology to trigger the analysis.<\/p>\n<p>Immediately after the launch of this command, it is necessary to add the launch of a <strong>refresh<\/strong> to update the tile, this is done by clicking on the gear on the right at the end of the command<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1296\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/boutonsoptions.png\" alt=\"\" width=\"150\" height=\"31\" \/><\/p>\n<p>then Configuration tab, add Refresh<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1331\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite5.png\" alt=\"\" width=\"564\" height=\"111\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite5.png 564w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite5-300x59.png 300w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/p>\n<p>This will launch the first Refresh, for the rest, you have to use a scenario.<\/p>\n<p>The scenario will be:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1332\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite6.png\" alt=\"\" width=\"130\" height=\"130\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite6.png 130w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite6-100x100.png 100w\" sizes=\"auto, (max-width: 130px) 100vw, 130px\" \/><\/p>\n<p>This scenario will be triggered by:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1333\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite7.png\" alt=\"\" width=\"605\" height=\"114\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite7.png 605w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite7-600x113.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite7-300x57.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>The content of the scenario will be:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1334\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite8.png\" alt=\"\" width=\"785\" height=\"174\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite8.png 785w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite8-600x133.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite8-300x66.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite8-768x170.png 768w\" sizes=\"auto, (max-width: 785px) 100vw, 785px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Resultat\"><\/span>Result<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1309\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite.gif\" alt=\"\" width=\"754\" height=\"213\" \/><\/h2>\n<h1><span class=\"ez-toc-section\" id=\"2eme_partie_Importation_direct_dun_modele_de_Device\"><\/span>Part 2: Direct import of a device model<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>If you do not have the soul of a computer scientist and do not want to understand what you are doing, use the second part directly, which gives you the device model.<\/p>\n<p>You will thus directly have the commands and information that will be preprogrammed, even the widgets are included thus offering you a clean and usable tile immediately.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Importer_un_modele_dequipement\"><\/span>Import a model of equipment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Synology-API plugin has integrated an import feature, you just have to click on the button <strong>Import a Model<\/strong>, just under the name of the relevant Synology equipment:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1357\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/importer.png\" alt=\"\" width=\"136\" height=\"28\" \/><\/p>\n<p>For this \"WiFi\" device, here is the JSON file to import<\/p>\n<ul>\n<li><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/documentssigalou\/Conseiller_de_securite.json\" target=\"_blank\" rel=\"noopener\">http:\/\/jeedom.sigalou-domotique.fr\/documentssigalou\/Conseiller_de_securite.json<\/a><\/li>\n<li>or in zip format: <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/documentssigalou\/Conseiller_de_securite.zip\" target=\"_blank\" rel=\"noopener\">http:\/\/jeedom.sigalou-domotique.fr\/documentssigalou\/Conseiller_de_securite.zip<\/a><\/li>\n<\/ul>\n<p>Once the widget is imported, it is up and running.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1372\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/conseillersecurite-1.gif\" alt=\"\" width=\"467\" height=\"203\" \/><\/p>\n<p>In order for the widget to update, you must add the <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/activer-desactiver-wifi-de-mon-reseau-avec-jeedom\/#Bonus_Actualisation_de_letat_du_Wifi\">bonus of the 1st part, follow this link<\/a> to add the tile refresh automation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Objective The purpose of this tutorial is to use the pretext of reproducing a tile corresponding to the Synology Security Advisor on Jeedom to explain how to use the Synology-API plugin.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[56],"class_list":["post-1308","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2","tag-synology"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/1308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=1308"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/1308\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=1308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=1308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=1308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}