Hiding User Configurable Pins for SHELLY 1

As explained in https://github.com/arendst/Sonoff-Tasmota/issues/5487 some users had tried to connect sensors to shelly 1, being it powered using mains AC. So, as it is very dangerous and a safety concern, those extra GPIO are being taken from the template. Comments on this is, were left on the code for people who really know what they are doing.
This commit is contained in:
Adrian Scillato 2019-03-17 22:10:10 -03:00 committed by GitHub
parent 99d20f803b
commit 7f43eff739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1472,10 +1472,10 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
0, 0
},
{ "Shelly 1", // Shelly1 Open Source (ESP8266 - 2MB) - https://shelly.cloud/shelly1-open-source/
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, // GPIO00 - Can be changed to GPIO_USER, only if Shelly is powered with 12V DC
0, // GPIO01 Serial RXD - Can be changed to GPIO_USER, only if Shelly is powered with 12V DC
0,
GPIO_USER, // GPIO03 Serial TXD - Only to be used when Shelly is connected to 12V DC
0, // GPIO03 Serial TXD - Can be changed to GPIO_USER, only if Shelly is powered with 12V DC
GPIO_REL1, // GPIO04 Relay (0 = Off, 1 = On)
GPIO_SWT1_NP, // GPIO05 SW pin
// GPIO06 (SD_CLK Flash)