Added support for Xiaomi-Phillips bulb

https://github.com/arendst/Sonoff-Tasmota/issues/3055
This commit is contained in:
Adrian Scillato 2018-09-13 11:43:23 -03:00 committed by GitHub
parent 2e97680e99
commit f8115a5abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -230,6 +230,7 @@ enum SupportedModules {
BLITZWOLF_BWSHP2,
SHELLY1,
SHELLY2,
PHILIPS,
MAXMODULE };
/********************************************************************************************/
@ -399,7 +400,8 @@ const uint8_t kModuleNiceList[MAXMODULE] PROGMEM = {
KMC_70011,
AILIGHT,
WEMOS,
WITTY
WITTY,
PHILIPS
};
// Default module settings
@ -1044,6 +1046,14 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
GPIO_SWT2_NP, // GPIO14
0, // GPIO15 MCP39F501 Reset
0, 0
},
{ "Xiaomi Philips", // Xiaomi Philips bulb (ESP8266)
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
GPIO_PWM2, // GPIO12 cold/warm light
0, 0,
GPIO_PWM1, // GPIO15 light intensity
0, 0
}
};