{"id":2010,"date":"2023-02-06T20:17:27","date_gmt":"2023-02-07T02:17:27","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=2010"},"modified":"2023-02-12T08:35:48","modified_gmt":"2023-02-12T14:35:48","slug":"tasmoadmin-and-updating-cloudfree-smart-plugs","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=2010","title":{"rendered":"TasmoAdmin and Updating CloudFree Smart Plugs"},"content":{"rendered":"\n<p>I have a number of Tasmota powered CloudFree smart plugs in my house. They&#8217;ve been working great for years now, however since they are Wi-Fi, I wanted some way to be able to update them quickly (not having to log into each of them myself and install updates). I ended up on the TasmoAdmin addon for home assistant which provides the ability to update devices in bulk.<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"290\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-13.png\" alt=\"\" class=\"wp-image-2039\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-13.png 790w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-13-300x110.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-13-768x282.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">A Word of Warning from the Tasmota Project<\/figcaption><\/figure>\n\n\n\n<p>Lets start off with the warning from the Tasmota project. Don&#8217;t fix what isn&#8217;t broken. In this case, I have no reason (bug, feature, etc) pushing me to update the systems, however I prefer to keep things up to date for security (despite these devices being on a VLAN without internet access).<\/p>\n\n\n\n<p>I started off with reading the wiki page on updating the Tasmota devices.<\/p>\n\n\n\n<p><a href=\"https:\/\/tasmota.github.io\/docs\/Upgrading\/\">https:\/\/tasmota.github.io\/docs\/Upgrading\/<\/a><\/p>\n\n\n\n<p>Starting out, my devices were on a few different versions of Tasmota. I wanted to upgrade everything to the latest and get them all synchronized to one version.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"127\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-5-1024x127.png\" alt=\"\" class=\"wp-image-2013\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-5-1024x127.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-5-300x37.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-5-768x95.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-5.png 1028w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Some updated, some out of date<\/figcaption><\/figure>\n\n\n\n<p>I started out by backing up all of the device configurations in the case that I need to restore things from a botched upgrade. This required me to log into each webui and export the backups from each of them. This would at least get me back to my current configuration in case everything went sideways.<\/p>\n\n\n\n<p>Using TasmoAdmin, I selected all the devices and started the upgrade. TasmoAdmin provides the ability to mass update easily enough (or so I thought).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-3-1024x475.png\" alt=\"\" class=\"wp-image-2011\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-3-1024x475.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-3-300x139.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-3-768x356.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-3.png 1061w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Update Running on 5 Devices<\/figcaption><\/figure>\n\n\n\n<p>After all the upgrades were done, I was able to see the newly installed versions via TasmoAdmin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"113\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-4-1024x113.png\" alt=\"\" class=\"wp-image-2012\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-4-1024x113.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-4-300x33.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-4-768x85.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-4.png 1191w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Updates in Progress from the List View<\/figcaption><\/figure>\n\n\n\n<p>All but one of my devices upgraded successfully except for one of them. One device didn&#8217;t upgrade and ended up on some type of minimal install instead of a full Tasmota installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fixing the Failure<\/h2>\n\n\n\n<p>So I started by logging into the webui of the affected smart plug. From there I learned that a minimal firmware was installed during the upgrade.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"356\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-6-1024x356.png\" alt=\"\" class=\"wp-image-2014\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-6-1024x356.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-6-300x104.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-6-768x267.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-6.png 1135w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Somehow got a Minimal Firmware Installed?<\/figcaption><\/figure>\n\n\n\n<p>With the minimal firmware installed, TasmoAdmin and Home Assistant couldn&#8217;t see or interact with the plug. They can see the on\/off status, but not modify it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-7-1024x212.png\" alt=\"\" class=\"wp-image-2015\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-7-1024x212.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-7-300x62.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-7-768x159.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-7.png 1154w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Plug doesn&#8217;t show Anything in TasmoAdmin<\/figcaption><\/figure>\n\n\n\n<p>To get to a full featured firmware, I downloaded a <a rel=\"noreferrer noopener\" href=\"http:\/\/ota.tasmota.com\/tasmota\/release\/\" target=\"_blank\">firmware version from here<\/a>. I went through the manual firmware installation process in order to get off of the minimal firmware.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"426\" height=\"573\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-8.png\" alt=\"\" class=\"wp-image-2016\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-8.png 426w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-8-223x300.png 223w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><figcaption class=\"wp-element-caption\">OTA Upgrade by File<\/figcaption><\/figure>\n<\/div>\n\n\n<p>That ended up fixing our problem plug and restored the capability of modifying it&#8217;s on\/off status remotely. I even managed to get away with not restoring the backup of that plug, it kept my configuration through the minimal and file based OTA upgrades.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-9.png\" alt=\"\" class=\"wp-image-2018\" width=\"137\" height=\"407\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-9.png 137w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/06\/image-9-101x300.png 101w\" sizes=\"auto, (max-width: 137px) 100vw, 137px\" \/><figcaption class=\"wp-element-caption\">Satisfying<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>This worked out well for me to update all my switches in batch to try and get things as up to date as possible for security. I keep them all on  a VLAN without Internet access for additional security as well. While there weren&#8217;t any major feature additions that I would make use of, and some risk encountered in the update process, so I won&#8217;t be using it for every version released, but I will be keeping up with the updates. This even worked with both gen1 and 2 Cloud free smart plugs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a number of Tasmota powered CloudFree smart plugs in my house. They&#8217;ve been working great for years now, however since they are Wi-Fi, I wanted some way to be able to update them quickly (not having to log into each of them myself and install updates). I ended up on the TasmoAdmin addon &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=2010\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TasmoAdmin and Updating CloudFree Smart Plugs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[78,39,49,79],"class_list":["post-2010","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-cloudfree","tag-home-assistant","tag-smart-home","tag-tasmota"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/2010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2010"}],"version-history":[{"count":14,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/2010\/revisions"}],"predecessor-version":[{"id":2637,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/2010\/revisions\/2637"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}