From 03ddf56f8f5e7e9e9a3132a388774da833981dbd Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Sat, 5 Oct 2019 07:30:54 -0400 Subject: [PATCH] Self-compile --- Blinds-and-Roller-Shades.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Blinds-and-Roller-Shades.md b/Blinds-and-Roller-Shades.md index 0cea0aaa..3303f945 100644 --- a/Blinds-and-Roller-Shades.md +++ b/Blinds-and-Roller-Shades.md @@ -1,5 +1,12 @@ This driver adds support to wirelessly control blinds and roller shades connected to regular ON/OFF motors or stepper motors. +To use this feature, you must compile your own firmware binary. Use any of the [available compilation methods](https://github.com/arendst/Sonoff-Tasmota/wiki/Flashing#flashing-and-compiling-from-source) you prefer. Add the following compiler directives to `user_config_override.h`: +``` +#ifndef USE_SHUTTER +#define USE_SHUTTER // (+6k code) +#endif +``` + The device must have at least two relays (e.g., a [Sonoff Dual R2](#sonoff-dual-r2-required-configuration)). Otherwise the shutter feature will not work. ## Shutter Modes