From 047a09c73d0f4b6215c8820fd62048f0dce2d97d Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 17:33:07 +0100 Subject: [PATCH 01/10] updates --- .../workflows/build_esp32_dev_firmware.yml | 72 ------------------- .github/workflows/pre_release.yml | 59 +++++++++++++++ .github/workflows/release_esp32_stable.yml | 55 -------------- .github/workflows/standalone_build.yml | 22 ------ .github/workflows/tagged_release.yml | 56 +++++++++++++++ src/version.h | 1 + 6 files changed, 116 insertions(+), 149 deletions(-) delete mode 100644 .github/workflows/build_esp32_dev_firmware.yml create mode 100644 .github/workflows/pre_release.yml delete mode 100644 .github/workflows/release_esp32_stable.yml delete mode 100644 .github/workflows/standalone_build.yml create mode 100644 .github/workflows/tagged_release.yml diff --git a/.github/workflows/build_esp32_dev_firmware.yml b/.github/workflows/build_esp32_dev_firmware.yml deleted file mode 100644 index c00640fa1..000000000 --- a/.github/workflows/build_esp32_dev_firmware.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Build ESP32 Dev Firmware - -on: - push: - branches: - - esp32_dev - tags: - # - '*.*.*' - paths: - - 'CHANGELOG_LATEST.md' - workflow_dispatch: - branches: [ esp32_dev ] - -jobs: - - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Version - id: fetch_version - run: | - version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk '{print $3}' | sed 's/"//g'` - echo "::set-output name=s::$version" - - - name: Setup Python - uses: actions/setup-python@v1 - - - name: Install - run: | - python -m pip install --upgrade pip - pip install -U platformio - platformio upgrade - platformio update - - - name: Build web - run: | - cd interface - npm install - npm run build - - - name: Build images - run: | - platformio run -e esp32-ci - - - name: Delete - uses: dev-drprasad/delete-tag-and-release@v0.1.2 - # if: startsWith(github.ref, 'refs/tags/') - with: - delete_release: true - tag_name: esp32_dev - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Changelog - run: cat RELEASENOTES_DEV.md CHANGELOG_LATEST.md > BODY.txt - - - name: Release - uses: softprops/action-gh-release@v1 - # if: startsWith(github.ref, 'refs/tags/') - with: - body_path: BODY.txt - name: ESP32 Development Build v${{steps.fetch_version.outputs.s}} - tag_name: esp32_dev - prerelease: true - files: | - ./build/firmware/*.* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml new file mode 100644 index 000000000..b45a099f4 --- /dev/null +++ b/.github/workflows/pre_release.yml @@ -0,0 +1,59 @@ +name: "pre-release" + +on: + push: + branches: + - "dev" + +jobs: + pre-release: + + name: "Automatic pre-release build" + runs-on: ubuntu-latest + + steps: + + - name: Checkout source code + uses: actions/checkout@v2 + + - name: Get build variables + id: build_info + run: | + version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk -F'"' '{print $2}'` + echo "::set-output name=version::$version" + platform=`grep -E '^#define EMSESP_PLATFORM' ./src/version.h | awk -F'"' '{print $2}'` + echo "::set-output name=platform::$platform" + + - name: Compile locally + run: make + + - name: Setup Python + uses: actions/setup-python@v2 + + - name: Install pio + run: | + python -m pip install --upgrade pip + pip install -U platformio + platformio upgrade + platformio update + + - name: Build web + run: | + cd interface + npm install + npm run build + + - name: Build firmware + run: | + platformio run -e ci + + - name: Release + id: "automatic_releases" + uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + title: ${{steps.build_info.outputs.platform}} Development Build v${{steps.build_info.outputs.version}} + automatic_release_tag: "latest" + prerelease: true + files: | + CHANGELOG_DEV.md diff --git a/.github/workflows/release_esp32_stable.yml b/.github/workflows/release_esp32_stable.yml deleted file mode 100644 index 0e446e295..000000000 --- a/.github/workflows/release_esp32_stable.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Release Stable ESP32 - -on: - workflow_dispatch: - branches: [ stable_esp32 ] - -jobs: - - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Version - id: fetch_version - run: | - version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk '{print $3}' | sed 's/"//g'` - echo "::set-output name=s::$version" - - - name: Setup Python - uses: actions/setup-python@v1 - - - name: Install - run: | - python -m pip install --upgrade pip - pip install -U platformio - platformio upgrade - platformio update - - - name: Build web - run: | - cd interface - npm install - npm run build - - - name: Build images - run: | - platformio run -e esp32-ci - - - name: Changelog - run: cat RELEASENOTES.md CHANGELOG_LATEST.md > BODY.txt - - - name: Release - uses: softprops/action-gh-release@v1 - with: - body_path: BODY.txt - name: EMS-ESP v${{steps.fetch_version.outputs.s}} (ESP32) - tag_name: v${{steps.fetch_version.outputs.s}} - prerelease: false - files: | - ./build/firmware/*.* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - \ No newline at end of file diff --git a/.github/workflows/standalone_build.yml b/.github/workflows/standalone_build.yml deleted file mode 100644 index 315963069..000000000 --- a/.github/workflows/standalone_build.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Standalone Build - -on: - push: - branches: [ esp32_dev ] - paths: - - 'src/**' - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: make clean - run: make clean - - - name: make - run: make - \ No newline at end of file diff --git a/.github/workflows/tagged_release.yml b/.github/workflows/tagged_release.yml new file mode 100644 index 000000000..e8287d26e --- /dev/null +++ b/.github/workflows/tagged_release.yml @@ -0,0 +1,56 @@ +name: "tagged-release" + +on: + push: + tags: + - "v*" + +jobs: + tagged-release: + + name: "Tagged Release" + runs-on: ubuntu-latest + + steps: + - name: Checkout source code + uses: actions/checkout@v2 + + - name: Get build variables + id: build_info + run: | + version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk -F'"' '{print $2}'` + echo "::set-output name=version::$version" + platform=`grep -E '^#define EMSESP_PLATFORM' ./src/version.h | awk -F'"' '{print $2}'` + echo "::set-output name=platform::$platform" + + - name: Compile locally + run: make + + - name: Setup Python + uses: actions/setup-python@v2 + + - name: Install pio + run: | + python -m pip install --upgrade pip + pip install -U platformio + platformio upgrade + platformio update + + - name: Build web + run: | + cd interface + npm install + npm run build + + - name: Build firmware + run: | + platformio run -e ci + + - name: Release + uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + CHANGELOG.md + ./build/firmware/*.* diff --git a/src/version.h b/src/version.h index c266689bc..f89aba31b 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1,2 @@ #define EMSESP_APP_VERSION "3.0.0b7" +#define EMSESP_PLATFORM "ESP32" From e19077a3f87abe974b2ac2d05d006dd8f61982cb Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 17:37:49 +0100 Subject: [PATCH 02/10] new build --- scripts/rename_fw.py | 58 ++++++++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/scripts/rename_fw.py b/scripts/rename_fw.py index 17075b913..70f299989 100644 --- a/scripts/rename_fw.py +++ b/scripts/rename_fw.py @@ -1,16 +1,18 @@ -Import('env', "projenv") +Import("env") import os import re import shutil -import gzip OUTPUT_DIR = "build{}".format(os.path.sep) def bin_copy(source, target, env): - # get the EMS-ESP version + # get the build info bag = {} - exprs = [(re.compile(r'^#define EMSESP_APP_VERSION\s+"(\S+)"'), 'app_version')] + exprs = [ + (re.compile(r'^#define EMSESP_APP_VERSION\s+"(\S+)"'), 'app_version'), + (re.compile(r'^#define EMSESP_PLATFORM\s+"(\S+)"'), 'platform'), + ] with open('./src/version.h', 'r') as f: for l in f.readlines(): for expr, var in exprs: @@ -18,33 +20,43 @@ def bin_copy(source, target, env): if m and len(m.groups()) > 0: bag[var] = m.group(1) - # esp8266 or esp32 - platform = "esp" + env['PIOPLATFORM'].strip("espressif") + app_version = bag.get('app_version') + platform = bag.get("platform") - # if using the pio build directory, use str(target[0]).split(os.path.sep)[2] - variant = "EMS-ESP-" + bag.get('app_version').replace(".", "_") + "-" + platform + # print(env.Dump()) + # my_flags = env.ParseFlags(env['BUILD_FLAGS']) + # defines = {k: v for (k, v) in my_flags.get("CPPDEFINES")} + # print(my_flags) + # print((my_flags.get("CPPDEFINES")) + + # alternatively take platfrom from the pio target + # platform = str(target[0]).split(os.path.sep)[2] + + print("app version: "+app_version) + print("platform: "+platform) + + # convert . to _ so Windows doesn't complain + variant = "EMS-ESP-" + app_version.replace(".", "_") + "-" + platform - # create string with location and file names based on variant - bin_file = "{}firmware{}{}.bin".format(OUTPUT_DIR, os.path.sep, variant) - gzip_file = "{}firmware{}{}.bin.gz".format(OUTPUT_DIR, os.path.sep, variant) - - # check if firmware directory and target subdirectories (esp8266/esp32) exist and create if necessary + # check if output directories exist and create if necessary if not os.path.isdir(OUTPUT_DIR): os.mkdir(OUTPUT_DIR) + for d in ['firmware']: if not os.path.isdir("{}{}".format(OUTPUT_DIR, d)): os.mkdir("{}{}".format(OUTPUT_DIR, d)) - # copy firmware.bin to new name and in the build/firmware folder, delete if already exists - if os.path.isfile(bin_file): os.remove(bin_file) + # create string with location and file names based on variant + bin_file = "{}firmware{}{}.bin".format(OUTPUT_DIR, os.path.sep, variant) + + # check if new target files exist and remove if necessary + for f in [bin_file]: + if os.path.isfile(f): + os.remove(f) + + print("renaming file to "+bin_file) + + # copy firmware.bin to firmware/.bin shutil.copy(str(target[0]), bin_file) - # create the gzip'd version - if os.path.isfile(gzip_file): os.remove(gzip_file) - with open(bin_file, "rb") as fp: - with gzip.open(gzip_file, "wb", compresslevel = 9) as f: - shutil.copyfileobj(fp, f) - - print("Built firmwares: "+ bin_file + ", " + gzip_file) - env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", [bin_copy]) From a2c35c078990ecf252f1c06dfcc6e3a9bfb9d595 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 17:47:57 +0100 Subject: [PATCH 03/10] test CI --- CHANGELOG_LATEST.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index 141f1ab5f..e6aa45de2 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -43,6 +43,6 @@ - some names of mqtt-tags like in v2.2.1 - new ESP32 partition side to allow for smoother OTA and fallback - Network Gateway IP is optional ([#682](https://github.com/proddy/EMS-ESP/issues/682)) - +- moved to a new GitHub repo https://github.com/emsesp/EMS-ESP32 ### Removed From c038dc517cf625a05f7b82eeb0a18112526a40a6 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 17:53:50 +0100 Subject: [PATCH 04/10] rename ci target --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 882bdb97c..3a578d98c 100644 --- a/platformio.ini +++ b/platformio.ini @@ -61,7 +61,7 @@ check_flags = clangtidy: --checks=-*,clang-analyzer-*,performance-* ; build for GitHub Actions CI -[env:esp32-ci] +[env:ci] extra_scripts = scripts/rename_fw.py board = esp32dev From 6f41c1f0517635b88f83f9939f330c77fddc2842 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 18:02:28 +0100 Subject: [PATCH 05/10] build: rename CHANGELOG_DEV to CHANGELOG_LATEST --- .github/workflows/pre_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index b45a099f4..ad6a8a871 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -56,4 +56,4 @@ jobs: automatic_release_tag: "latest" prerelease: true files: | - CHANGELOG_DEV.md + CHANGELOG_LATEST.md From ad44829e568d3f07702eea85fe3819c551512623 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 18:10:20 +0100 Subject: [PATCH 06/10] add Semantic Commit Messages --- CONTRIBUTING.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bd3850202..30686acb8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,6 +60,40 @@ The process is straight-forward. 10. By submitting a PR, it is needed to use the provided PR template and check all boxes, performing the required tasks and accepting the CLA. 11. Pull requests that don't meet the above will be denied and closed. + +## Semantic Commit Messages + +See how a minor change to your commit message style can make you a better programmer. + +Format: `(): ` + +`` is optional + +## Example + +``` +feat: add hat wobble +^--^ ^------------^ +| | +| +-> Summary in present tense. +| ++-------> Type: chore, docs, feat, fix, refactor, style, or test. +``` + +More Examples: + +- `feat`: (new feature for the user, not a new feature for build script) +- `fix`: (bug fix for the user, not a fix to a build script) +- `docs`: (changes to the documentation) +- `style`: (formatting, missing semi colons, etc; no production code change) +- `refactor`: (refactoring production code, eg. renaming a variable) +- `test`: (adding missing tests, refactoring tests; no production code change) +- `chore`: (updating grunt tasks etc; no production code change) + +References: + +- https://www.conventionalcommits.org/ + -------------------------------------- ## Contributor License Agreement (CLA) From ff338b4c4af9f8799188a2462e93ff3898813f38 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 21:09:45 +0100 Subject: [PATCH 07/10] move repo --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .../questions---troubleshooting.md | 2 +- CHANGELOG_LATEST.md | 2 +- CONTRIBUTING.md | 4 +-- README.md | 30 +++++++++++-------- RELEASENOTES.md | 2 +- RELEASENOTES_DEV.md | 2 +- interface/src/project/EMSESPHelp.tsx | 2 +- 9 files changed, 27 insertions(+), 21 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 26b44d849..6a0ddf1e1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -9,7 +9,7 @@ assignees: '' *Before creating a new issue please check that you have:* -* *searched the existing [issues](https://github.com/proddy/EMS-ESP/issues) (both open and closed)* +* *searched the existing [issues](https://github.com/emsesp/EMS-ESP32/issues) (both open and closed)* * *searched the [documentation help section](https://emsesp.github.io/docs)* *Completing this template will help developers and contributors to address the issue. Try to be as specific and extensive as possible. If the information provided is not enough the issue will likely be closed.* diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 192572738..696d63d8c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,7 +7,7 @@ assignees: '' --- -*Before creating a new feature request please check that you have searched the existing [issues](https://github.com/proddy/EMS-ESP/issues) (both open and closed)* +*Before creating a new feature request please check that you have searched the existing [issues](https://github.com/emsesp/EMS-ESP32/issues) (both open and closed)* *Completing this template will help developers and contributors evaluating the feature. If the information provided is not enough the issue will likely be closed.* diff --git a/.github/ISSUE_TEMPLATE/questions---troubleshooting.md b/.github/ISSUE_TEMPLATE/questions---troubleshooting.md index b2cde7b75..fa26a177b 100644 --- a/.github/ISSUE_TEMPLATE/questions---troubleshooting.md +++ b/.github/ISSUE_TEMPLATE/questions---troubleshooting.md @@ -9,7 +9,7 @@ assignees: '' *Before creating a new issue please check that you have:* -* *searched the existing [issues](https://github.com/proddy/EMS-ESP/issues) (both open and closed)* +* *searched the existing [issues](https://github.com/emsesp/EMS-ESP32/issues) (both open and closed)* * *searched the [documentation help section](https://emsesp.github.io/docs)* *Completing this template will help developers and contributors help you. Try to be as specific and extensive as possible. If the information provided is not enough the issue will likely be closed.* diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index e6aa45de2..8835f871c 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -42,7 +42,7 @@ - Updated to the latest ArduinoJson library - some names of mqtt-tags like in v2.2.1 - new ESP32 partition side to allow for smoother OTA and fallback -- Network Gateway IP is optional ([#682](https://github.com/proddy/EMS-ESP/issues/682)) +- Network Gateway IP is optional (#682) - moved to a new GitHub repo https://github.com/emsesp/EMS-ESP32 ### Removed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 30686acb8..f72d11fae 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -43,10 +43,10 @@ A Pull Request (PR) is the process where code modifications are managed in GitHu The process is straight-forward. - Read [How to get faster PR reviews](https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews) by Kubernetes (but skip step 0) - - Fork the EMS-ESP Repository [git repository](https://github.com/proddy/EMS-ESP). + - Fork the EMS-ESP Repository [git repository](https://github.com/emsesp/EMS-ESP32). - Write/Change the code in your Fork for a new feature, bug fix, new sensor, optimization, etc. - Ensure tests work. - - Create a Pull Request against the [**dev**](https://github.com/proddy/EMS-ESP/tree/dev) branch of EMS-ESP. + - Create a Pull Request against the [**dev**](https://github.com/emsesp/EMS-ESP32/tree/dev) branch of EMS-ESP. 1. All pull requests must be done against the dev branch. 2. Make sure code is formatting per the `.clang-format` diff --git a/README.md b/README.md index 3421837f4..afbedddbc 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,23 @@ # ![logo](media/EMS-ESP_logo_dark.png) -**EMS-ESP** is an open-source firmware for the Espressif microcontroller that communicates with **EMS** (Energy Management System) based equipment from manufacturers like Bosch, Buderus, Nefit, Junkers, Worcester and Sieger. +**EMS-ESP** is an open-source firmware for the Espressif ESP8266 and ESP32 microcontroller that communicates with **EMS** (Energy Management System) based equipment from manufacturers like Bosch, Buderus, Nefit, Junkers, Worcester and Sieger. -This is the ESP32 version. - - -[![license](https://img.shields.io/github/license/proddy/EMS-ESP.svg)](LICENSE) -[![chat](https://img.shields.io/discord/816637840644505620.svg?style=flat-square&color=blueviolet)](https://discord.gg/rqegzSrK) +This is the firmware for the ESP32. +[![version](https://img.shields.io/github/release/emsesp/EMS-ESP32.svg?label=Latest%20Release)](https://github.com/emsesp/EMS-ESP32/blob/main/CHANGELOG.md) +[![release-date](https://img.shields.io/github/release-date/emsesp/EMS-ESP32.svg?label=Released)](https://github.com/emsesp/EMS-ESP32/commits/main) +[![license](https://img.shields.io/github/license/emsesp/EMS-ESP32.svg)](LICENSE) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/76ce919e25494cdeab827a6525666be0)](https://www.codacy.com/gh/emsesp/EMS-ESP32/dashboard?utm_source=github.com&utm_medium=referral&utm_content=emsesp/EMS-ESP&utm_campaign=Badge_Grade) +[![downloads](https://img.shields.io/github/downloads/emsesp/EMS-ESP32/total.svg)](https://github.com/emsesp/EMS-ESP32/releases) +[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/emsesp/EMS-ESP32.svg)](http://isitmaintained.com/project/emsesp/EMS-ESP32 "Average time to resolve an issue") +[![Percentage of issues still open](http://isitmaintained.com/badge/open/emsesp/EMS-ESP32.svg)](http://isitmaintained.com/project/emsesp/EMS-ESP32 "Percentage of issues still open") +
+[![chat](https://img.shields.io/discord/816637840644505620.svg?style=flat-square&color=blueviolet)](https://discord.gg/3J3GgnzpyT) If you like **EMS-ESP**, please give it a star, or fork it and contribute! -[![GitHub stars](https://img.shields.io/github/stars/proddy/EMS-ESP.svg?style=social&label=Star)](https://github.com/proddy/EMS-ESP/stargazers) -[![GitHub forks](https://img.shields.io/github/forks/proddy/EMS-ESP.svg?style=social&label=Fork)](https://github.com/proddy/EMS-ESP/network) +[![GitHub stars](https://img.shields.io/github/stars/emsesp/EMS-ESP32.svg?style=social&label=Star)](https://github.com/emsesp/EMS-ESP32/stargazers) +[![GitHub forks](https://img.shields.io/github/forks/emsesp/EMS-ESP32.svg?style=social&label=Fork)](https://github.com/emsesp/EMS-ES32P/network) [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.com/paypalme/prderbyshire/2) Note, EMS-ESP requires a small hardware circuit that can convert the EMS bus data to be read by the microcontroller. These can be ordered at https://bbqkees-electronics.nl. @@ -23,6 +28,7 @@ Note, EMS-ESP requires a small hardware circuit that can convert the EMS bus dat ## **Features** +- Compatible with both ESP8266 and ESP32 - A multi-user secure web interface to change settings and monitor the data - A console, accessible via Serial and Telnet for more monitoring - Native support for Home Assistant via [MQTT Discovery](https://www.home-assistant.io/docs/mqtt/discovery/) @@ -66,13 +72,13 @@ If you're looking for support on **EMS-ESP** there are some options available: ### Support Community * [Discord Server](https://discord.gg/3J3GgnzpyT): For support, troubleshooting and general questions. You have better chances to get fast answers from members of the community -* [Search in Issues](https://github.com/proddy/EMS-ESP/issues): You might find an answer to your question by searching current or closed issues +* [Search in Issues](https://github.com/emsesp/EMS-ESP32/issues): You might find an answer to your question by searching current or closed issues ### Developer's Community -* [Bug Report](https://github.com/proddy/EMS-ESP/issues/new?template=bug_report.md): For reporting Bugs -* [Feature Request](https://github.com/proddy/EMS-ESP/issues/new?template=feature_request.md): For requesting features/functions -* [Troubleshooting](https://github.com/proddy/EMS-ESP/issues/new?template=questions---troubleshooting.md): As a last resort, you can open new *Troubleshooting & Question* issue on GitHub if the solution could not be found using the other channels. Just remember: the more info you provide the more chances you'll have to get an accurate answer +* [Bug Report](https://github.com/emsesp/EMS-ESP32/issues/new?template=bug_report.md): For reporting Bugs +* [Feature Request](https://github.com/emsesp/EMS-ESP32/issues/new?template=feature_request.md): For requesting features/functions +* [Troubleshooting](https://github.com/emsesp/EMS-ESP32/issues/new?template=questions---troubleshooting.md): As a last resort, you can open new *Troubleshooting & Question* issue on GitHub if the solution could not be found using the other channels. Just remember: the more info you provide the more chances you'll have to get an accurate answer ## **Contributing** diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f1ac84fd9..9e4ad89d6 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,4 +1,4 @@ -# ![logo](https://github.com/proddy/EMS-ESP/blob/esp32_dev/media/EMS-ESP_logo_dark.png) +# ![logo](https://github.com/emsesp/EMS-ESP32/blob/main/media/EMS-ESP_logo_dark.png) # Firmware Installation diff --git a/RELEASENOTES_DEV.md b/RELEASENOTES_DEV.md index f538f3a5c..75d8a9422 100644 --- a/RELEASENOTES_DEV.md +++ b/RELEASENOTES_DEV.md @@ -1,4 +1,4 @@ -# ![logo](https://github.com/proddy/EMS-ESP/blob/esp32_dev/media/EMS-ESP_logo_dark.png) +# ![logo](https://github.com/emsesp/EMS-ESP32/blob/main/media/EMS-ESP_logo_dark.png) This is a snapshot of the current "beta" development code and firmware binaries for the ESP32. It has all the latest features and fixes but please be aware that this is still experimental firmware used for testing and thus may contain the odd bug. Use at your own risk and remember to report an issue if you find something unusual. diff --git a/interface/src/project/EMSESPHelp.tsx b/interface/src/project/EMSESPHelp.tsx index 4f6a1e4d4..3ddb857d9 100644 --- a/interface/src/project/EMSESPHelp.tsx +++ b/interface/src/project/EMSESPHelp.tsx @@ -43,7 +43,7 @@ class EMSESPHelp extends Component { - To report an issue or feature request go to {'click here'} + To report an issue or feature request go to {'click here'} From 37c88c8edc58d06cb2606e76ba1cb95b7957770b Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 14 Mar 2021 21:20:27 +0100 Subject: [PATCH 08/10] build: include assets --- .github/workflows/pre_release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index ad6a8a871..4587ee2c9 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -57,3 +57,5 @@ jobs: prerelease: true files: | CHANGELOG_LATEST.md + ./build/firmware/*.* + From 4a5dbedd373c4b4f482ed39aac4418e0e5343021 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sun, 14 Mar 2021 23:43:51 +0100 Subject: [PATCH 09/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index afbedddbc..34d615722 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is the firmware for the ESP32. [![version](https://img.shields.io/github/release/emsesp/EMS-ESP32.svg?label=Latest%20Release)](https://github.com/emsesp/EMS-ESP32/blob/main/CHANGELOG.md) [![release-date](https://img.shields.io/github/release-date/emsesp/EMS-ESP32.svg?label=Released)](https://github.com/emsesp/EMS-ESP32/commits/main) [![license](https://img.shields.io/github/license/emsesp/EMS-ESP32.svg)](LICENSE) -[![Codacy Badge](https://app.codacy.com/project/badge/Grade/76ce919e25494cdeab827a6525666be0)](https://www.codacy.com/gh/emsesp/EMS-ESP32/dashboard?utm_source=github.com&utm_medium=referral&utm_content=emsesp/EMS-ESP&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/9441142f49424ef891e8f5251866ee6b)](https://www.codacy.com/gh/emsesp/EMS-ESP32/dashboard?utm_source=github.com&utm_medium=referral&utm_content=emsesp/EMS-ESP32&utm_campaign=Badge_Grade) [![downloads](https://img.shields.io/github/downloads/emsesp/EMS-ESP32/total.svg)](https://github.com/emsesp/EMS-ESP32/releases) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/emsesp/EMS-ESP32.svg)](http://isitmaintained.com/project/emsesp/EMS-ESP32 "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/emsesp/EMS-ESP32.svg)](http://isitmaintained.com/project/emsesp/EMS-ESP32 "Percentage of issues still open") From 78853026365b81df0673441c6ed8918588f52835 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 18 Mar 2021 20:54:12 +0100 Subject: [PATCH 10/10] update GH repo --- CHANGELOG.md | 64 ++++++++++---------- CHANGELOG_LATEST.md | 2 +- interface/src/project/EMSESPHelp.tsx | 2 +- lib/uuid-common/src/compare_flash_string.cpp | 2 +- lib/uuid-syslog/src/syslog.cpp | 2 +- lib_standalone/emsuart_standalone.cpp | 2 +- lib_standalone/emsuart_standalone.h | 2 +- src/WebAPIService.cpp | 2 +- src/WebAPIService.h | 2 +- src/WebDevicesService.cpp | 2 +- src/WebDevicesService.h | 2 +- src/WebSettingsService.cpp | 2 +- src/WebSettingsService.h | 2 +- src/WebStatusService.cpp | 2 +- src/WebStatusService.h | 2 +- src/command.cpp | 2 +- src/command.h | 2 +- src/console.cpp | 4 +- src/console.h | 2 +- src/dallassensor.cpp | 2 +- src/dallassensor.h | 2 +- src/device_library.h | 2 +- src/devices/boiler.cpp | 10 +-- src/devices/boiler.h | 2 +- src/devices/connect.cpp | 2 +- src/devices/connect.h | 2 +- src/devices/controller.cpp | 2 +- src/devices/controller.h | 2 +- src/devices/gateway.cpp | 2 +- src/devices/gateway.h | 2 +- src/devices/generic.cpp | 2 +- src/devices/generic.h | 2 +- src/devices/heatpump.cpp | 2 +- src/devices/heatpump.h | 2 +- src/devices/mixer.cpp | 6 +- src/devices/mixer.h | 2 +- src/devices/solar.cpp | 2 +- src/devices/solar.h | 2 +- src/devices/switch.cpp | 2 +- src/devices/switch.h | 2 +- src/devices/thermostat.cpp | 16 ++--- src/devices/thermostat.h | 4 +- src/emsdevice.cpp | 2 +- src/emsdevice.h | 2 +- src/emsesp.cpp | 4 +- src/emsesp.h | 2 +- src/emsesp_stub.hpp | 2 +- src/emsfactory.h | 2 +- src/helpers.cpp | 2 +- src/helpers.h | 2 +- src/locale_EN.h | 2 +- src/main.cpp | 2 +- src/mqtt.cpp | 2 +- src/mqtt.h | 2 +- src/roomcontrol.cpp | 2 +- src/roomcontrol.h | 2 +- src/shower.cpp | 4 +- src/shower.h | 2 +- src/system.cpp | 4 +- src/system.h | 2 +- src/telegram.cpp | 6 +- src/telegram.h | 2 +- src/test/test.cpp | 12 ++-- src/test/test.h | 2 +- src/uart/emsuart_esp32.cpp | 4 +- src/uart/emsuart_esp32.h | 4 +- src/version.h | 2 +- 67 files changed, 125 insertions(+), 125 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eaaf72843..2812315da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,7 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - renamed pio targets (esp8266-ci and esp32-ci for GitHub CI) - telnet default settings `log info`, timeout 60 min - `log debug` not showing telegram names, use `log trace` or `watch on` to show the telegrams -- optimized how console and web display device data ([#632](https://github.com/proddy/EMS-ESP/issues/632)) +- optimized how console and web display device data ([#632](https://github.com/emsesp/EMS-ESP/issues/632)) ### Removed - old shell and python build scripts @@ -154,7 +154,7 @@ See README.me for more details. - Support writing to Junkers FR100 thermostats - Support writing to RC100, Moduline 1000/1010 thermostats - MM10 Mixing module support (thanks @MichaelDvP) -- MM200 warm water circuits (https://github.com/proddy/EMS-ESP/pull/315) +- MM200 warm water circuits (https://github.com/emsesp/EMS-ESP/pull/315) - Support for Moduline 200 and Sieger ES72 thermostats - First implementation of writing to generic Junker Thermostats (thanks @Neonox31) - Added model type (Buderus, Sieger, Junkers, Nefit, Bosch, Worcester) to device names @@ -166,7 +166,7 @@ See README.me for more details. - Added features to WW messages (0x33, 0x34) to improve WW monitoring. (PR#338 by @ypaindaveine) - Added mixing log and stub for EMS type 0xAC (PR#338 by @ypaindaveine) - Added Thermostat retrieving settings (0xA5) (validated on RC30N) with MQTT support (thanks Yves @ypaindaveine. See #352) -- Merged with PR https://github.com/proddy/EMS-ESP/pull/366 from @MichaelDvP fixing RC20 and MM50 +- Merged with PR https://github.com/emsesp/EMS-ESP/pull/366 from @MichaelDvP fixing RC20 and MM50 ### Fixed - set boiler warm water temp on Junkers/Bosch HT3 @@ -193,7 +193,7 @@ There are breaking changes in this release. See `publish_time` below and make su ### Added - Added `publish_always` forcing MQTT topics to be always sent regardless if the data hasn't changed -- Support for DHW once (OneTime water) heating command via MQTT [issue 195](https://github.com/proddy/EMS-ESP/issues/195) +- Support for DHW once (OneTime water) heating command via MQTT [issue 195](https://github.com/emsesp/EMS-ESP/issues/195) - Added scripts to automatically build firmware images on every Commit/Pull and nightly builds using TravisCI - Added option to WebUI to also download the latest development build - Added build scripts for automated CI with TravisCI @@ -267,7 +267,7 @@ There are breaking changes in this release. See `publish_time` below and make su - External dallas sensor values sent in MQTT payload as float values and not strings - All MQTT topics for the Thermostat have the Heating Circuit appended (e.g. `thermostat_data1`). This includes the commands. - Shower timer and shower alert and not MQTT published at boot up -- Heating Active logic change to use Selected Flow Temp of min 30 instead of 70 (https://github.com/proddy/EMS-ESP/issues/193) +- Heating Active logic change to use Selected Flow Temp of min 30 instead of 70 (https://github.com/emsesp/EMS-ESP/issues/193) - Cleaned up Telnet messages during bootup to only show key information. ### Removed @@ -278,7 +278,7 @@ There are breaking changes in this release. See `publish_time` below and make su ### Added -- Support for multiple Heating Circuits - https://github.com/proddy/EMS-ESP/issues/162 +- Support for multiple Heating Circuits - https://github.com/emsesp/EMS-ESP/issues/162 - new `mqttlog` command also shows which MQTT topics it is subscribed too - Optimized event log loading in web and added integrity checks on all config and log files during boot - `autodetect quick` for detecting known devices from our database list @@ -286,7 +286,7 @@ There are breaking changes in this release. See `publish_time` below and make su ### Fixed -- fixed zero values (0.0) for setpoint temperature with the RC35 thermostat when in Auto mode - https://github.com/proddy/EMS-ESP/issues/180 +- fixed zero values (0.0) for setpoint temperature with the RC35 thermostat when in Auto mode - https://github.com/emsesp/EMS-ESP/issues/180 - added check for corrupted event log, which could happen due to SPIFFS writing while UART is active - made Junkers work again (broke in 1.9.0) @@ -370,13 +370,13 @@ There are breaking changes in this release. See `publish_time` below and make su - EMS+ core support (thanks too @gl3nni3 for doing the first research) - MQTT 'restart' topic to reboot ESP (thanks @balk77) - Support for multiple thermostat heating circuits like the HC1/HC2 on a RC35, also via MQTT (thanks @lobocobra) -- `boiler flowtemp` command to set the flow temperature [(issue 59)](https://github.com/proddy/EMS-ESP/issues/59) +- `boiler flowtemp` command to set the flow temperature [(issue 59)](https://github.com/emsesp/EMS-ESP/issues/59) - added a test harness to try out response to various telegrams (test command) - `tx_delay` setting for circuits where we needed to slow down Tx transmission - new boiler: Nefit proline hrc 24 cw4 thermostat and Nefit Enviline heatpump - new boiler: Buderus Logamax plus -- new thermostat: Buderus RC300 and RC310 thermostats, read-only [(issue 37)](https://github.com/proddy/EMS-ESP/issues/37) -- new thermostat: Junkers FR10, read-only [(issue 98)](https://github.com/proddy/EMS-ESP/issues/98) +- new thermostat: Buderus RC300 and RC310 thermostats, read-only [(issue 37)](https://github.com/emsesp/EMS-ESP/issues/37) +- new thermostat: Junkers FR10, read-only [(issue 98)](https://github.com/emsesp/EMS-ESP/issues/98) - new devices: Buderus Web Gateway KM200, Buderus Solar Module SM100 ### Changed @@ -393,9 +393,9 @@ There are breaking changes in this release. See `publish_time` below and make su - `crash` command to see stack of last system crash, with .py files to track stack dump (compile with `-DCRASH`) - publish dallas external temp sensors to MQTT (thanks @JewelZB) - shower timer and shower alert options available via set commands -- added support for warm water modes Hot, Comfort and Intelligent [(issue 67)](https://github.com/proddy/EMS-ESP/issues/67) +- added support for warm water modes Hot, Comfort and Intelligent [(issue 67)](https://github.com/emsesp/EMS-ESP/issues/67) - added `set publish_time` to set how often to force a publish of MQTT -- support for SM10 Solar Module including MQTT [(issue 77)](https://github.com/proddy/EMS-ESP/issues/77) +- support for SM10 Solar Module including MQTT [(issue 77)](https://github.com/emsesp/EMS-ESP/issues/77) - `refresh` command to force a fetch of all known data from the connected EMS devices ### Fixed @@ -412,7 +412,7 @@ There are breaking changes in this release. See `publish_time` below and make su - `test_mode` renamed to `silent_mode` - `set wifi` replaced with `set wifi_ssid` and `set wifi_password` to allow values with spaces - EMS values are stored in the raw format and only converted to strings when displayed or published, removing the need for parsing floats -- All floating point temperatures are to one decimal place [(issue 79)](https://github.com/proddy/EMS-ESP/issues/79) +- All floating point temperatures are to one decimal place [(issue 79)](https://github.com/emsesp/EMS-ESP/issues/79) ## [1.5.6] 2019-03-09 @@ -462,7 +462,7 @@ There are breaking changes in this release. See `publish_time` below and make su ### Added -- Improved MQTT LWT (Last Will Testament). Uses payload called 'online' and 'offline'. See https://github.com/proddy/EMS-ESP/issues/57 +- Improved MQTT LWT (Last Will Testament). Uses payload called 'online' and 'offline'. See https://github.com/emsesp/EMS-ESP/issues/57 - Added ESP32 support to MyESP library - Added Bosch Easy thermostat, Buderus Logamax U122 - Support for changing boiler wwtemp via MQTT (merge #58 from egrekov). thanks! @@ -479,7 +479,7 @@ There are breaking changes in this release. See `publish_time` below and make su ### Added -- Added incoming MQTT "TOPIC_BOILER_WWACTIVATED" to set the warm water on/off. Payload is 1 or 0. See [issue](https://github.com/proddy/EMS-ESP/issues/46#issuecomment-460375689). +- Added incoming MQTT "TOPIC_BOILER_WWACTIVATED" to set the warm water on/off. Payload is 1 or 0. See [issue](https://github.com/emsesp/EMS-ESP/issues/46#issuecomment-460375689). - Added the list of all MQTT topics to the README file ## [1.5.1] 2019-02-03 @@ -541,7 +541,7 @@ There are breaking changes in this release. See `publish_time` below and make su ### Fixed -- Handle thermostats that don't have builtin temperature sensors when showing current temperature (https://github.com/proddy/EMS-ESP/issues/18#issuecomment-451012963) +- Handle thermostats that don't have builtin temperature sensors when showing current temperature (https://github.com/emsesp/EMS-ESP/issues/18#issuecomment-451012963) ### Changed @@ -572,14 +572,14 @@ There are breaking changes in this release. See `publish_time` below and make su ### Added - MQTT keep alive, last will testament and other settings all configurable in my_config.h -- RC35: MQTT day/night/auto mode; sets setpoint temperature in type 0x3D depends on current night/day Mode (@SpaceTeddy) [#33](https://github.com/proddy/EMS-ESP/pull/33) +- RC35: MQTT day/night/auto mode; sets setpoint temperature in type 0x3D depends on current night/day Mode (@SpaceTeddy) [#33](https://github.com/emsesp/EMS-ESP/pull/33) ## [1.3.0] 2019-01-09 ### Changed - Renamed project from EMS-ESP-Boiler to EMS-ESP since it's kinda EMS generic now -- Support for RC20RF and RFM20 (https://github.com/proddy/EMS-ESP/issues/18) +- Support for RC20RF and RFM20 (https://github.com/emsesp/EMS-ESP/issues/18) - Moved all EMS device information into a separate file `ems_devices.h` so no longer need to touch `ems.h` - Telnet commands can be strings now and output is suspended when typing @@ -598,9 +598,9 @@ There are breaking changes in this release. See `publish_time` below and make su ### Changed -- Scanning known EMS Devices now ignores duplicates (https://github.com/proddy/EMS-ESP/pull/30) +- Scanning known EMS Devices now ignores duplicates (https://github.com/emsesp/EMS-ESP/pull/30) - ServiceCode stored as a two byte char -- Support for RC20RF and RFM20 (https://github.com/proddy/EMS-ESP/issues/18) +- Support for RC20RF and RFM20 (https://github.com/emsesp/EMS-ESP/issues/18) ## [1.2.3] 2019-01-03 @@ -608,23 +608,23 @@ There are breaking changes in this release. See `publish_time` below and make su - Can now hardcode Boiler and Thermostat types in my_config.h to bypass auto-detection - Fixed MQTT subscribing to Heating and Hot Water active topics -- Fixed for listening to incoming MQTT topics (https://github.com/proddy/EMS-ESP/issues/27) -- Fixed handling of current temperature on an RC35-type thermostat that doesn't have a sensor (https://github.com/proddy/EMS-ESP/issues/18) +- Fixed for listening to incoming MQTT topics (https://github.com/emsesp/EMS-ESP/issues/27) +- Fixed handling of current temperature on an RC35-type thermostat that doesn't have a sensor (https://github.com/emsesp/EMS-ESP/issues/18) ## [1.2.2] 2019-01-02 ### Fixed -- Issues in 1.2.1 (see https://github.com/proddy/EMS-ESP/issues/25) +- Issues in 1.2.1 (see https://github.com/emsesp/EMS-ESP/issues/25) - Logic for determining if there is activity on the EMS bus and using the onboard LEDs properly ## [1.2.1] 2019-01-02 ### Fixed -- Only process broadcast messages if the offset (byte 4) is 0. (https://github.com/proddy/EMS-ESP/issues/23) +- Only process broadcast messages if the offset (byte 4) is 0. (https://github.com/emsesp/EMS-ESP/issues/23) - Improved checking for duplicate sent Tx telegrams by comparing CRCs -- Removed distinguishing between noise on the line and corrupt telegrams (https://github.com/proddy/EMS-ESP/issues/24) +- Removed distinguishing between noise on the line and corrupt telegrams (https://github.com/emsesp/EMS-ESP/issues/24) ## [1.2.0] 2019-01-01 @@ -644,7 +644,7 @@ There are breaking changes in this release. See `publish_time` below and make su - Fetch UBATotalUptimeMessage from Boiler to get total working minutes - Added check to see if bus is connected. Shown in stats page - If no Wifi connection can be made, start up as a WiFi Access Point (AP) -- Report out service codes and water-flow [pull-request](https://github.com/proddy/EMS-ESP/pull/20/files). Thanks @Bonusbartus +- Report out service codes and water-flow [pull-request](https://github.com/emsesp/EMS-ESP/pull/20/files). Thanks @Bonusbartus ### Changed @@ -673,16 +673,16 @@ There are breaking changes in this release. See `publish_time` below and make su - Fixed handling of negative floating point values (like outdoor temp) - Fixed handling of auto & manual mode on an RC30 -- [Fixed condition where all telegram types were processed, instead of only broadcasts or our own reads](https://github.com/proddy/EMS-ESP/issues/15) +- [Fixed condition where all telegram types were processed, instead of only broadcasts or our own reads](https://github.com/emsesp/EMS-ESP/issues/15) ### Added - Created this CHANGELOG.md file! -- [Added support for the Nefit Easy thermostat, reading of temperature values only](https://github.com/proddy/EMS-ESP/issues/9) - note *read only* (big thanks @**kroon040** for lending me an Easy device) -- [Added support for RC35/Moduline 400](https://github.com/proddy/EMS-ESP/issues/14) - *read only* -- [New raw logging mode for logging](https://github.com/proddy/EMS-ESP/issues/11) -- [New 'r'command to send raw data to EMS](https://github.com/proddy/EMS-ESP/issues/11) -- [Added MQTT messages for hot water on and heating on](https://github.com/proddy/EMS-ESP/issues/10) +- [Added support for the Nefit Easy thermostat, reading of temperature values only](https://github.com/emsesp/EMS-ESP/issues/9) - note *read only* (big thanks @**kroon040** for lending me an Easy device) +- [Added support for RC35/Moduline 400](https://github.com/emsesp/EMS-ESP/issues/14) - *read only* +- [New raw logging mode for logging](https://github.com/emsesp/EMS-ESP/issues/11) +- [New 'r'command to send raw data to EMS](https://github.com/emsesp/EMS-ESP/issues/11) +- [Added MQTT messages for hot water on and heating on](https://github.com/emsesp/EMS-ESP/issues/10) - Implemented FIFO circular buffer queue for up to 20 Tx messages (Q command to show queue) - Toggle Tx transmission via telnet (use 'X' command) - Show thermostat type in help stats (use 's' command) diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index 8835f871c..cc1419a18 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -42,7 +42,7 @@ - Updated to the latest ArduinoJson library - some names of mqtt-tags like in v2.2.1 - new ESP32 partition side to allow for smoother OTA and fallback -- Network Gateway IP is optional (#682) +- Network Gateway IP is optional (#682)emsesp/EMS-ESP - moved to a new GitHub repo https://github.com/emsesp/EMS-ESP32 ### Removed diff --git a/interface/src/project/EMSESPHelp.tsx b/interface/src/project/EMSESPHelp.tsx index 3ddb857d9..52f890122 100644 --- a/interface/src/project/EMSESPHelp.tsx +++ b/interface/src/project/EMSESPHelp.tsx @@ -71,7 +71,7 @@ class EMSESPHelp extends Component { EMS-ESP is free and open-source. -

Please consider supporting this project by giving it a on our {'GitHub page'}. +

Please consider supporting this project by giving it a on our {'GitHub page'}.


diff --git a/lib/uuid-common/src/compare_flash_string.cpp b/lib/uuid-common/src/compare_flash_string.cpp index 9e3ecc7c1..64700ad67 100644 --- a/lib/uuid-common/src/compare_flash_string.cpp +++ b/lib/uuid-common/src/compare_flash_string.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/lib/uuid-syslog/src/syslog.cpp b/lib/uuid-syslog/src/syslog.cpp index 55d2fd992..e4f2207ba 100644 --- a/lib/uuid-syslog/src/syslog.cpp +++ b/lib/uuid-syslog/src/syslog.cpp @@ -388,7 +388,7 @@ bool SyslogService::can_transmit() { bool SyslogService::transmit(const QueuedLogMessage & message) { /* - // modifications by Proddy. From https://github.com/proddy/EMS-ESP/issues/395#issuecomment-640053528 + // modifications by Proddy. From https://github.com/emsesp/EMS-ESP/issues/395#issuecomment-640053528 struct tm tm; tm.tm_year = 0; diff --git a/lib_standalone/emsuart_standalone.cpp b/lib_standalone/emsuart_standalone.cpp index 10c89f441..5d092e8b5 100644 --- a/lib_standalone/emsuart_standalone.cpp +++ b/lib_standalone/emsuart_standalone.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/lib_standalone/emsuart_standalone.h b/lib_standalone/emsuart_standalone.h index 424ad1d81..528ddcc93 100644 --- a/lib_standalone/emsuart_standalone.h +++ b/lib_standalone/emsuart_standalone.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebAPIService.cpp b/src/WebAPIService.cpp index 638afe41a..fdd1a6582 100644 --- a/src/WebAPIService.cpp +++ b/src/WebAPIService.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebAPIService.h b/src/WebAPIService.h index 42aa5683d..dd932fa20 100644 --- a/src/WebAPIService.h +++ b/src/WebAPIService.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebDevicesService.cpp b/src/WebDevicesService.cpp index 3fc637b54..77bb2f115 100644 --- a/src/WebDevicesService.cpp +++ b/src/WebDevicesService.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebDevicesService.h b/src/WebDevicesService.h index d82eb6423..8051f35e1 100644 --- a/src/WebDevicesService.h +++ b/src/WebDevicesService.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebSettingsService.cpp b/src/WebSettingsService.cpp index a8cea8de2..e2da54b88 100644 --- a/src/WebSettingsService.cpp +++ b/src/WebSettingsService.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebSettingsService.h b/src/WebSettingsService.h index 67a17b2bf..310b818db 100644 --- a/src/WebSettingsService.h +++ b/src/WebSettingsService.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebStatusService.cpp b/src/WebStatusService.cpp index b207ab76d..1c20c2a2e 100644 --- a/src/WebStatusService.cpp +++ b/src/WebStatusService.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/WebStatusService.h b/src/WebStatusService.h index c5582aba0..c9ed67db7 100644 --- a/src/WebStatusService.h +++ b/src/WebStatusService.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/command.cpp b/src/command.cpp index c33714738..cbb42ee64 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/command.h b/src/command.h index a91f489fc..af82d0700 100644 --- a/src/command.h +++ b/src/command.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/console.cpp b/src/console.cpp index bba75e1e8..0d0b1fced 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -65,7 +65,7 @@ void EMSESPShell::display_banner() { println(); printfln(F("┌──────────────────────────────────────┐")); printfln(F("│ %sEMS-ESP version %-10s%s │"), COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_BOLD_OFF); - printfln(F("│ %s%shttps://github.com/proddy/EMS-ESP%s │"), COLOR_BRIGHT_GREEN, COLOR_UNDERLINE, COLOR_RESET); + printfln(F("│ %s%shttps://github.com/emsesp/EMS-ESP%s │"), COLOR_BRIGHT_GREEN, COLOR_UNDERLINE, COLOR_RESET); printfln(F("│ │")); printfln(F("│ type %shelp%s to show available commands │"), COLOR_UNDERLINE, COLOR_RESET); printfln(F("└──────────────────────────────────────┘")); diff --git a/src/console.h b/src/console.h index 69d624565..2f8f5143c 100644 --- a/src/console.h +++ b/src/console.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/dallassensor.cpp b/src/dallassensor.cpp index a81975d35..c30939cb9 100644 --- a/src/dallassensor.cpp +++ b/src/dallassensor.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/dallassensor.h b/src/dallassensor.h index 43c456422..107804278 100644 --- a/src/dallassensor.h +++ b/src/dallassensor.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/device_library.h b/src/device_library.h index fc8151f7f..6cf068e3f 100644 --- a/src/device_library.h +++ b/src/device_library.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 595a660e4..16adcfac3 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -311,7 +311,7 @@ void Boiler::process_UBAMonitorFast(std::shared_ptr telegram) { has_update(telegram->read_bitvalue(wWCirc_, 7, 7)); // warm water storage sensors (if present) - // wWStorageTemp2 is also used by some brands as the boiler temperature - see https://github.com/proddy/EMS-ESP/issues/206 + // wWStorageTemp2 is also used by some brands as the boiler temperature - see https://github.com/emsesp/EMS-ESP/issues/206 has_update(telegram->read_value(wWStorageTemp1_, 9)); // 0x8300 if not available has_update(telegram->read_value(wWStorageTemp2_, 11)); // 0x8000 if not available - this is boiler temp @@ -580,7 +580,7 @@ void Boiler::process_UBAEnergySupplied(std::shared_ptr telegram) // 0x2A - MC10Status // e.g. 88 00 2A 00 00 00 00 00 00 00 00 00 D2 00 00 80 00 00 01 08 80 00 02 47 00 -// see https://github.com/proddy/EMS-ESP/issues/397 +// see https://github.com/emsesp/EMS-ESP/issues/397 void Boiler::process_MC10Status(std::shared_ptr telegram) { has_update(telegram->read_value(mixerTemp_, 14)); has_update(telegram->read_value(tankMiddleTemp_, 18)); @@ -967,7 +967,7 @@ bool Boiler::set_warmwater_activated(const char * value, const int8_t id) { LOG_INFO(F("Setting boiler warm water active %s"), v ? "on" : "off"); - // https://github.com/proddy/EMS-ESP/issues/268 + // https://github.com/emsesp/EMS-ESP/issues/268 uint8_t n; if (EMSbus::is_ht3()) { n = (v ? 0x08 : 0x00); // 0x08 is on, 0x00 is off @@ -1020,7 +1020,7 @@ bool Boiler::set_tapwarmwater_activated(const char * value, const int8_t id) { // Activate / De-activate One Time warm water 0x35 // true = on, false = off -// See also https://github.com/proddy/EMS-ESP/issues/341#issuecomment-596245458 for Junkers +// See also https://github.com/emsesp/EMS-ESP/issues/341#issuecomment-596245458 for Junkers bool Boiler::set_warmwater_onetime(const char * value, const int8_t id) { bool v = false; if (!Helpers::value2bool(value, v)) { diff --git a/src/devices/boiler.h b/src/devices/boiler.h index c7c533a94..b18836843 100644 --- a/src/devices/boiler.h +++ b/src/devices/boiler.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/connect.cpp b/src/devices/connect.cpp index 3b77241d9..2a16039d0 100644 --- a/src/devices/connect.cpp +++ b/src/devices/connect.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/connect.h b/src/devices/connect.h index 9baaba7f6..960ad61ef 100644 --- a/src/devices/connect.h +++ b/src/devices/connect.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/controller.cpp b/src/devices/controller.cpp index 28a0b943e..6a50c138a 100644 --- a/src/devices/controller.cpp +++ b/src/devices/controller.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/controller.h b/src/devices/controller.h index 7aba2d0ab..67496b64b 100644 --- a/src/devices/controller.h +++ b/src/devices/controller.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/gateway.cpp b/src/devices/gateway.cpp index 0a1ca5266..b162d9037 100644 --- a/src/devices/gateway.cpp +++ b/src/devices/gateway.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/gateway.h b/src/devices/gateway.h index 0b3c26629..df47ddeb0 100644 --- a/src/devices/gateway.h +++ b/src/devices/gateway.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/generic.cpp b/src/devices/generic.cpp index 6915c91f4..9bf74fbad 100644 --- a/src/devices/generic.cpp +++ b/src/devices/generic.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/generic.h b/src/devices/generic.h index dd9dd0946..9d25a72de 100644 --- a/src/devices/generic.h +++ b/src/devices/generic.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/heatpump.cpp b/src/devices/heatpump.cpp index e11fcd6d4..4a01aa34b 100644 --- a/src/devices/heatpump.cpp +++ b/src/devices/heatpump.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/heatpump.h b/src/devices/heatpump.h index eb9c1888a..6dc6e8237 100644 --- a/src/devices/heatpump.h +++ b/src/devices/heatpump.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/mixer.cpp b/src/devices/mixer.cpp index d555dc388..e6d7818d0 100644 --- a/src/devices/mixer.cpp +++ b/src/devices/mixer.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -158,11 +158,11 @@ void Mixer::process_IPMStatusMessage(std::shared_ptr telegram) { // Mixer on a MM10 - 0xAB // e.g. Mixer Module -> All, type 0xAB, telegram: 21 00 AB 00 2D 01 BE 64 04 01 00 (CRC=15) #data=7 -// see also https://github.com/proddy/EMS-ESP/issues/386 +// see also https://github.com/emsesp/EMS-ESP/issues/386 void Mixer::process_MMStatusMessage(std::shared_ptr telegram) { // the heating circuit is determine by which device_id it is, 0x20 - 0x23 // 0x21 is position 2. 0x20 is typically reserved for the WM10 switch module - // see https://github.com/proddy/EMS-ESP/issues/270 and https://github.com/proddy/EMS-ESP/issues/386#issuecomment-629610918 + // see https://github.com/emsesp/EMS-ESP/issues/270 and https://github.com/emsesp/EMS-ESP/issues/386#issuecomment-629610918 has_update(telegram->read_value(flowTempHc_, 1)); // is * 10 has_update(telegram->read_bitvalue(pumpStatus_, 3, 2)); // is 0 or 0x64 (100%), check only bit 2 diff --git a/src/devices/mixer.h b/src/devices/mixer.h index 1afcd235d..c740f1449 100644 --- a/src/devices/mixer.h +++ b/src/devices/mixer.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/solar.cpp b/src/devices/solar.cpp index cd18f746a..b2bb17e40 100644 --- a/src/devices/solar.cpp +++ b/src/devices/solar.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/solar.h b/src/devices/solar.h index 9e5e05e4a..cd18886c1 100644 --- a/src/devices/solar.h +++ b/src/devices/solar.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/switch.cpp b/src/devices/switch.cpp index c7e00fd39..04a54cb8e 100644 --- a/src/devices/switch.cpp +++ b/src/devices/switch.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/switch.h b/src/devices/switch.h index 664553445..d821f1df5 100644 --- a/src/devices/switch.h +++ b/src/devices/switch.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index 16c10b5bc..a6860d5fd 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -36,7 +36,7 @@ Thermostat::Thermostat(uint8_t device_type, uint8_t device_id, uint8_t product_i // if we're on auto mode, register this thermostat if it has a device id of 0x10, 0x17 or 0x18 // or if its the master thermostat we defined - // see https://github.com/proddy/EMS-ESP/issues/362#issuecomment-629628161 + // see https://github.com/emsesp/EMS-ESP/issues/362#issuecomment-629628161 if ((master_thermostat == device_id) || ((master_thermostat == EMSESP_DEFAULT_MASTER_THERMOSTAT) && (device_id < 0x19) && ((actual_master_thermostat == EMSESP_DEFAULT_MASTER_THERMOSTAT) || (device_id < actual_master_thermostat)))) { EMSESP::actual_master_thermostat(device_id); @@ -177,7 +177,7 @@ Thermostat::Thermostat(uint8_t device_type, uint8_t device_id, uint8_t product_i // HA will report an error in the climate component if it doesn't have the setpoint temp, current temperatures and the mode (e.g. auto) // The mode always comes later (1 minute) so we force a read request to suppress HA errors. - // https://github.com/proddy/EMS-ESP/commit/9d5bd11d268a61bbba8dcabacdb96db48b8829ac#commitcomment-48028642 + // https://github.com/emsesp/EMS-ESP/commit/9d5bd11d268a61bbba8dcabacdb96db48b8829ac#commitcomment-48028642 for (uint8_t i = 0; i < set_typeids.size(); i++) { EMSESP::send_read_request(set_typeids[i], device_id); } @@ -618,7 +618,7 @@ void Thermostat::process_RC20Monitor_2(std::shared_ptr telegram) } // 0xAD - for reading the mode from the RC20/ES72 thermostat (0x17) -// see https://github.com/proddy/EMS-ESP/issues/334#issuecomment-611698259 +// see https://github.com/emsesp/EMS-ESP/issues/334#issuecomment-611698259 // offset: 01-nighttemp, 02-daytemp, 03-mode, 0B-program(1-9), 0D-setpoint_roomtemp(temporary) void Thermostat::process_RC20Set_2(std::shared_ptr telegram) { std::shared_ptr hc = heating_circuit(telegram); @@ -765,7 +765,7 @@ void Thermostat::process_RC300Monitor(std::shared_ptr telegram) // if manual, take the current setpoint temp at pos 6 // if auto, take the next setpoint temp at pos 7 // pos 3 is the current target temp and sometimes can be 0 - // see https://github.com/proddy/EMS-ESP/issues/256#issuecomment-585171426 + // see https://github.com/emsesp/EMS-ESP/issues/256#issuecomment-585171426 // pos 3 actual setpoint (optimized), i.e. changes with temporary change, summer/holiday-modes // pos 6 actual setpoint according to programmed changes eco/comfort // pos 7 next setpoint in the future, time to next setpoint in pos 8/9 @@ -909,7 +909,7 @@ void Thermostat::process_RC30Set(std::shared_ptr telegram) { void Thermostat::process_RC35Monitor(std::shared_ptr telegram) { // exit if the 15th byte (second from last) is 0x00, which I think is calculated flow setpoint temperature // with weather controlled RC35s this value is >=5, otherwise can be zero and our setpoint temps will be incorrect - // see https://github.com/proddy/EMS-ESP/issues/373#issuecomment-627907301 + // see https://github.com/emsesp/EMS-ESP/issues/373#issuecomment-627907301 if (telegram->offset > 0 || telegram->message_length < 15) { return; } @@ -1816,7 +1816,7 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co } else if (mode_ == HeatingCircuit::Mode::DAY) { offset = EMS_OFFSET_RC35Set_temp_day; } else { - offset = EMS_OFFSET_RC35Set_seltemp; // https://github.com/proddy/EMS-ESP/issues/310 + offset = EMS_OFFSET_RC35Set_seltemp; // https://github.com/emsesp/EMS-ESP/issues/310 } } else { uint8_t modetype = hc->get_mode_type(); @@ -1827,7 +1827,7 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co } else if (model == EMS_DEVICE_FLAG_JUNKERS) { // figure out if we have older or new thermostats, Heating Circuits on 0x65 or 0x79 - // see https://github.com/proddy/EMS-ESP/issues/335#issuecomment-593324716) + // see https://github.com/emsesp/EMS-ESP/issues/335#issuecomment-593324716) bool old_junkers = (has_flags(EMS_DEVICE_FLAG_JUNKERS_OLD)); if (!old_junkers) { switch (mode) { diff --git a/src/devices/thermostat.h b/src/devices/thermostat.h index 3f7aca05b..0c4ff4390 100644 --- a/src/devices/thermostat.h +++ b/src/devices/thermostat.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -180,7 +180,7 @@ class Thermostat : public EMSdevice { static constexpr uint8_t EMS_OFFSET_RC20Set_mode = 23; // position of thermostat mode static constexpr uint8_t EMS_OFFSET_RC20Set_temp = 28; // position of thermostat setpoint temperature - static constexpr uint8_t EMS_OFFSET_RC20_2_Set_mode = 3; // ES72 - see https://github.com/proddy/EMS-ESP/issues/334 + static constexpr uint8_t EMS_OFFSET_RC20_2_Set_mode = 3; // ES72 - see https://github.com/emsesp/EMS-ESP/issues/334 static constexpr uint8_t EMS_OFFSET_RC20_2_Set_temp_night = 1; // ES72 static constexpr uint8_t EMS_OFFSET_RC20_2_Set_temp_day = 2; // ES72 diff --git a/src/emsdevice.cpp b/src/emsdevice.cpp index 3157a3455..f7f31495f 100644 --- a/src/emsdevice.cpp +++ b/src/emsdevice.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/emsdevice.h b/src/emsdevice.h index 6d7cf71c7..d536b8841 100644 --- a/src/emsdevice.h +++ b/src/emsdevice.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/emsesp.cpp b/src/emsesp.cpp index 046b47181..fbaae3074 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -652,7 +652,7 @@ void EMSESP::process_UBADevices(std::shared_ptr telegram) { // if we haven't already detected this device, request it's version details, unless its us (EMS-ESP) // when the version info is received, it will automagically add the device // always skip modem device 0x0D, it does not reply to version request - // see https://github.com/proddy/EMS-ESP/issues/460#issuecomment-709553012 + // see https://github.com/emsesp/EMS-ESP/issues/460#issuecomment-709553012 if ((device_id != EMSbus::ems_bus_id()) && !(EMSESP::device_exists(device_id)) && (device_id != 0x0D) && (device_id != 0x0C)) { LOG_DEBUG(F("New EMS device detected with ID 0x%02X. Requesting version information."), device_id); send_read_request(EMSdevice::EMS_TYPE_VERSION, device_id); diff --git a/src/emsesp.h b/src/emsesp.h index 54606045a..02cd7ee60 100644 --- a/src/emsesp.h +++ b/src/emsesp.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/emsesp_stub.hpp b/src/emsesp_stub.hpp index eaca14545..be481349c 100644 --- a/src/emsesp_stub.hpp +++ b/src/emsesp_stub.hpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/emsfactory.h b/src/emsfactory.h index 987d080c2..f6f5383cf 100644 --- a/src/emsfactory.h +++ b/src/emsfactory.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/helpers.cpp b/src/helpers.cpp index 63d9e6b26..a86cef399 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/helpers.h b/src/helpers.h index 91c8df200..658b4b80f 100644 --- a/src/helpers.h +++ b/src/helpers.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/locale_EN.h b/src/locale_EN.h index 6eff5980f..e4af2d6b9 100644 --- a/src/locale_EN.h +++ b/src/locale_EN.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/main.cpp b/src/main.cpp index 193a62de6..2d9936858 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/mqtt.cpp b/src/mqtt.cpp index 4f97b4cb6..eb3478129 100644 --- a/src/mqtt.cpp +++ b/src/mqtt.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/mqtt.h b/src/mqtt.h index 3f2ae8a4d..9449acc50 100644 --- a/src/mqtt.h +++ b/src/mqtt.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/roomcontrol.cpp b/src/roomcontrol.cpp index 40df370d1..4288429e2 100644 --- a/src/roomcontrol.cpp +++ b/src/roomcontrol.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/roomcontrol.h b/src/roomcontrol.h index 57fa42c0b..9ed012f71 100644 --- a/src/roomcontrol.h +++ b/src/roomcontrol.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/shower.cpp b/src/shower.cpp index c6e768401..9454a7662 100644 --- a/src/shower.cpp +++ b/src/shower.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -99,7 +99,7 @@ void Shower::send_mqtt_stat(bool state, bool force) { } char s[7]; - Mqtt::publish(F("shower_active"), Helpers::render_boolean(s, state)); // https://github.com/proddy/EMS-ESP/issues/369 + Mqtt::publish(F("shower_active"), Helpers::render_boolean(s, state)); // https://github.com/emsesp/EMS-ESP/issues/369 // if we're in HA mode make sure we've first sent out the HA MQTT Discovery config topic if ((Mqtt::ha_enabled()) && (!ha_configdone_ || force)) { diff --git a/src/shower.h b/src/shower.h index 0c6dc7e3f..4f451b6f9 100644 --- a/src/shower.h +++ b/src/shower.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/system.cpp b/src/system.cpp index e0fd53fce..9377bbe4a 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -131,7 +131,7 @@ void System::syslog_init(bool refresh) { syslog_enabled_ = false; } - // in case service is still running, this flushes the queue - https://github.com/proddy/EMS-ESP/issues/496 + // in case service is still running, this flushes the queue - https://github.com/emsesp/EMS-ESP/issues/496 if (!syslog_enabled_) { syslog_.log_level((uuid::log::Level)-1); syslog_.mark_interval(0); diff --git a/src/system.h b/src/system.h index 7d6ec4c89..b16a56f33 100644 --- a/src/system.h +++ b/src/system.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/telegram.cpp b/src/telegram.cpp index 6a6fa1645..3cd18262a 100644 --- a/src/telegram.cpp +++ b/src/telegram.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -180,10 +180,10 @@ void RxService::add(uint8_t * data, uint8_t length) { // work out depending on the type, where the data message block starts and the message length // EMS 1 has type_id always in data[2], if it gets a ems+ inquiry it will reply with FF but short length // i.e. sending 0B A1 FF 00 01 D8 20 CRC to a MM10 Mixer (ems1.0), the reply is 21 0B FF 00 CRC - // see: https://github.com/proddy/EMS-ESP/issues/380#issuecomment-633663007 + // see: https://github.com/emsesp/EMS-ESP/issues/380#issuecomment-633663007 if (data[2] != 0xFF || length < 6) { // EMS 1.0 - // also handle F7, F9 as EMS 1.0, see https://github.com/proddy/EMS-ESP/issues/109#issuecomment-492781044 + // also handle F7, F9 as EMS 1.0, see https://github.com/emsesp/EMS-ESP/issues/109#issuecomment-492781044 type_id = data[2]; message_data = data + 4; message_length = length - 5; diff --git a/src/telegram.h b/src/telegram.h index 4ad3d13ab..2761f73f7 100644 --- a/src/telegram.h +++ b/src/telegram.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/test/test.cpp b/src/test/test.cpp index cef9ffebf..17805b2c1 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -1,6 +1,6 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -442,7 +442,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { shell.printfln(F("Testing adding a TC100 thermostat to the EMS bus...")); // add a thermostat - add_device(0x18, 202); // Bosch TC100 - https://github.com/proddy/EMS-ESP/issues/474 + add_device(0x18, 202); // Bosch TC100 - https://github.com/emsesp/EMS-ESP/issues/474 // 0x0A uart_telegram({0x98, 0x0B, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}); @@ -497,7 +497,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { add_device(0x10, 158); // RC300 add_device(0x48, 189); // KM200 - // see https://github.com/proddy/EMS-ESP/issues/390 + // see https://github.com/emsesp/EMS-ESP/issues/390 uart_telegram_withCRC("90 48 FF 04 01 A6 5C"); uart_telegram_withCRC("90 48 FF 00 01 A6 4C"); @@ -552,7 +552,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { if (command == "cr100") { shell.printfln(F("Testing CR100")); - add_device(0x18, 157); // Bosch CR100 - https://github.com/proddy/EMS-ESP/issues/355 + add_device(0x18, 157); // Bosch CR100 - https://github.com/emsesp/EMS-ESP/issues/355 // RCPLUSStatusMessage_HC1(0x01A5) // 98 00 FF 00 01 A5 00 CF 21 2E 00 00 2E 24 03 25 03 03 01 03 25 00 C8 00 00 11 01 03 (no CRC) @@ -756,7 +756,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { add_device(0x08, 123); // Nefit Trendline // add a thermostat - add_device(0x18, 157); // Bosch CR100 - https://github.com/proddy/EMS-ESP/issues/355 + add_device(0x18, 157); // Bosch CR100 - https://github.com/emsesp/EMS-ESP/issues/355 // RCPLUSStatusMessage_HC1(0x01A5) - HC1 uart_telegram({0x98, 0x00, 0xFF, 0x00, 0x01, 0xA5, 0x00, 0xCF, 0x21, 0x2E, 0x00, 0x00, 0x2E, 0x24, 0x03, 0x25, 0x03, 0x03, 0x01, 0x03, 0x25, 0x00, 0xC8, 0x00, 0x00, 0x11, 0x01, 0x03}); @@ -829,7 +829,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { uart_telegram({0x1B, 0x5B, 0xFD, 0x2D, 0x9E, 0x3A, 0xB6, 0xE5, 0x02, 0x20, 0x33, 0x30, 0x32, 0x3A, 0x20, 0x5B, 0x73, 0xFF, 0xFF, 0xCB, 0xDF, 0xB7, 0xA7, 0xB5, 0x67, 0x77, 0x77, 0xE4, 0xFF, 0xFD, 0x77, 0xFF}); } - // https://github.com/proddy/EMS-ESP/issues/380#issuecomment-633663007 + // https://github.com/emsesp/EMS-ESP/issues/380#issuecomment-633663007 if (command == "rx3") { shell.printfln(F("Testing rx3...")); diff --git a/src/test/test.h b/src/test/test.h index dfb8d8b1f..fb991cdbc 100644 --- a/src/test/test.h +++ b/src/test/test.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify diff --git a/src/uart/emsuart_esp32.cpp b/src/uart/emsuart_esp32.cpp index 3317eb371..4bf88d954 100644 --- a/src/uart/emsuart_esp32.cpp +++ b/src/uart/emsuart_esp32.cpp @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ */ /* - * ESP32 UART port by @ArwedL and improved by @MichaelDvP. See https://github.com/proddy/EMS-ESP/issues/380 + * ESP32 UART port by @ArwedL and improved by @MichaelDvP. See https://github.com/emsesp/EMS-ESP/issues/380 */ #if defined(ESP32) diff --git a/src/uart/emsuart_esp32.h b/src/uart/emsuart_esp32.h index f2ec41b08..61b1bcb47 100644 --- a/src/uart/emsuart_esp32.h +++ b/src/uart/emsuart_esp32.h @@ -1,5 +1,5 @@ /* - * EMS-ESP - https://github.com/proddy/EMS-ESP + * EMS-ESP - https://github.com/emsesp/EMS-ESP * Copyright 2020 Paul Derbyshire * * This program is free software: you can redistribute it and/or modify @@ -18,7 +18,7 @@ /* - * ESP32 UART port by @ArwedL and improved by @MichaelDvP. See https://github.com/proddy/EMS-ESP/issues/380 + * ESP32 UART port by @ArwedL and improved by @MichaelDvP. See https://github.com/emsesp/EMS-ESP/issues/380 */ #if defined(ESP32) diff --git a/src/version.h b/src/version.h index f89aba31b..41d49a009 100644 --- a/src/version.h +++ b/src/version.h @@ -1,2 +1,2 @@ -#define EMSESP_APP_VERSION "3.0.0b7" +#define EMSESP_APP_VERSION "3.0.1b0" #define EMSESP_PLATFORM "ESP32"