mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
Added support for Xiaomi-Phillips bulb
https://github.com/arendst/Sonoff-Tasmota/issues/3055
This commit is contained in:
parent
2e97680e99
commit
f8115a5abd
@ -230,6 +230,7 @@ enum SupportedModules {
|
|||||||
BLITZWOLF_BWSHP2,
|
BLITZWOLF_BWSHP2,
|
||||||
SHELLY1,
|
SHELLY1,
|
||||||
SHELLY2,
|
SHELLY2,
|
||||||
|
PHILIPS,
|
||||||
MAXMODULE };
|
MAXMODULE };
|
||||||
|
|
||||||
/********************************************************************************************/
|
/********************************************************************************************/
|
||||||
@ -399,7 +400,8 @@ const uint8_t kModuleNiceList[MAXMODULE] PROGMEM = {
|
|||||||
KMC_70011,
|
KMC_70011,
|
||||||
AILIGHT,
|
AILIGHT,
|
||||||
WEMOS,
|
WEMOS,
|
||||||
WITTY
|
WITTY,
|
||||||
|
PHILIPS
|
||||||
};
|
};
|
||||||
|
|
||||||
// Default module settings
|
// Default module settings
|
||||||
@ -1044,6 +1046,14 @@ const mytmplt kModules[MAXMODULE] PROGMEM = {
|
|||||||
GPIO_SWT2_NP, // GPIO14
|
GPIO_SWT2_NP, // GPIO14
|
||||||
0, // GPIO15 MCP39F501 Reset
|
0, // GPIO15 MCP39F501 Reset
|
||||||
0, 0
|
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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user