2023-02-20 04:43:15 +01:00
|
|
|
Internal Temperature Sensor
|
|
|
|
===========================
|
|
|
|
|
|
|
|
.. seo::
|
|
|
|
:description: Instructions for setting up the integrated temperature sensor of the ESP32 and RP2040.
|
|
|
|
:image: thermometer.svg
|
|
|
|
:keywords: esp32, rp2040, cpu, internal, temperature
|
|
|
|
|
|
|
|
The ``internal_temperature`` sensor platform allows you to use the integrated
|
|
|
|
temperature sensor of the ESP32 and RP2040 chip.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Some ESP32 variants return a large amount of invalid temperature
|
2023-05-29 23:35:45 +02:00
|
|
|
values, including 53.3°C which equates to a raw value of 128. Invalid measurements are ignored by this component.
|
2023-02-20 04:43:15 +01:00
|
|
|
|
|
|
|
.. figure:: images/internal_temperature-ui.png
|
|
|
|
:align: center
|
|
|
|
:width: 70.0%
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
# Example configuration entry
|
|
|
|
sensor:
|
|
|
|
- platform: internal_temperature
|
|
|
|
name: "Internal Temperature"
|
|
|
|
|
|
|
|
Configuration variables:
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
- **name** (**Required**, string): The name of the temperature sensor.
|
|
|
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval
|
|
|
|
to check the sensor. Defaults to ``60s``.
|
|
|
|
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
|
|
|
- All other options from :ref:`Sensor <config-sensor>`.
|
|
|
|
|
|
|
|
See Also
|
|
|
|
--------
|
|
|
|
|
|
|
|
- :ref:`sensor-filters`
|
|
|
|
- :ghedit:`Edit`
|