From fe8e77ed5d4cd9f85e940fc3fe7c3221a51f2a21 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 13 Nov 2018 14:07:18 +0100 Subject: [PATCH] ESP32 deep sleep wake up multiple pins (#81) --- esphomeyaml/components/deep_sleep.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/esphomeyaml/components/deep_sleep.rst b/esphomeyaml/components/deep_sleep.rst index 47c43a9c5..863482d78 100644 --- a/esphomeyaml/components/deep_sleep.rst +++ b/esphomeyaml/components/deep_sleep.rst @@ -41,6 +41,15 @@ Configuration variables: See :ref:`deep_sleep-esp32_wakeup_pin_mode`. Defaults to ``IGNORE`` - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. +Advanced features: + +- **esp32_ext1_wakeup** (*Optional*): Use the EXT1 wakeup source of the ESP32 to wake from deep sleep to + wake up on multiple pins. This cannot be used together with wakeup pin. + + - **pins** (**Required**, list of pin numbers): The pins to wake up on. + - **mode** (*Optional*): The mode to use for the wakeup source. Must be one of ``ALL_LOW`` (wake up when + all pins go LOW) or ``ANY_HIGH`` (wake up when any pin goes HIGH). + .. note:: The :ref:`availability feature ` of the MQTT client will cause all values