{"id":3305,"date":"2022-08-25T13:43:21","date_gmt":"2022-08-25T11:43:21","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=3305"},"modified":"2026-06-10T21:24:45","modified_gmt":"2026-06-10T19:24:45","slug":"temporiser-le-demarrage-dun-switch","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/temporiser-le-demarrage-dun-switch","title":{"rendered":"Timing the start of a switch"},"content":{"rendered":"<p class=\"wp-block-paragraph\">[<strong>and optionally, be able to restart its switch in zigbee<\/strong>]<\/p>\r\n\r\n<h3>Background and objective<\/h3>\r\n<p>I have a high-performance Synology 2600 Router but it takes a few minutes to be fully operational on my local network.<\/p>\r\n<p>In the event of a general power outage (caused or suffered) when all the equipment is turned on at the same time, the equipment that is on the POE switch also starts at the same time as the router that is not able to assign their IP address to them (since it has not completed its initialisation), this can sometimes be problematic.<\/p>\r\n<p>So I looked for a way to slow down the switch by a few minutes.<\/p>\r\n<p>I did not want to use \u2018home automation intelligence\u2019 such as a controlled socket or other, I wanted a stand-alone system that shifts the power on the switch over time.<!--more--><\/p>\r\n<h3>Misuse of the usual mode of operation<\/h3>\r\n<p>This module is very classically a system to do Normally Open or Normally Closed with two modes, a delay on the ON and a delay on the OFF.<\/p>\r\n<p>Logically, for a conventional use, as documented, the Delay Mode on the ON and the Normally Open circuit should be used.<\/p>\r\n<p>Assuming that a pasted relay consumes more than an unpasted relay, and taking into account that in 99% time this module will be used live, I will use the opposite of the usual mode, i.e.: the Mode <strong>delay on OFF<\/strong> and the circuit <strong>Normally closed.<\/strong><\/p>\r\n<p>Note: In case of failure of this module, we could imagine that the relay will stop taking off, so this mode suits us in case of failure.<\/p>\r\n<h3>Material<\/h3>\r\n<p>I ordered a DIN delay timer, <a href=\"https:\/\/s.click.aliexpress.com\/e\/_DnOMGWP\" target=\"_blank\" rel=\"noopener\">reference GRT8-EC of the brand GEYA<\/a>. (12\u20ac including shipping)<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3306 size-full\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt8.png\" alt=\"\" width=\"172\" height=\"387\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt8.png 172w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt8-133x300.png 133w\" sizes=\"auto, (max-width: 172px) 100vw, 172px\" \/><\/p>\r\n<h3>Operation of this equipment<\/h3>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3308 aligncenter\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt83.png\" alt=\"\" width=\"86\" height=\"32\" \/><\/p>\r\n<p>In my case, this is the mode <strong>Delay off <\/strong>which must be used, i.e. a delay in switching to OFF, so the switch goes to the right.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3307 aligncenter\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt8-1.png\" alt=\"\" width=\"96\" height=\"198\" \/><\/p>\r\n<p>The 3 small parameters of T make it possible to configure the delay interval, on the side of the module, all modes are described, I will use the 1m-10m mode, i.e.:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3309 aligncenter\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt84.png\" alt=\"\" width=\"85\" height=\"40\" \/><\/p>\r\n<p>And to put 5 minutes, I turn the wheel on 50%.<\/p>\r\n<h3>Connection of this equipment<\/h3>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3312 aligncenter\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/grt85.png\" alt=\"\" width=\"129\" height=\"127\" \/><\/p>\r\n<ul>\r\n<li><strong>Entrance<\/strong> : This module is powered by 220v between<strong> A1 and A2<\/strong> (or A3)<\/li>\r\n<li><strong>Exit<\/strong> : The normally closed will not paste the relay in 99% time, we'll use the terminals <strong>15 and 16<\/strong>.<\/li>\r\n<\/ul>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3314\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8.jpg 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-600x375.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-300x188.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\r\n<p>It is obviously the Phase wire that will be cut by the time relay, between terminals 15 and 16.<\/p>\r\n<h3>[OPTION] To relaunch the switch<\/h3>\r\n<p>After connecting the device shown above, I thought I had to put the Din timer in a box. All boxes are minimum for 2 DIN modules. On this occasion, I could add a small module that would allow me to make an OFF\/ON to relaunch the Switch POE if one of my cameras had to be relaunched, my doorman or any equipment powered by POE.<\/p>\r\n<h3>Material<\/h3>\r\n<p>I looked for equipment compatible with Zigbee2MQTT and well integrated, I ordered a <a href=\"https:\/\/s.click.aliexpress.com\/e\/_DEVsgnH\" target=\"_blank\" rel=\"noopener\">ATMS1602Z<\/a> which is sold under the name <a href=\"https:\/\/s.click.aliexpress.com\/e\/_DEVsgnH\" target=\"_blank\" rel=\"noopener\">Zigbee Smart Timer Meter<\/a>.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-3355\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z.jpg\" alt=\"\" width=\"508\" height=\"354\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z.jpg 1149w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z-600x418.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z-300x209.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z-1024x713.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z-768x535.jpg 768w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/p>\r\n<p>I do not specifically need the voltage measurement functionality, but this equipment works very well.<\/p>\r\n<ul>\r\n<li><a href=\"https:\/\/www.zigbee2mqtt.io\/devices\/TS011F_din_smart_relay.html#tuya-ts011f_din_smart_relay\" target=\"_blank\" rel=\"noopener\">Zigbee2MQTT plug<\/a><\/li>\r\n<\/ul>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3357\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_2.jpg\" alt=\"\" width=\"303\" height=\"263\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_2.jpg 303w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_2-300x260.jpg 300w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/p>\r\n<p>I ordered it at \u20ac27.10 including shipping, delivered in 10 days.<\/p>\r\n<p><a href=\"https:\/\/s.click.aliexpress.com\/e\/_DEVsgnH\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3359 size-full\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_3.jpg\" alt=\"\" width=\"348\" height=\"158\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_3.jpg 348w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_3-300x136.jpg 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/a><\/p>\r\n<h3>Operation of this equipment<\/h3>\r\n<p>I do not use a switch, I just use the equipment to do a remote OFF\/ON from Jeedom in a script.<\/p>\r\n<p>The connection is therefore very simple:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3362\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_2.png\" alt=\"\" width=\"135\" height=\"411\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_2.png 135w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/ATMS1602Z_2-99x300.png 99w\" sizes=\"auto, (max-width: 135px) 100vw, 135px\" \/><\/p>\r\n<h3>Connection of this equipment<\/h3>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3363\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-bis.jpg\" alt=\"\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-bis.jpg 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-bis-600x375.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-bis-300x188.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-bis-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\r\n<p>The diagram is very simple, it does not call for any particular remark.<\/p>\r\n<p><span style=\"text-decoration: underline;\">Note:<\/span> : it is always the phase that is cut, the connection of the Neutral can therefore be made either to the NOut terminal of the ATMS or to a N terminal of the circuit:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3364\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/GRT8-info.jpg\" alt=\"\" width=\"53\" height=\"120\" \/><\/p>\r\n<h3>Store everything in a DIN box<\/h3>\r\n<p>To make it cleaner, the whole thing ends up in a <a href=\"https:\/\/s.click.aliexpress.com\/e\/_DkZrXAf\" target=\"_blank\" rel=\"noopener\">DIN box<\/a> (7.12\u20ac)<\/p>\r\n<table style=\"border-collapse: collapse; width: 100%;\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 50%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3367\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175719_resized.jpg\" alt=\"\" width=\"756\" height=\"1008\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175719_resized.jpg 756w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175719_resized-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175719_resized-225x300.jpg 225w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/td>\r\n<td style=\"width: 50%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3369\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175708_resized.jpg\" alt=\"\" width=\"756\" height=\"1008\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175708_resized.jpg 756w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175708_resized-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/08\/20220918_175708_resized-225x300.jpg 225w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p>Yes, I know, ATMS is upside down, it's just that for the connections it was much simpler \ud83d\ude01\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>[and as an option, be able to relaunch your switch in zigbee] Background and objective I have a high-performance Synology 2600 router but it takes a few minutes to be fully operational on my local network. In the event of a general power outage (caused or suffered) when all equipment is re-energized at the same time, equipment that [...]<\/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,62],"class_list":["post-3305","post","type-post","status-publish","format-standard","hentry","category-domotique","tag-developpement","tag-switch"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3305","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=3305"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3305\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=3305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=3305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=3305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}