{"id":3274,"date":"2022-07-13T19:30:05","date_gmt":"2022-07-13T17:30:05","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=3274"},"modified":"2024-04-21T13:02:46","modified_gmt":"2024-04-21T11:02:46","slug":"relancer-sa-box-par-sms","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms","title":{"rendered":"Relaunch your box by SMS"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_88 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6aae71b28847d\" 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-6aae71b28847d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Objectif\" >Objective<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Materiels\" >Materials<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Initialisation_de_la_carte_SIM\" >Initialization of the SIM card<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Initialisation_du_RTU5024\" >Initialization of RTU5024<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Configuration_du_RTU5024\" >Configuration of the RTU5024<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Configurer_la_tempo_OFFON\" >Set the tempo OFF\/ON\u00a0<\/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\/relancer-sa-box-par-sms\/#Configurer_la_reponse_SMS_a_la_commande_de_relance\" >Configure the SMS response to the raise command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Raccorder_lalimentation_de_la_Box_au_RTU5024\" >Connect the power supply of the Box to RTU5024<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/relancer-sa-box-par-sms\/#Declencher_un_OFFON_a_distance\" >Trigger an OFF\/ON remotely<\/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\/relancer-sa-box-par-sms\/#Tester_letat_du_relais_et_la_qualite_du_signal\" >Test relay status and signal quality<\/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\/relancer-sa-box-par-sms\/#Manuel\" >Manual<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Objectif\"><\/span>Objective<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When it is the Box that has crashed, it is impossible to access the local network from outside and only an electric boost can solve the problem.<\/p>\n<p>This relaunch must be made by GSM via a call or SMS command, independent of the internet.<\/p>\n<p>In the previous tutorial, I used Chinese equipment that did not last long.<!--more--><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Materiels\"><\/span>Materials<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>We need a <strong>SIM card<\/strong>, I use a \u20ac2 free card that I do not pay because I am a Free customer.\u00a0<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-3276\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/Sp-cial-confinement-FREE-offre-2H-d-appels-en-plus-gratuitement-1585304799-large.jpg\" alt=\"\" width=\"201\" height=\"117\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/Sp-cial-confinement-FREE-offre-2H-d-appels-en-plus-gratuitement-1585304799-large.jpg 1200w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/Sp-cial-confinement-FREE-offre-2H-d-appels-en-plus-gratuitement-1585304799-large-600x350.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/Sp-cial-confinement-FREE-offre-2H-d-appels-en-plus-gratuitement-1585304799-large-300x175.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/Sp-cial-confinement-FREE-offre-2H-d-appels-en-plus-gratuitement-1585304799-large-1024x597.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/Sp-cial-confinement-FREE-offre-2H-d-appels-en-plus-gratuitement-1585304799-large-768x448.jpg 768w\" sizes=\"auto, (max-width: 201px) 100vw, 201px\" \/><\/p>\n<ul>\n<li>A 2G\/3G\/4G receiver that hosts the SIM card and controls a relay, for this I use a <a href=\"https:\/\/amzn.to\/3Ryfjik\" target=\"_blank\" rel=\"noopener\"><strong>RTU5024<\/strong><\/a>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-3275\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024.png\" alt=\"\" width=\"428\" height=\"357\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024.png 641w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-600x501.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-300x250.png 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/p>\n<blockquote>\n<p>Note: I ordered a first RTU5024 on Amazon for \u20ac30.19 (Infongc-EU seller) it never worked, Amazon took it over. I ordered the same reference from the seller <a href=\"https:\/\/amzn.to\/3Ryfjik\" target=\"_blank\" rel=\"noopener\">YoHoTek<\/a> to <a href=\"https:\/\/amzn.to\/3Ryfjik\" target=\"_blank\" rel=\"noopener\">34.99\u20ac<\/a> and it worked at the first second. So beware of sellers, they are not equal. And I admit that the two aircraft did not have the same weight, the second one was heavier, so there must be fake RTU5024.<\/p>\n<p>Note 2: Be careful, there is no transfo with this equipment, but obviously it accepts all DC voltages from 9V to 40V, I read that it was recommended 12V, I had a 12VDC transfo, it works very well with it.<\/p>\n<\/blockquote>\n<h3><span class=\"ez-toc-section\" id=\"Initialisation_de_la_carte_SIM\"><\/span>Initialization of the SIM card<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As a first step, it is necessary to check that there is no code to the SIM card, for this, place it in a mobile phone, go to the system settings and <a href=\"https:\/\/www.fnac.com\/Comment-changer-ou-supprimer-son-code-PIN\/cp50596\/w-4\" target=\"_blank\" rel=\"noopener\">remove the password<\/a>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Initialisation_du_RTU5024\"><\/span>Initialization of RTU5024<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Place the SIM card in the space reserved for this purpose (behind, remove small black screws)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3279\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/arrierertu5024.png\" alt=\"\" width=\"270\" height=\"146\" \/><\/p>\n<ul>\n<li>Connect the power supply respecting the polarity.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3280\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/alim.png\" alt=\"\" width=\"72\" height=\"123\" \/><\/p>\n<ul>\n<li>Plug in the power supply<\/li>\n<\/ul>\n<p>The red led on the left will blink twice slowly then will blink 1 time per second (quickly so)<\/p>\n<p>Wait, it's connecting to the GSM network<\/p>\n<p>When connected the led changes rhythm and blinks once every 2 seconds (a little slower so)<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configuration_du_RTU5024\"><\/span>Configuration of the RTU5024<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Inform RTU5024 of the phone number of the SIM card it contains,<\/strong><\/li>\n<\/ul>\n<p>Send by SMS the order <strong>1234TEL0033numerocartesim#<\/strong><\/p>\n<blockquote>\n<p>e.g. <strong>1234TEL0033733445566#<\/strong> for a SIM card with the number <strong>07 33 44 55 66<\/strong> in the box<\/p>\n<\/blockquote>\n<p>The box will reply to you by sms: <strong>Set Success!<\/strong><\/p>\n<p>If you receive your message, you have a system that works and a good quality box, we can continue. If not, send it back.<\/p>\n<ul>\n<li><strong>Allow your mobile phone to call the RTU5024<\/strong><\/li>\n<\/ul>\n<p>Send by SMS the order <strong>1234A020#0033numerotephoneportable#<\/strong><\/p>\n<blockquote>\n<p>e.g. <strong>1234A020#0033631313333#<\/strong> to authorize the mobile phone that has the number <strong>06 31 31 33 33<\/strong><\/p>\n<\/blockquote>\n<p>The box answers you by text, the information it gives you does not bring much, the whole thing is that it answers you and that your mobile phone number is at the beginning of the answer.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configurer_la_tempo_OFFON\"><\/span>Set the tempo OFF\/ON\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The box alone manages the transition from ON to OFF then OFF to ON and between the two, we can define (in seconds) the pause time.<\/p>\n<p>I will try to put 60 seconds for safety, a tempo of 2s will do the trick but for the box, it is cleaner to leave more extinction time before recharging it. Without configuration, the tempo is by default 0.5s which is not suitable.<\/p>\n<p>Send order <strong>1234GOT060# <\/strong>set the tempo to 60s, the format is 1234GOTnbseconds# in format 000 to 999<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configurer_la_reponse_SMS_a_la_commande_de_relance\"><\/span>Configure the SMS response to the raise command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Optional but nice, we can configure the response that the box will return to the restart command.<\/p>\n<p>Send by SMS order <strong>1234GON11#Box being relaunched#<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Raccorder_lalimentation_de_la_Box_au_RTU5024\"><\/span>Connect the power supply of the Box to RTU5024<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3283\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/relais.png\" alt=\"\" width=\"127\" height=\"72\" \/><\/p>\n<p>The relay allows with its NO (Normally Open) and NC (Normally Closed) terminals two modes of operation.<\/p>\n<p>Obviously for our objective, we will use the NC terminal block because 99.99% in time the relay will be closed = Box connected to electricity. If the RTU5024 fails, the relay will remain closed.<\/p>\n<p>The OFF\/ON that we wish to provoke on the box will therefore be for the RTU5024 a switch to ON and then a switch to OFF (the NC being inverted from NO, the NO being the \u2018normal\u2019 mode).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-3286\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-1.png\" alt=\"\" width=\"529\" height=\"328\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-1.png 1500w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-1-600x372.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-1-300x186.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-1-1024x634.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/07\/rtu5024-1-768x476.png 768w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/p>\n<p>The feeding phase of the box is therefore cut off by connecting it to the COM and NC terminal blocks (Normally Closed).<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Declencher_un_OFFON_a_distance\"><\/span>Trigger an OFF\/ON remotely<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Two ways to do this, either a phone call (with an authorised phone number) or an SMS (from any phone)<\/p>\n<ul>\n<li><strong>Telephone call<\/strong><\/li>\n<\/ul>\n<p>Attention, it is imperative that the telephone number <a href=\"#Configuration_du_RTU5024\">has been authorised in advance<\/a> otherwise the appeal is dismissed directly.<\/p>\n<p>If the number has been authorised, a telephone call will trigger the activation of the OFF\/tempo\/ON and refuse the call (thus to the courier).<\/p>\n<p>The box will also send a message to say <em>Box being relaunched<\/em> (<a href=\"#Configurer_la_reponse_SMS_a_la_commande_de_relance\">configured above<\/a>)<\/p>\n<ul>\n<li><strong>SMS<\/strong><\/li>\n<\/ul>\n<p>The SMS command is <strong>1234CC<\/strong><\/p>\n<p>This command will trigger the OFF\/tempo\/ON activation.<\/p>\n<p>The box will respond <em>Box being relaunched<\/em> (<a href=\"#Configurer_la_reponse_SMS_a_la_commande_de_relance\">configured above<\/a>)<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Tester_letat_du_relais_et_la_qualite_du_signal\"><\/span>Test relay status and signal quality<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The SMS command is <strong>1234EE<\/strong><\/p>\n<p>The answer may look like:<\/p>\n<blockquote>\n<p>Relay OFF;<\/p>\n<p>GSM Signal Value:10<\/p>\n<\/blockquote>\n<p>To recover IMEI and firmware version<\/p>\n<p>The SMS command is <strong>1234IMEI#<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Manuel\"><\/span>Manual<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/RTU5024-manual.pdf\">RTU5024-manual<\/a><\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Objectif Quand c&rsquo;est la Box qui a plant\u00e9, impossible d&rsquo;acc\u00e9der au r\u00e9seau local depuis l&rsquo;ext\u00e9rieur et seule une relance \u00e9lectrique peut r\u00e9soudre le souci. Cette relance doit \u00eatre faite par GSM via un appel ou une commande SMS, ind\u00e9pendante d&rsquo;internet. Dans le tuto pr\u00e9c\u00e9dent, j&rsquo;avais utilis\u00e9 un \u00e9quipement chinois qui n&rsquo;a finalement pas tenu longtemps.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[81],"class_list":["post-3274","post","type-post","status-publish","format-standard","hentry","category-domotique","tag-developpement"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3274","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=3274"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3274\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=3274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=3274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=3274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}