Merge branch 'current' into beta

This commit is contained in:
Jesse Hills 2021-05-12 09:57:33 +12:00
commit 90d94eb57e
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
15 changed files with 95 additions and 36 deletions

View File

@ -387,3 +387,19 @@ All changes
- docs: Update scd30 docs to show sensors are optional :docspr:`970` by :ghuser:`jesserockz` (cherry-picked)
- esphome: fix esp8266 remote_transmitter using incorrect timings :esphomepr:`1465` by :ghuser:`hcoohb` (cherry-picked)
- esphome: rc522 increased retry loop count :esphomepr:`1506` by :ghuser:`glmnet` (cherry-picked)
Past Changelogs
---------------
.. toctree::
:maxdepth: 1
v1.15.0
v1.14.0
v1.13.0
v1.12.0
v1.11.0
v1.10.0
v1.9.0
v1.8.0
v1.7.0

View File

@ -221,3 +221,20 @@ All changes
- docs: Update canbus.rst :docspr:`1115` by :ghuser:`meijerwynand`
- docs: Update diy.rst :docspr:`1114` by :ghuser:`murilobaliego`
- docs: Update email addresses :docspr:`1122` by :ghuser:`jesserockz`
Past Changelogs
---------------
.. toctree::
:maxdepth: 1
v1.16.0
v1.15.0
v1.14.0
v1.13.0
v1.12.0
v1.11.0
v1.10.0
v1.9.0
v1.8.0
v1.7.0

View File

@ -9,7 +9,7 @@ RC522 RFID
.. _rc522-component:
The ``rc522`` component allows you to use RC522 RFID controllers
(`datasheet <hthttps://www.nxp.com/docs/en/data-sheet/MFRC522.pdff>`__, `Ali Express <https://es.aliexpress.com/item/1260729519.html>`__)
(`datasheet <https://www.nxp.com/docs/en/data-sheet/MFRC522.pdf>`__, `Ali Express <https://es.aliexpress.com/item/1260729519.html>`__)
with ESPHome. ESPHome can read the tag UID from it, every RFID tag comes with a unique
UID value. Each known tag can be associated to a binary sensor, or you can use the tag information directly.
See :ref:`rc522-setting_up_tags` for information on how to setup individual binary sensors for this component.

View File

@ -23,7 +23,7 @@ request so it will be added (see FAQ).
+---------------------------------------+---------------------+----------------------+
| Daikin | ``daikin`` | yes |
+---------------------------------------+---------------------+----------------------+
| Fujitsu General | ``fujitsu_general`` | |
| Fujitsu General | ``fujitsu_general`` | yes |
+---------------------------------------+---------------------+----------------------+
| Mitsubishi | ``mitsubishi`` | |
+---------------------------------------+---------------------+----------------------+

View File

@ -152,6 +152,9 @@ These temperatures are used when the device first starts up.
**At least one of** ``default_target_temperature_low`` **and** ``default_target_temperature_high``
**must be specified.**
``min_temperature`` and ``max_temperature`` from the base climate component **are used to define the range**
of allowed temperature values in the thermostat component. See :doc:`/components/climate/index`
Heating and Cooling Actions
***************************
@ -267,7 +270,9 @@ Advanced Options
.. note::
While this platform uses the term temperature everywhere, it can also be used to regulate other values.
For example, controlling humidity is also possible with this platform.
For example, controlling humidity is also possible with this platform. Note that ``min_temperature`` and
``max_temperature`` from the base climate component are used the define the range of adjustability and the
defaults will probably not make sense for control of things like humidity. See :doc:`/components/climate/index`
Bang-bang vs. Thermostat
------------------------

View File

@ -82,8 +82,9 @@ This action makes the given deep sleep component enter deep sleep immediately.
on_...:
then:
- deep_sleep.enter: deep_sleep_1
sleep_duration: 20min
- deep_sleep.enter:
id: deep_sleep_1
sleep_duration: 20min
Configuration options:

View File

@ -34,10 +34,10 @@ There are numerous board types out there. Some initialize differently as well. T
cs_pin: D1
dc_pin: D2
rotation: 0
devicewidth: 128
deviceheight: 160
colstart: 0
rowstart: 0
device_width: 128
device_height: 160
col_start: 0
row_start: 0
eightbitcolor: true
update_interval: 5s

View File

@ -49,6 +49,11 @@ configuration.
.. code-block:: yaml
# Example configuration entry
font:
- file: 'fonts/Comic Sans MS.ttf'
id: font1
size: 8
spi:
clk_pin: D0
mosi_pin: D1
@ -62,7 +67,7 @@ configuration.
model: 2.90in
full_update_every: 30
lambda: |-
it.print(0, 0, id(font), "Hello World!");
it.print(0, 0, id(font1), "Hello World!");
Configuration variables:
------------------------
@ -73,7 +78,7 @@ Configuration variables:
- ``1.54in``
- ``2.13in`` (not tested)
- ``2.13in-ttgo`` (T5_V2.3 tested)
- ``2.13in-ttgo`` (T5_V2.3 tested. Also works for Wemos D1 Mini ePaper Shield 2.13 1.0.0 "LOLIN")
- ``2.13in-ttgo-b73`` (T5_V2.3 with B73 display tested)
- ``2.13in-ttgo-b1`` (T5_V2.3 with B1 display tested)
- ``2.70in`` (currently not working with the HAT Rev 2.1 version)

View File

@ -4,11 +4,12 @@ CSE7766 Power Sensor
.. seo::
:description: Instructions for setting up CSE7766 power sensors for the Sonoff Pow R2
:image: cse7766.png
:keywords: cse7766, Sonoff Pow R2
:keywords: cse7766, cse7759b, Sonoff Pow R2
The ``cse7766`` sensor platform allows you to use your CSE7766 voltage/current and power sensors
(`datasheet <http://dl.itead.cc/S31/CSE7766.pdf>`__) sensors with
ESPHome. This sensor is commonly found in Sonoff POW R2.
ESPHome. This sensor is commonly found in Sonoff POW R2. CSE7759B is similar to CSE7766
and works with this integration.
As the communication with the CSE7766 done using UART, you need
to have an :ref:`UART bus <uart>` in your configuration with the ``rx_pin`` connected to the CSE7766.

View File

@ -4,11 +4,13 @@ HLW8012 Power Sensor
.. seo::
:description: Instructions for setting up HLW8012 power sensors for the Sonoff Pow R1
:image: hlw8012.png
:keywords: HLW8012, Sonoff Pow R1
:keywords: HLW8012, CSE7759, BL0937, Sonoff Pow R1
The ``hlw8012`` sensor platform allows you to use your HLW8012 voltage/current and power sensors
(`datasheet <https://github.com/xoseperez/hlw8012/blob/master/docs/HLW8012.pdf>`__) sensors with
ESPHome. This sensor is commonly found in Sonoff POWs.
ESPHome. This sensor is commonly found in Sonoff POWs. CSE7759 and BL0937 are similar to HLW8012
and work with this integration. Beware that CSE7759B is different and should be used
with the :doc:`CSE7766 <cse7766>` integration.
This sensor has two data outputs which both encode values using the frequency of a modulated signal: CF and CF1.
CF's frequency is proportional to the (active) power measured and CF1 is proportional to the current/voltage. Using

View File

@ -48,8 +48,9 @@ Configuration variables:
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
- **total** (*Optional*): Report the total number of pulses
All options from :ref:`Sensor <config-sensor>`.
- **total** (*Optional*): Report the total number of pulses.
- All options from :ref:`Sensor <config-sensor>`.
- All other options from :ref:`Sensor <config-sensor>`.
@ -75,7 +76,7 @@ count the light pulses on a power meter, you can do the following:
unit_of_measurement: 'kW'
name: 'Power Meter House'
filters:
- multiply: 0.06
- multiply: 0.06 # (60s/1000 pulses per kWh)
Counting total pulses
@ -94,13 +95,13 @@ measure the total consumed energy in kWh.
unit_of_measurement: 'kW'
name: 'Power Meter House'
filters:
- multiply: 0.06
- multiply: 0.06 # (60s/1000 pulses per kWh)
total:
unit_of_measurement: 'kWh'
name: 'Energy Meter House'
filters:
- multiply: 0.001
- multiply: 0.001 # (1/1000 pulses per kWh)
See Also
--------

View File

@ -179,8 +179,8 @@ Configuration variables:
- **eap** (*Optional*): See :ref:`eap`.
- **channel** (*Optional*, int): The channel of the network (1-14). If given, only connects to networks
that are on this channel.
- **bssid** (*Optional*, string): Optionally define a BSSID (MAC-Address) of the network to connect to.
This can be used to further restrict which networks to connect to.
- **bssid** (*Optional*, string): The connection's BSSID (MAC address). BSSIDs must consist of six
two-digit hexadecimal values separated by colon characters ("``:``"). All letters must be in upper case.
- **hidden** (*Optional*, boolean): Whether this network is hidden. Defaults to false.
If you add this option you also have to specify ssid.
- **priority** (*Optional*, float): The priority of this network. After each time, the network with

View File

@ -24,6 +24,18 @@ And... that should already be it :)
:align: center
:width: 80.0%
.. note::
Some energy meters have an exposed S0 port (which essentially just is a switch that closes), if
that is the case the photodiode can be replaced with the following connection.
.. code-block::
S0 ------------ VCC
S0 --+-- 10k -- GND
. |
. +--------- GPIO12
For ESPHome, you can then use the
:doc:`pulse counter sensor </components/sensor/pulse_counter>` using below configuration:
@ -35,7 +47,7 @@ For ESPHome, you can then use the
unit_of_measurement: 'kW'
name: 'Power Meter'
filters:
- multiply: 0.06
- multiply: 0.06 # (60s/1000 pulses per kWh)
Adjust ``GPIO12`` to match your set up of course. The output from the pulse counter sensor is in
``pulses/min`` and we also know that 1000 pulses from the LED should equal 1kWh of power usage.

View File

@ -248,7 +248,6 @@ added ``board``, and overridden ``name`` substitutions):
platform: ESP8266
board: esp01_1m
includes: []
board_flash_mode: dout
libraries: []
esp8266_restore_from_flash: false
build_path: device01

View File

@ -96,12 +96,12 @@ That's no good. Here are some steps that resolve some problems:
How to submit an issue report
-----------------------------
First of all, thank you very much to everybody submitting issue reports! While I try to test ESPHome/yaml as much as
I can using my own hardware, I don't own every single device type and mostly only do tests with my own home automation
system. When doing some changes in the core, it can quickly happen that something somewhere breaks. Issue reports are a
great way for me to track and (hopefully) fix issues, so thank you!
First of all, thank you very much to everybody submitting issue reports! While we try to test ESPHome/YAML as much as
we can using our available hardware, we don't own every single device type and rely on testing done by the community
and the contributors. When doing some changes in the core, it can quickly happen that something somewhere breaks.
Issue reports are a great way for us to track and (hopefully) fix issues, so thank you!
For me to fix the issue quickly, there are some things that would be really helpful:
For us to fix the issue quickly, there are some things that would be really helpful:
1. **Just writing "X doesn't work" or "X gives bug" is not helpful!!!** Seriously, how do you expect
help given just that information?
@ -121,7 +121,7 @@ It's simple. Run:
.. code-block:: bash
pip install -U esphome
pip3 install -U esphome
# From docker:
docker pull esphome/esphome:latest
@ -139,7 +139,7 @@ by installing the tested beta:
.. code-block:: bash
# For pip-based installs
pip install --pre -U esphome
pip3 install --pre -U esphome
# For docker-based installs
docker run [...] -it esphome/esphome:beta livingroom.yaml run
@ -155,13 +155,13 @@ How do I use the latest bleeding edge version?
----------------------------------------------
First, a fair warning that the latest bleeding edge version is not always stable and might have issues.
If you find some, please do however report them if you have time :)
If you find some, please do however report them.
To install the dev version of ESPHome:
- In Hass.io: Add the ESPHome repository `https://github.com/esphome/hassio <https://github.com/esphome/hassio>`
in Add-on store -> Repositories. Then install the add-on ``ESPHome Dev``
- From ``pip``: Run ``pip install https://github.com/esphome/esphome/archive/dev.zip``
- From ``pip``: Run ``pip3 install https://github.com/esphome/esphome/archive/dev.zip``
- From docker, use the `esphome/esphome:dev <https://hub.docker.com/r/esphome/esphome/tags?page=1&name=dev>`__ image
.. code-block:: bash
@ -192,7 +192,7 @@ request in the `ESPHome feature request tracker <https://github.com/esphome/feat
I have a question... How can I contact you?
-------------------------------------------
Sure! I'd be happy to help :) You can contact me here:
Sure! We are be happy to help :) You can contact us here:
- `Discord <https://discord.gg/KhAMKrd>`__
- `Home Assistant Community Forums <https://community.home-assistant.io/c/third-party/esphome>`__
@ -206,8 +206,8 @@ Sure! I'd be happy to help :) You can contact me here:
My node keeps reconnecting randomly
-----------------------------------
Jep, that's a known issue. However, it seems to be very low-level and I don't really know
how to solve it. I'm working on possible workarounds for the issue but currently I do
Jep, that's a known issue. However, it seems to be very low-level and we don't really know
how to solve it. We are working on possible workarounds for the issue but currently we do
not have a real solution.
Some steps that can help with the issue: