{"id":277,"date":"2019-12-07T14:05:15","date_gmt":"2019-12-07T14:05:15","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/relancer-vos-equipements-par-un-sms-routeur-box-jeedom"},"modified":"2022-07-15T21:28:39","modified_gmt":"2022-07-15T19:28:39","slug":"relancer-vos-equipements-par-un-sms-routeur-box-jeedom","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/relancer-vos-equipements-par-un-sms-routeur-box-jeedom","title":{"rendered":"Relaunch your equipment by SMS (Router, Box, Jeedom, \u2026)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-274\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/colere.jpg\" alt=\"colere\" width=\"100\" height=\"99\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/colere.jpg 226w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/colere-100x100.jpg 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/colere-150x150.jpg 150w\" sizes=\"auto, (max-width: 100px) 100vw, 100px\" \/><\/p>\n<p>I wrote this article after grilling my lawn and putting my pool pump at risk of death.<!--more--><\/p>\n<p>Indeed, home automation is awesome, when it works \u2026<\/p>\n<p>I thought I was thinking about everything and this summer, while travelling abroad, I lost contact with my local network, because the Freebox had crashed and so nothing could be reached anymore. You just had to do an Off\/On on the Freebox and everything would have worked out again.<\/p>\n<p>So I looked for a system completely independent of the internet connection, the box, the \u2026 router that allows me to make an off\/on of my main equipment.<\/p>\n<blockquote><p><span style=\"color: #ff6600;\"><strong><em>Information, Update of this tutorial to 03\/07\/2022<\/em><\/strong><\/span><\/p>\n<p><span style=\"color: #ff6600;\">The CL4-GSM presented below has doubled its price, it is no longer the ideal equipment.\u00a0<\/span><br \/>\n<span style=\"color: #ff6600;\">I left this tutorial for archive but I advise you to consult the following tutorial, based on RTU5024:<\/span><\/p>\n<ul>\n<li><span style=\"color: #ff6600;\"><strong><a style=\"color: #ff6600;\" href=\"http:\/\/jeedom.sigalou-domotique.fr\/relancer-sa-box-par-sms\">Relaunch your box by SMS<\/a><\/strong><\/span><\/li>\n<\/ul>\n<\/blockquote>\n<p>In my research, I wanted something that does not cost me a subscription and that is not excessive, here is my solution:<\/p>\n<p>* <a href=\"http:\/\/s.click.aliexpress.com\/e\/smlkV4Ik\" target=\"_blank\" rel=\"noopener noreferrer\">CL4-GSM<\/a> (less than 30\u20ac)<\/p>\n<p>* Lebara SIM card (0.19\u20ac per SMS, subscription 0\u20ac, SIM 0\u20ac)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-275\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/cl4-gsmlebara.jpg\" alt=\"cl4 gsmlebara\" width=\"648\" height=\"588\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/cl4-gsmlebara.jpg 648w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/cl4-gsmlebara-600x544.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/cl4-gsmlebara-300x272.jpg 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/p>\n<p>The principle is therefore to use the mobile network to send an SMS to the <a href=\"http:\/\/s.click.aliexpress.com\/e\/smlkV4Ik\" target=\"_blank\" rel=\"noopener noreferrer\">CL4-GSM<\/a>, ask him to cut off for a few seconds the power supply to the equipment altered by one of the relays of the <a href=\"http:\/\/s.click.aliexpress.com\/e\/smlkV4Ik\" target=\"_blank\" rel=\"noopener noreferrer\">CL4-GSM<\/a>.<\/p>\n<p>Note that the <a href=\"http:\/\/s.click.aliexpress.com\/e\/smlkV4Ik\" target=\"_blank\" rel=\"noopener noreferrer\">CL4-GSM<\/a> is able to manage 4 equipment individually, in this tutorial, I will manage them at the same time but everything seems possible, cf.doc of the product. If you only need one piece of equipment, there is <a href=\"http:\/\/s.click.aliexpress.com\/e\/MCm5HT4M\" target=\"_self\" rel=\"noopener noreferrer\">CL1-GSM<\/a> (less than 20\u20ac).<\/p>\n<p>For the telephone subscription, there are many options at a few euros per month, but look no further, 2 \u20ac per month, it's fast 24 \u20ac \/ year, I looked for what there was to meet my needs.<\/p>\n<p>Finally Lebara offers the free SIM card (no shipping costs) and you only pay 0.19 \u20ac by SMS sent by the card (receipt of SMS obviously free), an account charging system is convenient (you put 5 \u20ac for example). Note that if you no longer have a top-up on your account, the card continues to receive SMS messages and the box continues to execute \u2026 orders but in this case, you do not have the \u2026 order validation up to you.<\/p>\n<p>After reading the doc correctly, I found out how to make an Off\/Tempo\/On in a single order.<\/p>\n<h2>Connecting equipment to the terminal block<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-276\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/bornier.jpg\" alt=\"terminal block\" width=\"278\" height=\"149\" \/><\/p>\n<p>I noticed that the terminal block made it possible to use the Normally Open or Normally Closed states.<\/p>\n<p>In order not to unnecessarily solicit relays, I decided to solicit them only during the Off\/On. Thus, the SMS command that will have to be launched to do the hard reset will be On\/Pause\/Off.<\/p>\n<p>The power supplies to be controlled are therefore to be connected between the terminal <strong>COMx<\/strong> and the bollard <strong>NC<\/strong><\/p>\n<h2>Order to be sent to the SIM card (by SMS)<\/h2>\n<p>The order to be sent by sms will be as follows:<\/p>\n<p><em><strong>SN0000T5CCCC<\/strong><\/em><\/p>\n<ul>\n<li><strong>0000<\/strong> is the code, if you are paranoid, you can change it<\/li>\n<li><strong>T5<\/strong> this is to set the tempo to 5s<\/li>\n<li><strong>CCCC<\/strong> it is to close the 4 relays (use X instead of C so as not to touch a relay)<\/li>\n<\/ul>\n<p>This command will cause:<\/p>\n<ul>\n<li>Relay closure (So OFF for equipment connected between Com and NC)<\/li>\n<li>Break of 5s<\/li>\n<li>Relay Release (So ON)<\/li>\n<\/ul>\n<h2>Result<\/h2>\n<p>The box will answer you by SMS (this is what costs you 19cts):<\/p>\n<p><em><strong>SW1 SW2 SW3 SW4 IS INCHING<\/strong><\/em><\/p>\n<p>The Off\/Pause\/ON performed well.<\/p>\n<p><strong>Comparative price of CL4-GSM:<\/strong><\/p>\n<p><em>My purchase:<\/em><\/p>\n<p><a href=\"http:\/\/s.click.aliexpress.com\/e\/smlkV4Ik\" target=\"_blank\" rel=\"noopener noreferrer\">At <strong>AliExpress<\/strong> <strong>\u20ac 27,36<\/strong>, order on 22 Nov, received on 4 Dec.\u20ac 27.36, order on 22 Nov, received on 4 Dec.<\/a><\/p>\n<p><em>Other traders:<\/em><\/p>\n<p><strong>Amazon<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/amzn.to\/2P0FsIz\" target=\"_blank\" rel=\"noopener noreferrer\">CL4-GSM 44.03\u20ac Prime delivery (4 days)<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/351RWoD\" target=\"_blank\" rel=\"noopener noreferrer\">CL1-GSM 32.09\u20ac Delivery Prime (4days)<\/a><\/li>\n<\/ul>\n<p><strong>Banggood <\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/www.banggood.com\/custlink\/3v3DAYunhi\" target=\"_blank\" rel=\"noopener noreferrer\">CL1-GSM 27.33\u20ac (+1.18\u20ac port) Delivery 7-12 days<\/a><\/li>\n<li><a href=\"https:\/\/www.banggood.com\/custlink\/D3DKNYubEz\" target=\"_blank\" rel=\"noopener noreferrer\">CL2-GSM Delivery 7-12 days<\/a><\/li>\n<li><a href=\"https:\/\/fr.banggood.com\/custlink\/33K3sy7E4B\" target=\"_blank\" rel=\"noopener noreferrer\">CL4-GSM 33.41\u20ac (+1.15\u20ac port) Delivery 7-12 days<\/a><\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/ws-eu.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=FR&amp;source=ss&amp;ref=as_ss_li_til&amp;ad_type=product_link&amp;tracking_id=sigalou-21&amp;marketplace=amazon&amp;region=FR&amp;placement=B079QK47Y3&amp;asins=B079QK47Y3&amp;linkId=0aeebcbb46811b568483c9fdc22e7508&amp;show_border=true&amp;link_opens_in_new_window=true\" width=\"120px\" height=\"240px\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe> <iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/ws-eu.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=FR&amp;source=ss&amp;ref=as_ss_li_til&amp;ad_type=product_link&amp;tracking_id=sigalou-21&amp;marketplace=amazon&amp;region=FR&amp;placement=B01KLZST56&amp;asins=B01KLZST56&amp;linkId=42b72a4c4188da29025492856b3a6c67&amp;show_border=true&amp;link_opens_in_new_window=true\" width=\"120px\" height=\"240px\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>","protected":false},"excerpt":{"rendered":"<p>I wrote this article after grilling my lawn and putting my pool pump at risk of death.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-domotique"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/277","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=277"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}