From fc32debe0678b4d6399d158efdb8f0ed2cb680cc Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 25 May 2020 22:42:07 +0200 Subject: [PATCH 1/7] Build only when push --- .github/workflows/Tasmota_build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/Tasmota_build.yml b/.github/workflows/Tasmota_build.yml index 899784a28..66db1d377 100644 --- a/.github/workflows/Tasmota_build.yml +++ b/.github/workflows/Tasmota_build.yml @@ -2,8 +2,6 @@ name: Build_firmware on: push: - pull_request: - jobs: tasmota_pull: From 48d2bd5f27db14066e7d4e7cd5aaa2e655efb22b Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 25 May 2020 22:45:20 +0200 Subject: [PATCH 2/7] Update and rename CI_github.yml.off to CI_github.yml --- .github/workflows/{CI_github.yml.off => CI_github.yml} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename .github/workflows/{CI_github.yml.off => CI_github.yml} (99%) diff --git a/.github/workflows/CI_github.yml.off b/.github/workflows/CI_github.yml similarity index 99% rename from .github/workflows/CI_github.yml.off rename to .github/workflows/CI_github.yml index 806952c3a..0fe2fd9c5 100644 --- a/.github/workflows/CI_github.yml.off +++ b/.github/workflows/CI_github.yml @@ -1,6 +1,7 @@ name: Tasmota CI -on: [push, pull_request] +on: + pull_request: jobs: tasmota: From ef1bd58d40d61a987df2a35c989b2622c0ba9598 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 25 May 2020 22:46:16 +0200 Subject: [PATCH 3/7] Update and rename CI_github_ESP32.yml.off to CI_github_ESP32.yml --- .../workflows/{CI_github_ESP32.yml.off => CI_github_ESP32.yml} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename .github/workflows/{CI_github_ESP32.yml.off => CI_github_ESP32.yml} (99%) diff --git a/.github/workflows/CI_github_ESP32.yml.off b/.github/workflows/CI_github_ESP32.yml similarity index 99% rename from .github/workflows/CI_github_ESP32.yml.off rename to .github/workflows/CI_github_ESP32.yml index 28221fb20..5184aeb7a 100644 --- a/.github/workflows/CI_github_ESP32.yml.off +++ b/.github/workflows/CI_github_ESP32.yml @@ -1,6 +1,7 @@ name: Tasmota ESP32 CI -on: [push, pull_request] +on: + pull_request: jobs: tasmota32: From 7b9eb6916e49ed185d58af12425b0ef32100af0f Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 26 May 2020 07:53:11 +0200 Subject: [PATCH 4/7] revert absolut Logo link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4cffdc56..51f205664 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Tasmota logo](https://github.com/arendst/Tasmota/blob/development/tools/logo/TASMOTA_FullLogo_Vector.svg) +![Tasmota logo](/tools/logo/TASMOTA_FullLogo_Vector.svg) Alternative firmware for [ESP8266](https://en.wikipedia.org/wiki/ESP8266) based devices with **easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX**. _Written for Arduino IDE and PlatformIO._ From 87704bb1f54d9bed3a9398fd1ba07fad13244346 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 26 May 2020 07:54:53 +0200 Subject: [PATCH 5/7] Add firmware build badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 51f205664..f5d40a631 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ In addition to the [release webpage](https://github.com/arendst/Tasmota/releases [![Download Dev](https://img.shields.io/badge/download-development-yellow.svg)](http://thehackbox.org/tasmota/) [![Tasmota CI](https://github.com/arendst/Tasmota/workflows/Tasmota%20CI/badge.svg)](https://github.com/arendst/Tasmota/actions?query=workflow%3A%22Tasmota+CI%22) [![Tasmota ESP32 CI](https://github.com/arendst/Tasmota/workflows/Tasmota%20ESP32%20CI/badge.svg)](https://github.com/arendst/Tasmota/actions?query=workflow%3A%22Tasmota+ESP32+CI%22) +[![Build_firmware](https://github.com/arendst/Tasmota/workflows/Build_firmware/badge.svg)](https://github.com/arendst/Tasmota/actions?query=workflow%3ABuild_firmware) See [tasmota/CHANGELOG.md](tasmota/CHANGELOG.md) for detailed change information. From c42fb4b9b35cd28d406a6901a3b15ff578497640 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 26 May 2020 08:23:51 +0200 Subject: [PATCH 6/7] Add files via upload --- FIRMWARE.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 FIRMWARE.md diff --git a/FIRMWARE.md b/FIRMWARE.md new file mode 100644 index 000000000..aa83b9c94 --- /dev/null +++ b/FIRMWARE.md @@ -0,0 +1,46 @@ +![Tasmota logo](https://github.com/arendst/Tasmota/blob/development/tools/logo/TASMOTA_FullLogo_Vector.svg) + +Alternative firmware for [ESP8266](https://en.wikipedia.org/wiki/ESP8266) based devices with **easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX**. +_Written for Arduino IDE and PlatformIO._ + +[![GitHub version](https://img.shields.io/github/release/arendst/Tasmota.svg)](https://github.com/arendst/Tasmota/releases/latest) +[![GitHub download](https://img.shields.io/github/downloads/arendst/Tasmota/total.svg)](https://github.com/arendst/Tasmota/releases/latest) +[![License](https://img.shields.io/github/license/arendst/Tasmota.svg)](LICENSE.txt) +[![Chat](https://img.shields.io/discord/479389167382691863.svg)](https://discord.gg/Ks2Kzd4) + +If you like **Tasmota**, give it a star, or fork it and contribute! + +[![GitHub stars](https://img.shields.io/github/stars/arendst/Tasmota.svg?style=social&label=Star)](https://github.com/arendst/Tasmota/stargazers) +[![GitHub forks](https://img.shields.io/github/forks/arendst/Tasmota.svg?style=social&label=Fork)](https://github.com/arendst/Tasmota/network) +[![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://paypal.me/tasmota) + +See [RELEASENOTES.md](RELEASENOTES.md) for release information. + +In addition to the [release webpage](https://github.com/arendst/Tasmota/releases/latest) the binaries can also be downloaded from http://thehackbox.org/tasmota/release/ + +## Development + +[![Dev Version](https://img.shields.io/badge/development%20version-v8.3.x.x-blue.svg)](https://github.com/arendst/Tasmota) +[![Download Dev](https://img.shields.io/badge/download-development-yellow.svg)](http://thehackbox.org/tasmota/) +[![Tasmota CI](https://github.com/arendst/Tasmota/workflows/Tasmota%20CI/badge.svg)](https://github.com/arendst/Tasmota/actions?query=workflow%3A%22Tasmota+CI%22) +[![Tasmota ESP32 CI](https://github.com/arendst/Tasmota/workflows/Tasmota%20ESP32%20CI/badge.svg)](https://github.com/arendst/Tasmota/actions?query=workflow%3A%22Tasmota+ESP32+CI%22) +[![Build_firmware](https://github.com/arendst/Tasmota/workflows/Build_firmware/badge.svg)](https://github.com/arendst/Tasmota/actions?query=workflow%3ABuild_firmware) + + +Unless your Tasmota powered device exhibits a problem or you need to make use of a feature that is not available in the Tasmota version currently installed on your device, leave your device alone - it works so don't make unnecessary changes! If the release version (i.e., the master branch) exhibits unexpected behaviour for your device and configuration, you should upgrade to the latest development version instead to see if your problem is resolved as some bugs in previous releases or development builds may already have been resolved. + +If new commits have been merged and they compile successfuly, new binary files for every variant will be placed here https://github.com/arendst/Tasmota/tree/firmware/firmware (this URL address can NOT be used for OTA updates) It is important to note that these binaries are based on the current development codebase. These commits are tested as much as is possible and are typically quite stable. However, it is infeasible to test on the hundreds of different types of devices with all the available configuration options permitted. + +Note that there is a chance, as with any upgrade, that the device may not function as expected. You must always account for the possibility that you may need to flash the device via the serial programming interface if the OTA upgrade fails. Even with the master release, you should always attempt to test the device or a similar prototype before upgrading a device which is in production or is hard to reach. And, as always, make a backup of the device configuration before beginning any firmware update. + +## Disclaimer + +:warning: **DANGER OF ELECTROCUTION** :warning: + +If your device connects to mains electricity (AC power) there is danger of electrocution if not installed properly. If you don't know how to install it, please call an electrician (***Beware:*** certain countries prohibit installation without a licensed electrician present). Remember: _**SAFETY FIRST**_. It is not worth the risk to yourself, your family and your home if you don't know exactly what you are doing. Never tinker or try to flash a device using the serial programming interface while it is connected to MAINS ELECTRICITY (AC power). + +We don't take any responsibility nor liability for using this software nor for the installation or any tips, advice, videos, etc. given by any member of this site or any related site. + +## Quick Install +Download one of the binaries https://github.com/arendst/Tasmota/tree/firmware/firmware and flash it to your hardware [using our installation guide](https://tasmota.github.io/docs/Getting-Started). + From 9c789d1b6fb972f910b2ea56b6ba3f0da130d507 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 26 May 2020 08:24:36 +0200 Subject: [PATCH 7/7] failsafe mv --- .github/workflows/Tasmota_build.yml | 37 +++++++++++++++-------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/Tasmota_build.yml b/.github/workflows/Tasmota_build.yml index 66db1d377..819771059 100644 --- a/.github/workflows/Tasmota_build.yml +++ b/.github/workflows/Tasmota_build.yml @@ -1475,24 +1475,25 @@ jobs: mkdir -p ./firmware/tasmota/languages mkdir -p ./firmware/tasmota32/languages mkdir -p ./firmware/tasmota32/ESP32_needed_files/ - mv ./mv_firmware/tasmota.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota-sensors.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota-minimal.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota-lite.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota-ir*.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota-display.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota-knx.* ./firmware/tasmota/ - mv ./mv_firmware/tasmota32.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-sensors.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-minimal.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-lite.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-ir*.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-display.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-web*.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32-knx.* ./firmware/tasmota32/ - mv ./mv_firmware/tasmota32* ./firmware/tasmota32/languages/ - mv ./mv_firmware/* ./firmware/tasmota/languages/ - mv ./tools/Esptool/ESP32/*.* ./firmware/tasmota32/ESP32_needed_files/ + [ ! -f ./mv_firmware/tasmota.* ] || mv ./mv_firmware/tasmota.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota-sensors.* ] || mv ./mv_firmware/tasmota-sensors.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota-minimal.* ] || mv ./mv_firmware/tasmota-minimal.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota-lite.* ] || mv ./mv_firmware/tasmota-lite.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota-ir*.* ] || mv ./mv_firmware/tasmota-ir*.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota-display.* ] || mv ./mv_firmware/tasmota-display.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota-knx.* ] || mv ./mv_firmware/tasmota-knx.* ./firmware/tasmota/ + [ ! -f ./mv_firmware/tasmota32.* ] || mv ./mv_firmware/tasmota32.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-sensors.* ] || mv ./mv_firmware/tasmota32-sensors.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-minimal.* ] || mv ./mv_firmware/tasmota32-minimal.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-lite.* ] || mv ./mv_firmware/tasmota32-lite.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-ir*.* ] || mv ./mv_firmware/tasmota32-ir*.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-display.* ] || mv ./mv_firmware/tasmota32-display.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-web*.* ] || mv ./mv_firmware/tasmota32-web*.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32-knx.* ] || mv ./mv_firmware/tasmota32-knx.* ./firmware/tasmota32/ + [ ! -f ./mv_firmware/tasmota32* ] || mv ./mv_firmware/tasmota32* ./firmware/tasmota32/languages/ + [ ! -f ./mv_firmware/* ] || mv ./mv_firmware/* ./firmware/tasmota/languages/ + [ ! -f ./tools/Esptool/ESP32/*.* ] || mv ./tools/Esptool/ESP32/*.* ./firmware/tasmota32/ESP32_needed_files/ + [ ! -f ./FIRMWARE.md ] || mv -f ./FIRMWARE.md ./README.md - name: Commit files # transfer the new binaries back into the repository run: | git config --local user.name "Platformio BUILD"