mirror of https://github.com/arendst/Tasmota.git
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:
parent
99d20f803b
commit
7f43eff739
|
@ -1472,10 +1472,10 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
|
||||||
0, 0
|
0, 0
|
||||||
},
|
},
|
||||||
{ "Shelly 1", // Shelly1 Open Source (ESP8266 - 2MB) - https://shelly.cloud/shelly1-open-source/
|
{ "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
|
0, // GPIO00 - Can be changed to GPIO_USER, only if Shelly is powered with 12V DC
|
||||||
GPIO_USER, // GPIO01 Serial RXD - Only to be used when Shelly is connected to 12V DC
|
0, // GPIO01 Serial RXD - Can be changed to GPIO_USER, only if Shelly is powered with 12V DC
|
||||||
0,
|
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_REL1, // GPIO04 Relay (0 = Off, 1 = On)
|
||||||
GPIO_SWT1_NP, // GPIO05 SW pin
|
GPIO_SWT1_NP, // GPIO05 SW pin
|
||||||
// GPIO06 (SD_CLK Flash)
|
// GPIO06 (SD_CLK Flash)
|
||||||
|
|
Loading…
Reference in New Issue