Tasmota - keep settings after a reboot

 I am using Tasmota Blutooth Gateway to collect information from my bluetooth Xiaomi Thermometer (Amazon link), and everything was find until I added my third one, which caused the MQTT Topic to split in two. This then caused problems with nodered and Home Assistant.

Setting 'MI32Option6 2' will create a /tele/tasmota_ble topic which will have an an entry for each thermometer. 


The problem is that per default the settings, like MI32Option6 will not be kept after a reboot. 

For that to happen, one have to do the following:

  1. Create an file: autoexec.bat (Consoles -> Manage File system -> Create and edit new file)
  2. Add the setting to the file: "MI32Option6 2"
  3. Save the file.
  4. Restart the device.

Verify the setting in the 'consoles' by typing 'mi32option6 <enter>', it should show:

MQT: stat/tasmota_XXXXXX/RESULT = {"MI32Option6":2}

Happy hacking.


Popular posts from this blog

Kviknet and IPv6

Apple AirPort Express and Digital Jitter..

MacOS: Disable start of xterm when starting XQuartz