2018-05-13 11:37:02 +02:00
|
|
|
Speed Fan
|
|
|
|
=========
|
|
|
|
|
2018-06-01 18:10:00 +02:00
|
|
|
The ``speed`` fan platform lets you represent any float :ref:`output` as a fan that
|
2018-05-13 11:37:02 +02:00
|
|
|
supports speed settings.
|
|
|
|
|
2018-06-01 18:10:00 +02:00
|
|
|
.. figure:: images/fan-ui.png
|
|
|
|
:align: center
|
|
|
|
:width: 80.0%
|
2018-05-13 11:37:02 +02:00
|
|
|
|
|
|
|
.. code:: yaml
|
|
|
|
|
|
|
|
# Example configuration entry
|
|
|
|
fan:
|
|
|
|
- platform: speed
|
|
|
|
output: myoutput_1
|
|
|
|
name: "Living Room Fan"
|
|
|
|
|
|
|
|
Configuration variables:
|
2018-08-24 22:44:01 +02:00
|
|
|
------------------------
|
2018-05-13 11:37:02 +02:00
|
|
|
|
2018-06-01 18:10:00 +02:00
|
|
|
- **output** (**Required**, :ref:`config-id`): The id of the
|
|
|
|
:ref:`float output <output>` to use for this fan.
|
|
|
|
- **name** (**Required**, string): The name for this fan.
|
|
|
|
- **oscillation_output** (*Optional*, :ref:`config-id`): The id of the
|
|
|
|
:ref:`output <output>` to use for the oscillation state of this fan. Default is empty.
|
|
|
|
- **speed** (*Optional*): Set the float values for each speed setting:
|
|
|
|
|
|
|
|
- **low** (*Required*, float): Set the value for the low speed
|
|
|
|
setting. Must be in range 0 to 1. Defaults to 0.33.
|
|
|
|
- **medium** (*Required*, float): Set the value for the medium speed
|
|
|
|
setting. Must be in range 0 to 1. Defaults to 0.66.
|
|
|
|
- **high** (*Required*, float): Set the value for the high speed
|
|
|
|
setting. Must be in range 0 to 1. Defaults to 1.
|
|
|
|
|
|
|
|
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
|
|
|
- All other options from :ref:`MQTT Component <config-mqtt-component>`
|
|
|
|
and :ref:`Fan Component <config-fan>`.
|
|
|
|
|
|
|
|
See Also
|
2018-08-24 22:44:01 +02:00
|
|
|
--------
|
2018-06-01 18:10:00 +02:00
|
|
|
|
|
|
|
- :doc:`/esphomeyaml/components/output/index`
|
|
|
|
- :doc:`/esphomeyaml/components/fan/index`
|
|
|
|
- :doc:`/esphomeyaml/components/output/ledc`
|
|
|
|
- :doc:`/esphomeyaml/components/output/esp8266_pwm`
|
|
|
|
- :doc:`/esphomeyaml/components/output/pca9685`
|
|
|
|
- :doc:`API Reference </api/fan/index>`
|
2018-06-04 08:17:22 +02:00
|
|
|
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/components/fan/speed.rst>`__
|