mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Add Hyperion Support (#1339)
This commit is contained in:
parent
98f0d75180
commit
28ed42d879
1 changed files with 8 additions and 2 deletions
|
@ -92,8 +92,14 @@ bool WLEDLightEffect::parse_frame_(light::AddressableLight &it, const uint8_t *p
|
|||
|
||||
switch (protocol) {
|
||||
case WLED_NOTIFIER:
|
||||
// Hyperion Port
|
||||
if (port_ == 19446) {
|
||||
if (!parse_drgb_frame_(it, payload, size))
|
||||
return false;
|
||||
} else {
|
||||
if (!parse_notifier_frame_(it, payload, size))
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
case WARLS:
|
||||
|
|
Loading…
Reference in a new issue