From efbc74b2a290bcf4ae7ae2526d55a4521a57b28a Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 8 Jan 2019 15:58:35 +0100 Subject: [PATCH] Add GPIOs to 12V DC Shelly 1 Add user GPIOs to Shelly 1 only to be used when Shelly is connected to 12V DC (#4854) --- sonoff/sonoff_template.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index 7346a3035..2ac21b2b3 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -1377,7 +1377,10 @@ const mytmplt kModules[MAXMODULE] PROGMEM = { 0, 0 }, { "Shelly 1", // Shelly1 Open Source (ESP8266 - 2MB) - https://shelly.cloud/shelly1-open-source/ - 0, 0, 0, 0, + GPIO_USER, // GPIO00 - Only to be used when Shelly is connected to 12V DC + GPIO_USER, // GPIO01 Serial RXD - Only to be used when Shelly is connected to 12V DC + 0, + GPIO_USER, // GPIO03 Serial TXD - Only to be used when Shelly is connected to 12V DC GPIO_REL1, // GPIO04 Relay (0 = Off, 1 = On) GPIO_SWT1_NP, // GPIO05 SW pin // GPIO06 (SD_CLK Flash)