[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"post-L2tiLzIwMjUtMDktMjUvc3dhcHBpbmctYmV0d2Vlbi10YXNtb3RhLWFuZC1lc3Bob21l":3,"post-ears-L2tiLzIwMjUtMDktMjUvc3dhcHBpbmctYmV0d2Vlbi10YXNtb3RhLWFuZC1lc3Bob21l":266,"ProductCard_S9BjwBKfSyFOQFT05qu8GByd5D0U4fxMTjZeZSUXc":288,"ProductCard_QrOad53xvspQEJYq7n2a2zrV62G6Q3uckYLP26PXQ":295,"ProductCard_1mFpeke8aTtY11mDPZOHE3bFBf6hlMAvJ8NrHISqJY":302},{"id":4,"title":5,"author":6,"body":7,"createdAt":246,"description":247,"extension":248,"forumId":249,"headerAlt":250,"headerImg":251,"meta":252,"navigation":253,"path":254,"productLinks":255,"readingTime":256,"seo":257,"stem":258,"tags":259,"updatedAt":263,"youtube":264,"__hash__":265},"kb\u002Fkb\u002F2025-09-25_swapping-between-tasmota-and-esphome.md","Swapping Between Tasmota and ESPHome","Adam Allport",{"type":8,"value":9,"toc":239},"minimark",[10,30,33,51,54,68,76,81,89,92,96,159,162,166,236],[11,12,14],"alert",{"variant":13},"note",[15,16,17,18,25,26,29],"p",{},"Do not use this guide with the\nnewer ",[19,20,24],"a",{"href":21,"rel":22},"https:\u002F\u002Fwww.mylocalbytes.com\u002Fproducts\u002Fsmart-plug-pm?option_values=11757656834427",[23],"nofollow","[Smart Plug \u002F Plug32]",".",[27,28],"br",{},"\nThe ESP32 platform requires additional steps not covered in this guide.",[15,31,32],{},"This guide is relevant for:",[34,35,36,44],"ul",{},[37,38,39],"li",{},[19,40,43],{"href":41,"rel":42},"https:\u002F\u002Fwww.mylocalbytes.com\u002Fproducts\u002Fsmart-plug-pm?option_values=11755420713339",[23],"[LocalBytes \u002F Smart Plug \u002F Original]",[37,45,46],{},[19,47,50],{"href":48,"rel":49},"https:\u002F\u002Fwww.mylocalbytes.com\u002Fproducts\u002Fsmart-bulb-9w-rgbct",[23],"[LocalBytes \u002F Smart Bulb]",[15,52,53],{},"If you're setting up a device for the first time rather than swapping, see our dedicated guides instead:",[34,55,56,62],{},[37,57,58],{},[19,59,61],{"href":60},"\u002Fkb\u002F2022-10-01\u002Fgetting-started-with-tasmota","[LocalBytes Blog \u002F Getting Started \u002F Tasmota]",[37,63,64,25],{},[19,65,67],{"href":66},"\u002Fkb\u002F2023-11-09\u002Fgetting-started-with-esphome","[LocalBytes Blog \u002F Getting Started \u002F ESPHome]",[15,69,70,71,75],{},"Changing between Tasmota and ESPHome will reset the device to factory defaults.\nFor power monitoring devices, you may need to recalibrate the device to ensure correct readings. Our\n",[19,72,74],{"href":73},"\u002Ftools\u002Ftasmota-calibration","[LocalBytes Tools \u002F Tasmota Power Monitoring Calibration]"," tool can help with this.",[77,78,80],"h2",{"id":79},"which-should-i-pick","Which should I pick?",[15,82,83,84,88],{},"Tasmota uses MQTT to communicate, which requires a broker to connect it to Home Assistant. ESPHome connects to\nHome Assistant directly, with no broker required. See\n",[19,85,87],{"href":86},"\u002Fposts\u002F2024-03-18\u002Fstarting-a-modern-smarthome","[LocalBytes Blog \u002F Starting a Modern Smart Home]"," for more on MQTT.",[15,90,91],{},"None of our devices are locked to the firmware they ship with. Any device can be flashed with either firmware and\nswapped back again at any point.",[77,93,95],{"id":94},"tasmota-to-esphome","Tasmota to ESPHome",[97,98,99,120,144,147,153],"ol",{},[37,100,101,102,106,107,110,111],{},"Download ",[103,104,105],"code",{},"minimal.ota.bin.gz"," and ",[103,108,109],{},"[device].ota.bin.gz"," for your device:\n",[34,112,113],{},[37,114,115],{},[19,116,119],{"href":117,"rel":118},"https:\u002F\u002Fgithub.com\u002FLocalBytes\u002Fesphome-localbytes-plug\u002Freleases",[23],"[LocalBytes GitHub \u002F ESPHome Plug \u002F Releases]",[37,121,122,123],{},"Navigate to your device.\n",[34,124,125],{},[37,126,127,128],{},"Via Home Assistant:\n",[97,129,130,138,141],{},[37,131,132,133],{},"Go to ",[19,134,137],{"href":135,"rel":136},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fintegrations\u002F",[23],"[HA Settings \u002F Devices & Integrations]",[37,139,140],{},"Find the device you wish to reflash",[37,142,143],{},"Click \"Visit\".",[37,145,146],{},"Click \"Firmware Update\"",[37,148,149,150,152],{},"Upload the ",[103,151,105],{}," file. The device will reboot and launch a captive portal.",[37,154,155,156,158],{},"After reconnecting the device, upload ",[103,157,109],{}," to complete the firmware change.",[15,160,161],{},"From here, set it up as you would any other ESPHome device.\nWe recommend using the ESPHome Device Builder App and clicking \"Take Control\".\nThis will guide you through recompiling and reuploading the latest version of ESPHome.",[77,163,165],{"id":164},"esphome-to-tasmota","ESPHome to Tasmota",[97,167,168,175,192,208,225],{},[37,169,101,170,25],{},[19,171,174],{"href":172,"rel":173},"http:\u002F\u002Fota.tasmota.com\u002Ftasmota\u002Ftasmota-lite.bin.gz",[23],"[Tasmota OTA \u002F Release \u002F tasmota-lite.bin.gz]",[37,176,122,177],{},[34,178,179],{},[37,180,127,181],{},[97,182,183,188,190],{},[37,184,132,185],{},[19,186,137],{"href":135,"rel":187},[23],[37,189,140],{},[37,191,143],{},[37,193,194,195,198,199],{},"Upload ",[103,196,197],{},"tasmota-lite.bin.gz"," via the web-server. The device will reboot and launch a captive portal.\n",[34,200,201],{},[37,202,203,204,207],{},"If you cannot find the \"Firmware Update\" button, add ",[103,205,206],{},"web_server:"," to your YAML configuration.",[37,209,210,211],{},"After reconnecting the device, you should self-update to the latest full release.\n",[97,212,213,216,222],{},[37,214,215],{},"Click \"Firmware Update\".",[37,217,218,219],{},"Set the OTA URL to: ",[103,220,221],{},"http:\u002F\u002Fota.tasmota.com\u002Ftasmota\u002Ftasmota.bin.gz",[37,223,224],{},"The device will reboot a few times and come up on the latest full release.",[37,226,227,228],{},"Navigate to Configuration, Configure Other, and apply the template found in the relevant documentation:\n",[34,229,230],{},[37,231,232],{},[19,233,235],{"href":234},"\u002Fkb\u002F2023-02-01\u002Frefs-wifi-smart-plug","[LocalBytes Blog \u002F KB \u002F Refs: WiFi Smart Plug]",[15,237,238],{},"The device will reboot once more and come back configured as a LocalBytes device, ready to set up like any other\nTasmota device.",{"title":240,"searchDepth":241,"depth":241,"links":242},"",2,[243,244,245],{"id":79,"depth":241,"text":80},{"id":94,"depth":241,"text":95},{"id":164,"depth":241,"text":165},"2025-09-25","How to swap your LocalBytes device between Tasmota and ESPHome firmware, and back again","md",null,"LocalBytes device with Tasmota and ESPHome logos either side","kb\u002F2025-09-25_firmware-swap.header.jpg",{"date":246},true,"\u002Fkb\u002F2025-09-25\u002Fswapping-between-tasmota-and-esphome",[21,41,48],3,{"title":5,"description":247},"kb\u002F2025-09-25_swapping-between-tasmota-and-esphome",[260,261,262],"Home Assistant","Tasmota","ESPHome","2026-09-20","Okx1MKVfGlM","soQs2N6moLy0OWivEybN-inA59Bn0fSLna_S8_qDKyA",{"before":267,"after":268},[],[269,278],{"title":270,"path":271,"stem":272,"id":273,"createdAt":274,"updatedAt":274,"headerImg":275,"headerAlt":276,"description":277,"children":-1},"Getting Started with your new LocalDeck","\u002Fkb\u002F2024-06-01\u002Fgetting-started-with-localdeck","kb\u002F2024-06-01_getting-started-with-localdeck","kb\u002Fkb\u002F2024-06-01_getting-started-with-localdeck.md","2024-06-01","kb\u002F2024-06-01_localdeck.header.jpg","LocalDeck Devices","How to get your new LocalDeck up and running",{"title":279,"path":280,"stem":281,"id":282,"createdAt":283,"updatedAt":284,"headerImg":285,"headerAlt":286,"description":287,"children":-1},"Refs - LocalDeck","\u002Fkb\u002F2024-04-01\u002Frefs-localdeck","kb\u002F2024-04-01_refs-localdeck","kb\u002Fkb\u002F2024-04-01_refs-localdeck.md","2024-04-01","2024-07-24","kb\u002F2024-04-01_refs-localdeck.header.png","LocalBytes Smart Bulb","This document should be your reference for anything regarding the LocalBytes LocalDeck. It will be updated whenever there are any changes to the deck that need to be communicated. Please note that guides will not be written in this document but in other articles and links.",["Island",289],{"key":290,"params":291,"result":293},"ProductCard_S9BjwBKfSyFOQFT05qu8GByd5D0U4fxMTjZeZSUXc",{"props":292},"{\"product-url\":\"https:\u002F\u002Fwww.mylocalbytes.com\u002Fproducts\u002Fsmart-plug-pm?option_values=11757656834427\",\"class\":\"max-w-full my-1\"}",{"head":294},{},["Island",296],{"key":297,"params":298,"result":300},"ProductCard_QrOad53xvspQEJYq7n2a2zrV62G6Q3uckYLP26PXQ",{"props":299},"{\"product-url\":\"https:\u002F\u002Fwww.mylocalbytes.com\u002Fproducts\u002Fsmart-bulb-9w-rgbct\",\"class\":\"max-w-full my-1\"}",{"head":301},{},["Island",303],{"key":304,"params":305,"result":307},"ProductCard_1mFpeke8aTtY11mDPZOHE3bFBf6hlMAvJ8NrHISqJY",{"props":306},"{\"product-url\":\"https:\u002F\u002Fwww.mylocalbytes.com\u002Fproducts\u002Fsmart-plug-pm?option_values=11755420713339\",\"class\":\"max-w-full my-1\"}",{"head":308},{}]