{"id":1388,"date":"2018-06-13T16:37:43","date_gmt":"2018-06-13T21:37:43","guid":{"rendered":"https:\/\/gr8n8tr0n.wordpress.com\/?p=1388"},"modified":"2018-06-13T16:37:43","modified_gmt":"2018-06-13T21:37:43","slug":"how-to-connect-your-2-4-ghz-smart-devices-to-a-tp-link-deco-m5-mesh-network","status":"publish","type":"post","link":"http:\/\/blog.virtualnate.net\/wordpress\/2018\/06\/13\/how-to-connect-your-2-4-ghz-smart-devices-to-a-tp-link-deco-m5-mesh-network\/","title":{"rendered":"How to connect your 2.4 Ghz smart devices to a TP Link Deco M5 Mesh network"},"content":{"rendered":"<p>I decided to write this article due to the experience I had around upgrading my home wifi to a newer mesh setup.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1389 alignleft\" src=\"http:\/\/192.168.0.2\/wordpress\/wp-content\/uploads\/2018\/06\/tp-linkdeco-ac1300-500x500-1.jpg\" alt=\"-tp-linkdeco-ac1300-500x500\" width=\"256\" height=\"256\" srcset=\"http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp-linkdeco-ac1300-500x500-1.jpg 500w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp-linkdeco-ac1300-500x500-1-300x300.jpg 300w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp-linkdeco-ac1300-500x500-1-150x150.jpg 150w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp-linkdeco-ac1300-500x500-1-200x200.jpg 200w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/p>\n<p>I chose the <a href=\"https:\/\/www.tp-link.com\/us\/products\/details\/cat-5700_Deco-M5.html\" target=\"_blank\" rel=\"noopener\">TP Link Deco M5<\/a>\u00a0system for three reasons: cost, internet backhaul over ethernet, mobile device management.<\/p>\n<p>The challenge I ran into was around some smart home devices not being able to connect to my new WiFi network due to the way the app and device pairing steps require both devices to be connected to a 2.4 Ghz WiFi network.\u00a0 I have an iPhone X and it tends to connect to the 5Ghz band now that I have WiFi all over the house.\u00a0 Thanks to the great support staff at TP Link, I was able to use this process to change the firmware on my device that allows a little more management capabilities to turn dials on and off to allow me to make some progress on smart home connectivity. <!--more--> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1390\" src=\"http:\/\/192.168.0.2\/wordpress\/wp-content\/uploads\/2018\/06\/tp_link_mesh_network_4.jpg\" alt=\"tp_link_mesh_network_4\" width=\"960\" height=\"540\" srcset=\"http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp_link_mesh_network_4.jpg 960w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp_link_mesh_network_4-300x169.jpg 300w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp_link_mesh_network_4-768x432.jpg 768w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp_link_mesh_network_4-520x293.jpg 520w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/tp_link_mesh_network_4-800x450.jpg 800w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/>The Deco M5 comes with 3 units with the package I ordered from Amazon for around $230.\u00a0 Overall, the connectivity in my house, all the way into the back yard now is good enough to use the WiFi calling features on my cellphone, so I&#8217;ve been pretty happy thus far.\u00a0 The added features of QOS and built in Anti-virus and parental controls (comes in handy with kids who are gamers from hitting the wrong sites) made my choice pretty easy with the exception of getting my home smart devices reconnected.<\/p>\n<p>Let&#8217;s get to the details, I purchased a set of <a href=\"https:\/\/www.amazon.com\/WiZ-connected-Dimmable-million-Compatible\/dp\/B074N6M317\/ref=sr_1_2?ie=UTF8&amp;qid=1528922979&amp;sr=8-2&amp;keywords=wiz+color+LED+lights\">Wiz Color LED<\/a> bulbs from Costco for a steal at $25 and didn&#8217;t want to just not use them anymore.\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-1392\" src=\"http:\/\/192.168.0.2\/wordpress\/wp-content\/uploads\/2018\/06\/screen-shot-2018-06-13-at-3-52-33-pm.png?w=456\" alt=\"Screen Shot 2018-06-13 at 3.52.33 PM\" width=\"228\" height=\"300\" srcset=\"http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/screen-shot-2018-06-13-at-3-52-33-pm.png 608w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/screen-shot-2018-06-13-at-3-52-33-pm-228x300.png 228w\" sizes=\"auto, (max-width: 228px) 100vw, 228px\" \/>They come in handy during the holidays when I ask Alexa to turn the Christmas lights on and off with colored themes inside.\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-1393 alignleft\" src=\"http:\/\/192.168.0.2\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229.jpg?w=278\" alt=\"IMG_0229\" width=\"139\" height=\"300\" srcset=\"http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229.jpg 1125w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229-139x300.jpg 139w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229-473x1024.jpg 473w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229-768x1663.jpg 768w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229-709x1536.jpg 709w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229-946x2048.jpg 946w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0229-800x1732.jpg 800w\" sizes=\"auto, (max-width: 139px) 100vw, 139px\" \/>Pairing the lights requires your phone to have bluetooth enabled and connected 2.4 Ghz Wifi.\u00a0 They were paired and working prior to me ripping and replacing my home wifi with the new Deco M5 setup so I needed to figure out a way to get these paired and working again (because my wife actually likes these smart devices).\u00a0 They have 16 million color combinations to choose from, way overkill for my needs and can work with the basic color combinations and holiday color pallette<\/p>\n<p>Now, how to actually get the Deco M5 to only broadcast on 2.4 Ghz wifi.\u00a0 Although the Deco only has a mobile app to manage, I do kind of miss my older Web interface to my older wifi router to configure things so I was struggling with how to get this to work.\u00a0 Come to find out that our TP Link Support people have great instructions they&#8217;re more than happy to share on how to access the device with telnet and\/or SSH.<\/p>\n<p><b>Step 1<\/b><\/p>\n<p>Connect a Windows computer to the Deco network wired or wirelessly. Then download the <strong>beta<\/strong> firmware from the link below:<\/p>\n<p><a href=\"http:\/\/support.tp-link.com\/f\/e727490665\/?dl=1\">http:\/\/support.tp-link.com\/f\/e727490665\/?dl=1<\/a><\/p>\n<p>After dowloading the file, extract the zip file to a folder on the Desktop of the PC.<\/p>\n<p><b>Step 2<\/b><\/p>\n<p>Open <b>Command Prompt<\/b> on the PC. (not to hard so far)<\/p>\n<p><b>Step 3<\/b><\/p>\n<p>Copy and paste the following command in the pop-up windows and press <b>Enter<\/b> key to execute the command line:<\/p>\n<p><b>for \/l %a in (1,1,254) do @start \/b ping 192.168.0.%a -w 100 -n 1 &gt;nul<\/b><\/p>\n<p>Note: Here 192.168.0. is the IP range of your Deco network. That&#8217;s the default IP range for the Deco.\u00a0 This is an interesting ping command to pull only active devices on the network, more importantly, to help identify all the Deco devices that aren&#8217;t the main unit which uses your default gateway address of 192.168.0.1 After that, just type in the following command and press <b>Enter<\/b> key to execute again:<\/p>\n<p><b>arp -a<\/b><\/p>\n<p>You will find a list of Internet Address &amp; Physical Address. Please find the physical addresses that matched with your Decos. You can login the Deco app, tap <b>Internet<\/b> and tap every single Deco unit and you will find their physical addresses.<\/p>\n<p>Then write down the internet addresses of the Decos. There should be three, Main Unit 192.168.0.1, mesh extension units 192.168.0.X, 192.168.0.Y.<\/p>\n<p><b>Step 4<\/b><\/p>\n<p>Open the unzipped folder, click the address bar and copy the path.<\/p>\n<p>Here the path is: <b>C:\\Users\\myusername\\Desktop\\Deco M5<\/b><\/p>\n<p>Go back to Command Prompt box, then type in \u201ccd\u201d, enter a space, and then paste the path. For example:<\/p>\n<p><b>cd C:\\Users\\myusername\\Desktop\\Deco M5<\/b><\/p>\n<p>Then press <b>Enter<\/b> to execute the command.<\/p>\n<p><b>Step 5<\/b><\/p>\n<p><b>Note: 192.168.0.X &amp; 192.168.0.Y means the IP address of the Deco units that we check in Step 3. For example, 192.168.0.100, 192.168.0.101, etc.\u00a0 The tricky part here was matching up the IP addresses with the mac addresses in my setup.\u00a0 The Deco mobile app will list the mac addresses for each device to make it easier to match up.<img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-1394\" src=\"http:\/\/192.168.0.2\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231.jpg?w=278\" alt=\"IMG_0231\" width=\"139\" height=\"300\" srcset=\"http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231.jpg 1125w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231-139x300.jpg 139w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231-473x1024.jpg 473w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231-768x1663.jpg 768w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231-709x1536.jpg 709w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231-946x2048.jpg 946w, http:\/\/blog.virtualnate.net\/wordpress\/wp-content\/uploads\/2018\/06\/img_0231-800x1732.jpg 800w\" sizes=\"auto, (max-width: 139px) 100vw, 139px\" \/><\/b><\/p>\n<p><b>If you have more than 3 Deco units, you need to find out the IP address of each unit and upgrade them one by one as well. The main Deco usually has an IP address of 192.168.0.1, just leave it as the last one to upgrade the firmware.<\/b><\/p>\n<p>Copy and paste the following command:<\/p>\n<p><b>tmp-upgrade.exe -u 192.168.0.X -U <a href=\"mailto:myusername@mytplinkaccount.com\">myusername@mytplinkaccount.com<\/a> -P mytplinkaccountpassword\u00a0m5_beta_180525.bin<\/b><\/p>\n<p>Here please replace TP-Link ID with your registered email address, replace password with your password set to login the Deco app.<\/p>\n<p>&nbsp;<\/p>\n<p>After that, press <b>Enter<\/b> to execute the command. The command prompt box will reply with \u201c<b>Error code=0<\/b>\u201d if the upgrade process goes smoothly.<\/p>\n<p>Then copy and paste another command:<\/p>\n<p><b>tmp-upgrade.exe -u 192.168.0.Y -U TP-Link ID -P password m5_beta_180525.bin<\/b><\/p>\n<p>Wait until it replies an \u201c<b>Error code = 0<\/b>\u201d, then paste the last command:<\/p>\n<p><b>tmp-upgrade.exe -u 192.168.0.1 -U TP-Link ID -P password m5_beta_180525.bin<\/b><\/p>\n<p>Wait until it replies an \u201c<b>Error code = 0<\/b>\u201d<\/p>\n<p>The LED on the Decos will become pulsing blue and green which indicates that it has begun the update process. Just wait for about 2 minutes until the LED recovers to solid green.<\/p>\n<p><b>Step 6<\/b><\/p>\n<p>After that, please login the Deco app, tap Internet and tap every single Deco unit and check if the firmware version has been successfully updated.\u00a0 The mobile app will show the full firmware version now installed at the bottom (see screenshot above around mac address resolution)<\/p>\n<p><b>Step 7<\/b><\/p>\n<ol>\n<li>Enable Telnet Client feature on the Windows computer at first.<\/li>\n<li>How to: <a href=\"https:\/\/techhelpkb.com\/enable-telnet-in-windows\/\">https:\/\/techhelpkb.com\/enable-telnet-in-windows\/<\/a><\/li>\n<li>Tap the <b>Start<\/b> menu on the Desktop, type in \u201c<b>cmd<\/b>\u201d in the search bar, then launch \u201c<b>Command Prompt<\/b>\u201d. A black window will pop up.<\/li>\n<li>In the black window, type in the following command line:\n<ul>\n<li>telnet 192.168.0.1<\/li>\n<li>ifconfig<\/li>\n<\/ul>\n<\/li>\n<li>Ifconfig will help list out the features enabled on the Deco<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type:none;\">\n<ul>\n<li>Look for the multiple wifi interfaces.\u00a0 There should be two<\/li>\n<li>wifi0 and wifi1, one of them is the 5 Ghz antenna and the other is the 2.4 Ghz, you\u2019ll have to enable, disable each one to determine which is broadcasting on the 5Ghz channel.\u00a0 Once you\u2019ve determined which is which, leave the 5Ghz antenna down, using the command\n<ul>\n<li>&#8216;ifconfig wifiX down&#8217; or &#8216;ifconfig wifiX up&#8217; to enable disable the wifi antenna<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>Then connect your phone to Deco\u2019s wifi network again, it should connect to the 2.4GHz wifi at this time. Then please configure and add your smart devices to the Deco network.<\/p>\n<p>After that, simply reboot the Deco system to get the 5GHz wifi back.<\/p>\n<p><b>Step 8<\/b><\/p>\n<p>If you want to revert the firmware back to the stock one, please download the stock firmware from the official website (171103 version, ignore the EU mark as the firmware is suitable for US as well):<\/p>\n<p><a href=\"https:\/\/www.tp-link.com\/en\/download\/Deco-M5_V1.html#Firmware\">https:\/\/www.tp-link.com\/en\/download\/Deco-M5_V1.html#Firmware<\/a><\/p>\n<p>Extract the zip file and put its bin file to the Deco M5 folder (the beta file I sent before). Change the name of the stock bin file from \u201c<b>M5_v1_v2_en_1.1.6 Build 20171103 rel. 47257_US_EU_AU_CA_JP_up.bin<\/b>\u201d to a simpler one such as \u201c<b>officlal.bin<\/b>\u201d.<\/p>\n<p>Then repeat the steps in steps 1-5 above\u00a0and remember to replace the bin file name with \u201c<b>official.bin<\/b>\u201d during the upgrade.<\/p>\n<p>For example, \u201c<b>tmp-upgrade.exe -u 192.168.0.X -U<\/b> <b><a href=\"mailto:myusername@mytplinkaccount.com\">myusername@mytplinkaccount.com<\/a><\/b> <b>-P mytplinkaccountpassword official.bin<\/b>\u201d<\/p>\n<p>&nbsp;<\/p>\n<p>So that&#8217;s it, all smart devices are now connected to the new wifi mesh setup in the house and thanks to the great support team at TP Link, I don&#8217;t have to invest in a new pair of smart light bulbs and I learned something new on a piece of technology in my home that makes me feel better or more in control on the management components of the Deco M5 system.\u00a0 If you&#8217;re interested, and this may be a follow up blog article as I contemplate third party firmware, the TP Link Deco M5 does work with OpenWRT and information can be found <a href=\"https:\/\/wikidevi.com\/wiki\/TP-LINK_Deco_M5\" target=\"_blank\" rel=\"noopener\">here<\/a>.\u00a0 Hopefully you find this valuable and for those in the same situation I found myself in, provides an easy to follow way to get you connected again.<\/p>\n<p>&nbsp;<\/p>\n<p>Update as of January 2019.\u00a0 My Deco M5 mesh network latest firmware v1.2.4 includes 2.4 and 5Ghz networks that can be created separately and also enabled\/disabled separately for home and guest networks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I decided to write this article due to the experience I had around upgrading my home&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[20,50,72],"class_list":["post-1388","post","type-post","status-publish","format-standard","hentry","category-technology","tag-deco","tag-tp-link","tag-wifi"],"_links":{"self":[{"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/posts\/1388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/comments?post=1388"}],"version-history":[{"count":0,"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/posts\/1388\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/media?parent=1388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/categories?post=1388"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.virtualnate.net\/wordpress\/wp-json\/wp\/v2\/tags?post=1388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}