mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-01 03:51:36 +01:00
commit
250df268cd
2
Doxygen
2
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 = 1.16.0b5
|
||||
PROJECT_NUMBER = 1.16.0b6
|
||||
|
||||
# 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
|
||||
|
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
ESPHOME_PATH = ../esphome
|
||||
ESPHOME_REF = v1.16.0b5
|
||||
ESPHOME_REF = v1.16.0b6
|
||||
|
||||
.PHONY: html html-strict cleanhtml deploy help webserver Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png
|
||||
|
||||
|
@ -1 +1 @@
|
||||
1.16.0b5
|
||||
1.16.0b6
|
@ -269,3 +269,12 @@ All changes
|
||||
- docs: Remove reference to measuring humidity :docspr:`953` by :ghuser:`tomlut`
|
||||
- docs: Fix human-readable uptime example so it compiles :docspr:`949` by :ghuser:`oddsockmachine`
|
||||
- esphome: SPI wasnt being disabled after display update :esphomepr:`1493` by :ghuser:`SenexCrenshaw`
|
||||
- esphome: Add support for string-type Tuya datapoints :esphomepr:`1488` by :ghuser:`pauln`
|
||||
- esphome: Add healthcheck :esphomepr:`1492` by :ghuser:`Klarstein`
|
||||
- docs: Add link to baseboard thermostat by rjmurph2241 :docspr:`958` by :ghuser:`rjmurph2241`
|
||||
- docs: Document color_temp :docspr:`951` by :ghuser:`alexyao2015`
|
||||
- docs: Update tuya.rst :docspr:`950` by :ghuser:`ricovangenugten`
|
||||
- docs: Minor uptime docs fixes :docspr:`948` by :ghuser:`foxsam21`
|
||||
- esphome: Support for MHO-C401 (fix) :esphomepr:`1486` by :ghuser:`nikito7` (new-integration)
|
||||
- docs: Update image type for st7789 display :docspr:`945` by :ghuser:`gerard33`
|
||||
- docs: Add MHO-C401 :docspr:`957` by :ghuser:`nikito7`
|
||||
|
@ -120,7 +120,7 @@ Wi-Fi, API, and OTA configuration. It defines:
|
||||
- time, for display...on the display
|
||||
- the SPI configuration for communicating with the display
|
||||
- the display component itself, for use on the TTGO module
|
||||
- a lambada which paints the screen as shown in the picture above:
|
||||
- a lambda which paints the screen as shown in the picture above:
|
||||
|
||||
- blue borders, with a sort of "title bar" along the top
|
||||
- "ESPHome" in yellow in the top left corner
|
||||
@ -130,7 +130,7 @@ Wi-Fi, API, and OTA configuration. It defines:
|
||||
To use this example, you need only to provide the font file, "Helvetica.ttf" (or update it to
|
||||
a font of your choosing) and an image file, "image.png" (it may also be a ".jpg"). Place these
|
||||
into the same directory as the YAML configuration file itself. Comment/Uncomment/Modify the
|
||||
appropriate lines of C code in the lambada to hide or show the image or text as you wish.
|
||||
appropriate lines of C code in the lambda to hide or show the image or text as you wish.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@ -222,7 +222,7 @@ appropriate lines of C code in the lambada to hide or show the image or text as
|
||||
- file: "image.png"
|
||||
id: my_image
|
||||
resize: 200x200
|
||||
type: RGB565
|
||||
type: RGB24
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
|
@ -81,8 +81,8 @@ Configuration variables:
|
||||
change the brightness and would have to toggle the light using the physical buttons.
|
||||
- **min_value** (*Optional*, int, default 0): The lowest dimmer value allowed. My dimmer had a
|
||||
minimum of 25 and wouldn't even accept anything lower, but this option is available if necessary.
|
||||
- **max_value** (*Optional*, int, default 255): The highest dimmer value allowed. My dimmer had a
|
||||
maximum of 255 which seems like it would be the typical value.
|
||||
- **max_value** (*Optional*, int, default 255): The highest dimmer value allowed. Most dimmers have a
|
||||
maximum of 255, but dimmers with a maximum of 1000 can also be found. Try what works best.
|
||||
- All other options from :ref:`Light <config-light>`.
|
||||
- At least one of *dimmer_datapoint* or *switch_datapoint* must be provided.
|
||||
|
||||
|
BIN
components/sensor/images/xiaomi_mhoc401.jpg
Normal file
BIN
components/sensor/images/xiaomi_mhoc401.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
@ -41,14 +41,14 @@ with human readable output.
|
||||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
||||
id: uptime
|
||||
id: uptime_sensor
|
||||
update_interval: 60s
|
||||
on_raw_value:
|
||||
then:
|
||||
- text_sensor.template.publish:
|
||||
id: uptime_human
|
||||
state: !lambda |-
|
||||
int seconds = round(id(uptime).raw_state);
|
||||
int seconds = round(id(uptime_sensor).raw_state);
|
||||
int days = seconds / (24 * 3600);
|
||||
seconds = seconds % (24 * 3600);
|
||||
int hours = seconds / 3600;
|
||||
|
@ -4,7 +4,7 @@ Xiaomi Mijia BLE Sensors
|
||||
.. seo::
|
||||
:description: Instructions for setting up Xiaomi Mi Home (Mijia) bluetooth-based sensors in ESPHome.
|
||||
:image: xiaomi_mijia_logo.jpg
|
||||
:keywords: Xiaomi, Mi Home, Mijia, BLE, Bluetooth, HHCCJCY01, GCLS002, HHCCPOT002, LYWSDCGQ, LYWSD02, CGG1, LYWSD03MMC, CGD1, JQJCY01YM, MUE4094RT, WX08ZM
|
||||
:keywords: Xiaomi, Mi Home, Mijia, BLE, Bluetooth, HHCCJCY01, GCLS002, HHCCPOT002, LYWSDCGQ, LYWSD02, CGG1, LYWSD03MMC, CGD1, JQJCY01YM, MUE4094RT, WX08ZM, MHO, C401, MHOC401
|
||||
|
||||
The ``xiaomi_ble`` sensor platform lets you track the output of Xiaomi Bluetooth Low Energy devices using the :doc:`/components/esp32_ble_tracker`. This component will track, for example, the temperature, humidity, moisture, conductivity, illuminance, formaldehyde, mosquito tablet and battery level of the device every time the sensor sends out a BLE broadcast. Contrary to other implementations, ``xiaomi_ble`` listense passively to advertisement packets and does not pair with the device. Hence ESPHome has no impact on battery life.
|
||||
|
||||
@ -121,6 +121,8 @@ Hygro thermometer, rectangular body, e-ink display, broadcasts temperature, humi
|
||||
:align: center
|
||||
:width: 30.0%
|
||||
|
||||
- Battery Level, needs xiaomi firmware 1.1.2_0085
|
||||
|
||||
Configuration example:
|
||||
|
||||
.. code-block:: yaml
|
||||
@ -206,6 +208,32 @@ Configuration example for ATC MiThermometer firmware set to "Custom" advertiseme
|
||||
battery_voltage:
|
||||
name: "ATC Battery-Voltage"
|
||||
|
||||
MHO-C401
|
||||
**********
|
||||
|
||||
Hygro thermometer, square body, e-ink display, encrypted, broadcasts temperature, humidity and battery status. Requires a bindkey in order to decrypt the received data (see :ref:`obtaining_the_bindkey`).
|
||||
|
||||
.. figure:: images/xiaomi_mhoc401.jpg
|
||||
:align: center
|
||||
:width: 30.0%
|
||||
|
||||
( MHO-C201 doesn't have BT )
|
||||
|
||||
Configuration example:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sensor:
|
||||
- platform: xiaomi_mhoc401
|
||||
mac_address: "A4:C1:38:B1:CD:7F"
|
||||
bindkey: "eef418daf699a0c188f3bfd17e4565d9"
|
||||
temperature:
|
||||
name: "MHOC401 Temperature"
|
||||
humidity:
|
||||
name: "MHOC401 Humidity"
|
||||
battery_level:
|
||||
name: "MHOC401 Battery Level"
|
||||
|
||||
CGD1
|
||||
****
|
||||
|
||||
|
2
conf.py
2
conf.py
@ -72,7 +72,7 @@ author = 'Otto Winter'
|
||||
# The short X.Y version.
|
||||
version = '1.16'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.16.0b5'
|
||||
release = '1.16.0b6'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
@ -44,6 +44,7 @@ Blog Posts & Videos
|
||||
- `Sonoff L1 LED Strip <https://emorydunn.com/blog/2020/08/10/sonoff-l1-home-assistant/>`__ by :ghuser:`emorydunn`
|
||||
- `ESPHome for SP501E LED Controller <https://margau.net/posts/2020-11-21-2h-led-hack/>`__ by `margau <https://margau.net>`__
|
||||
- `4$ Xiaomi mijia thermometer LYWSD03MMC + ESP32 + ESPhome <https://omarghader.github.io/how-to-monitor-your-home-temperature-with-esp32-and-xiaomi-mijia-using-esphome/>`__ by `Omar GHADER <https://omarghader.github.io/post>`__
|
||||
- `Baseboard (Line Voltage) Thermostat from Smart Switch <https://github.com/rjmurph2241/baseboard-heating-thermostat>`__ by :ghuser:`rjmurph2241`
|
||||
|
||||
Custom Components & Code
|
||||
------------------------
|
||||
|
@ -124,7 +124,7 @@ Contributors
|
||||
- `Alexander Leisentritt (@Alex9779) <https://github.com/Alex9779>`__ - 10 contributions
|
||||
- `Alexandre Danault (@AlexDanault) <https://github.com/AlexDanault>`__ - 1 contribution
|
||||
- `Alex Mekkering (@AlexMekkering) <https://github.com/AlexMekkering>`__ - 3 contributions
|
||||
- `Alex (@alexyao2015) <https://github.com/alexyao2015>`__ - 3 contributions
|
||||
- `Alex (@alexyao2015) <https://github.com/alexyao2015>`__ - 4 contributions
|
||||
- `Amish Vishwakarma (@amishv) <https://github.com/amishv>`__ - 3 contributions
|
||||
- `András Bíró (@andrasbiro) <https://github.com/andrasbiro>`__ - 1 contribution
|
||||
- `Andreas Hergert (@andreashergert1984) <https://github.com/andreashergert1984>`__ - 1 contribution
|
||||
@ -230,13 +230,13 @@ Contributors
|
||||
- `Eric Hiller (@erichiller) <https://github.com/erichiller>`__ - 1 contribution
|
||||
- `Ernst Klamer (@Ernst79) <https://github.com/Ernst79>`__ - 1 contribution
|
||||
- `escoand (@escoand) <https://github.com/escoand>`__ - 7 contributions
|
||||
- `esphomebot (@esphomebot) <https://github.com/esphomebot>`__ - 9 contributions
|
||||
- `esphomebot (@esphomebot) <https://github.com/esphomebot>`__ - 10 contributions
|
||||
- `Evan Coleman (@evandcoleman) <https://github.com/evandcoleman>`__ - 3 contributions
|
||||
- `Malte Franken (@exxamalte) <https://github.com/exxamalte>`__ - 2 contributions
|
||||
- `Fabian Affolter (@fabaff) <https://github.com/fabaff>`__ - 29 contributions
|
||||
- `C W (@fake-name) <https://github.com/fake-name>`__ - 2 contributions
|
||||
- `Christian Ferbar (@ferbar) <https://github.com/ferbar>`__ - 2 contributions
|
||||
- `foxsam21 (@foxsam21) <https://github.com/foxsam21>`__ - 1 contribution
|
||||
- `foxsam21 (@foxsam21) <https://github.com/foxsam21>`__ - 2 contributions
|
||||
- `Fractal147 (@Fractal147) <https://github.com/Fractal147>`__ - 1 contribution
|
||||
- `Francis-labo (@Francis-labo) <https://github.com/Francis-labo>`__ - 1 contribution
|
||||
- `Francisk0 (@Francisk0) <https://github.com/Francisk0>`__ - 1 contribution
|
||||
@ -250,7 +250,7 @@ Contributors
|
||||
- `mr G1K (@G1K) <https://github.com/G1K>`__ - 2 contributions
|
||||
- `galagaking (@galagaking) <https://github.com/galagaking>`__ - 1 contribution
|
||||
- `Geoff Davis (@geoffdavis) <https://github.com/geoffdavis>`__ - 2 contributions
|
||||
- `Gerard (@gerard33) <https://github.com/gerard33>`__ - 1 contribution
|
||||
- `Gerard (@gerard33) <https://github.com/gerard33>`__ - 2 contributions
|
||||
- `Giovanni (@Gio-dot) <https://github.com/Gio-dot>`__ - 2 contributions
|
||||
- `gitolicious (@gitolicious) <https://github.com/gitolicious>`__ - 16 contributions
|
||||
- `The Gitter Badger (@gitter-badger) <https://github.com/gitter-badger>`__ - 1 contribution
|
||||
@ -315,7 +315,7 @@ Contributors
|
||||
- `Kevin O'Rourke (@kevinior) <https://github.com/kevinior>`__ - 1 contribution
|
||||
- `kimonm (@kimonm) <https://github.com/kimonm>`__ - 1 contribution
|
||||
- `Klaas Schoute (@klaasnicolaas) <https://github.com/klaasnicolaas>`__ - 1 contribution
|
||||
- `Klarstein (@Klarstein) <https://github.com/Klarstein>`__ - 1 contribution
|
||||
- `Klarstein (@Klarstein) <https://github.com/Klarstein>`__ - 2 contributions
|
||||
- `Kevin Lewis (@kll) <https://github.com/kll>`__ - 1 contribution
|
||||
- `korellas (@korellas) <https://github.com/korellas>`__ - 1 contribution
|
||||
- `Kevin Pelzel (@kpelzel) <https://github.com/kpelzel>`__ - 1 contribution
|
||||
@ -361,6 +361,7 @@ Contributors
|
||||
- `MeIchthys (@meichthys) <https://github.com/meichthys>`__ - 1 contribution
|
||||
- `meijerwynand (@meijerwynand) <https://github.com/meijerwynand>`__ - 2 contributions
|
||||
- `Marco (@Melkor82) <https://github.com/Melkor82>`__ - 2 contributions
|
||||
- `mhentschke (@mhentschke) <https://github.com/mhentschke>`__ - 1 contribution
|
||||
- `micw (@micw) <https://github.com/micw>`__ - 1 contribution
|
||||
- `Pauline Middelink (@middelink) <https://github.com/middelink>`__ - 2 contributions
|
||||
- `mikosoft83 (@mikosoft83) <https://github.com/mikosoft83>`__ - 1 contribution
|
||||
@ -390,6 +391,7 @@ Contributors
|
||||
- `nickrout (@nickrout) <https://github.com/nickrout>`__ - 1 contribution
|
||||
- `Nick Whyte (@nickw444) <https://github.com/nickw444>`__ - 3 contributions
|
||||
- `nicuh (@nicuh) <https://github.com/nicuh>`__ - 1 contribution
|
||||
- `nikito7 (@nikito7) <https://github.com/nikito7>`__ - 1 contribution
|
||||
- `Nikolay Kitanov (@nkitanov) <https://github.com/nkitanov>`__ - 1 contribution
|
||||
- `nldroid (@nldroid) <https://github.com/nldroid>`__ - 2 contributions
|
||||
- `Alex (@nnmalex) <https://github.com/nnmalex>`__ - 1 contribution
|
||||
@ -405,7 +407,7 @@ Contributors
|
||||
- `Pack3tL0ss (@Pack3tL0ss) <https://github.com/Pack3tL0ss>`__ - 1 contribution
|
||||
- `Panuruj Khambanonda (PK) (@panuruj) <https://github.com/panuruj>`__ - 2 contributions
|
||||
- `Paul Deen (@PaulAntonDeen) <https://github.com/PaulAntonDeen>`__ - 2 contributions
|
||||
- `Paul Nicholls (@pauln) <https://github.com/pauln>`__ - 3 contributions
|
||||
- `Paul Nicholls (@pauln) <https://github.com/pauln>`__ - 4 contributions
|
||||
- `Bartłomiej Biernacki (@pax0r) <https://github.com/pax0r>`__ - 2 contributions
|
||||
- `peq123 (@peq123) <https://github.com/peq123>`__ - 2 contributions
|
||||
- `per1234 (@per1234) <https://github.com/per1234>`__ - 2 contributions
|
||||
@ -436,6 +438,8 @@ Contributors
|
||||
- `richardweinberger (@richardweinberger) <https://github.com/richardweinberger>`__ - 1 contribution
|
||||
- `Rich Foley (@RichFoley) <https://github.com/RichFoley>`__ - 1 contribution
|
||||
- `Richard Lewis (@richrd) <https://github.com/richrd>`__ - 3 contributions
|
||||
- `Rico van Genugten (@ricovangenugten) <https://github.com/ricovangenugten>`__ - 1 contribution
|
||||
- `rjmurph2241 (@rjmurph2241) <https://github.com/rjmurph2241>`__ - 1 contribution
|
||||
- `rlowens (@rlowens) <https://github.com/rlowens>`__ - 3 contributions
|
||||
- `LMR (@rmooreID) <https://github.com/rmooreID>`__ - 1 contribution
|
||||
- `Ryan Mounce (@rmounce) <https://github.com/rmounce>`__ - 1 contribution
|
||||
@ -544,4 +548,4 @@ Contributors
|
||||
- `ZabojnikM (@ZabojnikM) <https://github.com/ZabojnikM>`__ - 1 contribution
|
||||
- `San (@zhujunsan) <https://github.com/zhujunsan>`__ - 1 contribution
|
||||
|
||||
*This page was last updated January 26, 2021.*
|
||||
*This page was last updated January 27, 2021.*
|
||||
|
@ -156,7 +156,9 @@ the state of a light, send a GET request to ``/light/<id>``, for example ``light
|
||||
- **b**: The blue channel of this light. From 0 to 255.
|
||||
|
||||
- **effect**: The currently active effect, only if the light supports effects.
|
||||
- **white_value**: The white value of RGBW lights. From 0 to 255.
|
||||
- **white_value**: The white value of RGBW lights. From 0 to 255. Only if the light supports white value.
|
||||
- **color_temp**: The color temperature of the RGBWW light. Between minimum mireds and maximum mireds of the light.
|
||||
Only if the light support color temperature.
|
||||
|
||||
Setting light state can happen through three POST method calls: ``turn_on``, ``turn_off`` and ``toggle``.
|
||||
Turn on and off have additional URL encoded parameters that can be used to set other properties. For example
|
||||
|
Loading…
Reference in New Issue
Block a user