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:
- Create an file: autoexec.bat (Consoles -> Manage File system -> Create and edit new file)
- Add the setting to the file: "MI32Option6 2"
- Save the file.
- 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.
Comments