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)
This commit is contained in:
Theo Arends 2019-01-08 15:58:35 +01:00
parent 53b8f1f877
commit efbc74b2a2
1 changed files with 4 additions and 1 deletions

View File

@ -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)