mirror of https://github.com/arendst/Tasmota.git
forgot device button
parent
9bded8f87c
commit
c95ef1d49a
36
Upgrading.md
36
Upgrading.md
|
@ -23,21 +23,6 @@ If you wish to switch to a different [build](Builds) you have to change Ota Url
|
|||
It is also possible to create your own http OTA server (https is not supported) and perform upgrades from there.
|
||||
Guide to setting up a [**Python HTTP OTA server**](Python-HTTP-OTA-Server).
|
||||
|
||||
### OTA upgrade using commands
|
||||
Your device can be upgraded using [commands](Commands) via MQTT, web requests or Console in the Web UI.
|
||||
|
||||
[OtaUrl](Commands#OtaUrl) is used to set your OTA address.
|
||||
```lua
|
||||
otaurl http://thehackbox.org/tasmota/020500/sonoff-sensors.bin
|
||||
```
|
||||
*In this example we chose a development branch version with additional sensors support based on a 2.5 core*
|
||||
|
||||
Initiate [upgrade](Commands#upgrade) from OTA server
|
||||
```lua
|
||||
upgrade 1
|
||||
```
|
||||
Wait for the upgrade process to complete and check the Tasmota version. If in console you can use `status 2`.
|
||||
|
||||
## Upgrade by file upload
|
||||
This process requires you to have a minimal build ([sonoff-minimal.bin](http://thehackbox.org/tasmota/release/sonoff-minimal.bin)) of the firmware since the upload process needs the space in flash memory to upload the new binary.
|
||||
|
||||
|
@ -58,14 +43,31 @@ Go to **Firmware Upgrade** again. This time browse to the binary you want to upg
|
|||
![image](https://user-images.githubusercontent.com/5904370/55827836-68a62e80-5b0b-11e9-830b-9240d83ba11e.png)
|
||||
|
||||
You will see an **Upload starting...** and then **Upload successful** message. Wait until the device restarts, reconnect back to the Web UI and check the firmware version on the bottom of the page.
|
||||
## OTA upgrade using commands
|
||||
Your device can be upgraded using [commands](Commands) via MQTT, web requests or Console in the Web UI.
|
||||
|
||||
[OtaUrl](Commands#OtaUrl) is used to set your OTA address.
|
||||
```lua
|
||||
otaurl http://thehackbox.org/tasmota/020500/sonoff-sensors.bin
|
||||
```
|
||||
*In this example we chose a development branch version with additional sensors support based on a 2.5 core*
|
||||
|
||||
Initiate [upgrade](Commands#upgrade) from OTA server
|
||||
```lua
|
||||
upgrade 1
|
||||
```
|
||||
Wait for the upgrade process to complete and check the Tasmota version. If in console you can use `status 2`.
|
||||
|
||||
## OTA upgrade using on-device button
|
||||
Devices with a built in button (the one used to put your device into [flash mode](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation#bringing-the-module-in-flash-mode)) can initiate OTA upgrade with it.
|
||||
|
||||
7 short presses of the button will start OTA download of firmware using the Ota Url. Device LED is lit during the update.
|
||||
|
||||
# Serial upgrade
|
||||
Upgrade over the serial connection using serial-to-USB adapter.
|
||||
|
||||
Upload the new version over serial using the same process as in [Flashing](Flashing) but DO NOT erase flash. The new binary will flash over the old one and keep all your settings intact.
|
||||
|
||||
|
||||
|
||||
# External programs
|
||||
[**Tasmota Device Manager**](https://github.com/jziolkowski/tdm) or TDM is a multiplatform GUI application written in Python for discovery and management of Tasmota devices.
|
||||
You can set up OTA url and initiate OTA upgrade from TDM using GUI.
|
||||
|
|
Loading…
Reference in New Issue