From f7897db660b27112902ea122fc1a8b41a822965e Mon Sep 17 00:00:00 2001 From: Zoltan Kozma Date: Wed, 10 Aug 2022 16:44:12 +0100 Subject: [PATCH 1/6] Added how to use the built-in battery voltage divider network in the Firebeetle ESP32-E --- components/sensor/adc.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/components/sensor/adc.rst b/components/sensor/adc.rst index 59208db6c..f87173530 100644 --- a/components/sensor/adc.rst +++ b/components/sensor/adc.rst @@ -119,6 +119,24 @@ Multiple ADC Sensors You can only use as many ADC sensors as your device can support. The ESP8266 only has one ADC and can only handle one sensor at a time. For example, on the ESP8266, you can measure the value of an analog pin (A0 on ESP8266) or VCC (see above) but NOT both simultaneously. Using both at the same time will result in incorrect sensor values. +Measuring battery voltage on the Firebeetle ESP32-E +--------------------------------------------------- + +This board has a internal voltage divider and the battery voltage can easily be measured like this using 11dB attenuation +on GPIO34 + +.. code-block:: yaml + + - platform: adc + name: "Battery voltage" + pin: GPIO34 + accuracy_decimals: 2 + update_interval: 60s + attenuation: 11dB + filters: + - multiply: 2.0 # The voltage divider requires us to multiply by 2 + +This works on SKU:DFR0654. For more information see: `manufacturer's website `__ See Also -------- From 94483b0fe917f91b9a34ffa0e763aabaa6ac7d03 Mon Sep 17 00:00:00 2001 From: Zoltan Kozma Date: Wed, 10 Aug 2022 17:06:22 +0100 Subject: [PATCH 2/6] indent --- components/sensor/adc.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/sensor/adc.rst b/components/sensor/adc.rst index f87173530..91f42d870 100644 --- a/components/sensor/adc.rst +++ b/components/sensor/adc.rst @@ -127,14 +127,14 @@ on GPIO34 .. code-block:: yaml - - platform: adc - name: "Battery voltage" - pin: GPIO34 - accuracy_decimals: 2 - update_interval: 60s - attenuation: 11dB - filters: - - multiply: 2.0 # The voltage divider requires us to multiply by 2 + - platform: adc + name: "Battery voltage" + pin: GPIO34 + accuracy_decimals: 2 + update_interval: 60s + attenuation: 11dB + filters: + - multiply: 2.0 # The voltage divider requires us to multiply by 2 This works on SKU:DFR0654. For more information see: `manufacturer's website `__ From ccebcb8968fc265000c84edcc82a9ab5d8d21a57 Mon Sep 17 00:00:00 2001 From: Zoltan Kozma Date: Wed, 10 Aug 2022 18:51:56 +0100 Subject: [PATCH 3/6] dots --- components/sensor/adc.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/sensor/adc.rst b/components/sensor/adc.rst index 91f42d870..21fa50d61 100644 --- a/components/sensor/adc.rst +++ b/components/sensor/adc.rst @@ -123,7 +123,7 @@ Measuring battery voltage on the Firebeetle ESP32-E --------------------------------------------------- This board has a internal voltage divider and the battery voltage can easily be measured like this using 11dB attenuation -on GPIO34 +on GPIO34. .. code-block:: yaml @@ -136,7 +136,7 @@ on GPIO34 filters: - multiply: 2.0 # The voltage divider requires us to multiply by 2 -This works on SKU:DFR0654. For more information see: `manufacturer's website `__ +This works on SKU:DFR0654. For more information see: `manufacturer's website `__. See Also -------- From 3a6f56a4704fa8110a45ff3ef544e1838c10c054 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 15 Aug 2022 08:23:37 +1200 Subject: [PATCH 4/6] Bump version to 2022.8.0b2 --- Doxygen | 2 +- Makefile | 2 +- _static/version | 2 +- conf.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doxygen b/Doxygen index b57e22baa..20d667f0c 100644 --- a/Doxygen +++ b/Doxygen @@ -38,7 +38,7 @@ PROJECT_NAME = "ESPHome" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2022.8.0b1 +PROJECT_NUMBER = 2022.8.0b2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/Makefile b/Makefile index 6ac329968..5063510da 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ESPHOME_PATH = ../esphome -ESPHOME_REF = 2022.8.0b1 +ESPHOME_REF = 2022.8.0b2 .PHONY: html html-strict cleanhtml deploy help live-html Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png minify diff --git a/_static/version b/_static/version index 4715f73e3..9babf5d49 100644 --- a/_static/version +++ b/_static/version @@ -1 +1 @@ -2022.8.0b1 \ No newline at end of file +2022.8.0b2 \ No newline at end of file diff --git a/conf.py b/conf.py index 49a62e4d2..5ac44d071 100644 --- a/conf.py +++ b/conf.py @@ -68,7 +68,7 @@ author = "ESPHome" # The short X.Y version. version = "2022.8" # The full version, including alpha/beta/rc tags. -release = "2022.8.0b1" +release = "2022.8.0b2" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. From 9643862726c95c031e7558e859cc65e6b43eb6af Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 15 Aug 2022 08:24:35 +1200 Subject: [PATCH 5/6] Update changelog for 2022.8.0b2 --- changelog/2022.8.0.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/changelog/2022.8.0.rst b/changelog/2022.8.0.rst index 3fd816f7a..db7f8103b 100644 --- a/changelog/2022.8.0.rst +++ b/changelog/2022.8.0.rst @@ -37,6 +37,15 @@ Breaking Changes - Extend ST7789V component to support additional displays :esphomepr:`3651` by :ghuser:`kbx81` (breaking-change) - Refactor BedJet climate into Hub component :esphomepr:`3522` by :ghuser:`jhansche` (breaking-change) +Beta Changes +^^^^^^^^^^^^ + +- Improve Web view for Climate components :esphomepr:`3706` by :ghuser:`anatoly-savchenkov` +- Add vector include :esphomepr:`3707` by :ghuser:`jesserockz` +- Add state_class total :esphomepr:`3608` by :ghuser:`peterg79` +- add gradient color V2.0 :esphomepr:`3709` by :ghuser:`nielsnl68` + + All changes ^^^^^^^^^^^ @@ -106,6 +115,10 @@ All changes - Bump flake8 from 4.0.1 to 5.0.4 :esphomepr:`3703` by :ghuser:`dependabot[bot]` - Bump pylint from 2.14.4 to 2.14.5 :esphomepr:`3697` by :ghuser:`dependabot[bot]` - Add priority to on_shutdown trigger :esphomepr:`3644` by :ghuser:`RoboMagus` +- Improve Web view for Climate components :esphomepr:`3706` by :ghuser:`anatoly-savchenkov` +- Add vector include :esphomepr:`3707` by :ghuser:`jesserockz` +- Add state_class total :esphomepr:`3608` by :ghuser:`peterg79` +- add gradient color V2.0 :esphomepr:`3709` by :ghuser:`nielsnl68` Past Changelogs --------------- From f98d2df4d5cf47c541886340fab078ebef8fcbd5 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 15 Aug 2022 08:25:10 +1200 Subject: [PATCH 6/6] Update supporters for 2022.8.0b2 --- guides/supporters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/supporters.rst b/guides/supporters.rst index 60a83ca1c..4138a2946 100644 --- a/guides/supporters.rst +++ b/guides/supporters.rst @@ -899,4 +899,4 @@ Contributors - `Zack Barett (@zsarnett) `__ - `Christian Zufferey (@zuzu59) `__ -*This page was last updated August 10, 2022.* +*This page was last updated August 15, 2022.*