From 1ef1694d4907ad00a2d2f4f5d89b66a02931d6ab Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 2 Jun 2017 23:12:35 +0100 Subject: [PATCH] Updated @smadds hosting and added mqtt details --- Upgrade.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Upgrade.md b/Upgrade.md index 37faa60e..f493083d 100644 --- a/Upgrade.md +++ b/Upgrade.md @@ -10,9 +10,19 @@ This method is only available after the Sonoff-Tasmota firmware was flashed via Build the firmware binary from source or download the latest build from [the releases section](https://github.com/arendst/Sonoff-Tasmota/releases). There are a few ways to upgrade the firmware: 1. Use the "Upload Firmware" dialog on the Sonoff-Tasmota web interface to flash the downloaded or built `firmware.bin`. -2. [@smadds](https://github.com/arendst/Sonoff-Tasmota/issues/19) publicly provides an automatic build of the latest firmware on his web server. Enter the following URL on the Sonoff-Tasmota web interface *(An SSL/HTTPS connection to access the GitHub releases files directly is not supported)*: - * `http://sonoff.maddox.co.uk/tasmota/sonoff.ino.bin` ([Latest firmware release](http://sonoff.maddox.co.uk/tasmota/sonoff.ino.bin)) - * `http://sonoff.maddox.co.uk/tasmota/sonoff-minimal.ino.bin` ([Minimal firmware](http://sonoff.maddox.co.uk/tasmota/sonoff-minimal.ino.bin)) +2. [@smadds](https://github.com/arendst/Sonoff-Tasmota/issues/19) publicly provides a copy of each of the builds provided as part of a release. The standard build is now (from 5.1.4): + * `http://sonoff.maddox.co.uk/tasmota/sonoff.bin` ([Latest firmware release] +although he is also providing the same build as + * `http://sonoff.maddox.co.uk/tasmota/sonoff.ino.bin` +for compatibility with existing Sonoffs that have this stored as their OTA URL. + +A full list of available builds for the latest release can be found in [the releases section](https://github.com/arendst/Sonoff-Tasmota/releases). They are all available in the same folder in the format: + * `http://sonoff.maddox.co.uk/tasmota/BUILDNAME.bin` + +The reason for this secondary hosting of the files is because Github will only serve files over HTTPS, which is not supported by the standard Tasmota software.(An SSL/HTTPS connection to access the GitHub releases files directly is not supported + +(@smadds also publishes the latest released version number to a publicly available MQTT server which may be subscribed to at sonoff.maddox.co.uk:1883 with the topic sonoff-version. No authentication needed.) + 3. Provide the binary on a web server and initiate the upgrade via the [`upgrade` command](https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#management). 4. If you're using [openHAB2](http://www.openhab.org/), you can use an automation rule to upgrade your Sonoffs from within your home automation: [openHAB Maintenance](https://github.com/arendst/Sonoff-Tasmota/wiki/openHAB#maintenance-actions)