Merge pull request #4110 from chaosmaster/obi-socket-user-pins

Obi socket user pins
This commit is contained in:
Theo Arends 2018-10-19 19:20:59 +02:00 committed by GitHub
commit f82f7c1a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -1102,14 +1102,17 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
GPIO_REL1_INV, // GPIO16 Green Led 1 (0 = On, 1 = Off) GPIO_REL1_INV, // GPIO16 Green Led 1 (0 = On, 1 = Off)
}, },
{ "OBI Socket", // OBI socket (ESP8266) - https://www.obi.de/hausfunksteuerung/wifi-stecker-schuko/p/2291706 { "OBI Socket", // OBI socket (ESP8266) - https://www.obi.de/hausfunksteuerung/wifi-stecker-schuko/p/2291706
0, 0, 0, 0, GPIO_USER, // GPIO00
GPIO_LED1, // GPIO04 LED on top and in switch button 0,0,0,
GPIO_REL1, // GPIO05 Relay 1 (0 = Off, 1 = On) GPIO_LED1, // GPIO04 Blue LED
GPIO_REL1, // GPIO05 (Relay OFF, but used as Relay Switch)
0, 0, 0, 0, 0, 0, // Flash connection 0, 0, 0, 0, 0, 0, // Flash connection
GPIO_LED2, // GPIO12 GPIO_LED2, // GPIO12 (Relay ON, but set to LOW, so we can switch with GPIO05)
0, // GPIO13 GPIO_USER, // GPIO13
GPIO_KEY1, // GPIO14 switch button GPIO_KEY1, // GPIO14 Button
0, 0, 0 0,
GPIO_USER, // GPIO16
GPIO_USER // Analog input
}, },
{ "Teckin", // https://www.amazon.de/gp/product/B07D5V139R { "Teckin", // https://www.amazon.de/gp/product/B07D5V139R
0, 0,