1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Add Hyperion Support (#1339)

This commit is contained in:
d-two
2021-05-05 04:09:38 +02:00
committed by GitHub
parent 98f0d75180
commit 28ed42d879

View File

@@ -92,8 +92,14 @@ bool WLEDLightEffect::parse_frame_(light::AddressableLight &it, const uint8_t *p
switch (protocol) { switch (protocol) {
case WLED_NOTIFIER: 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)) if (!parse_notifier_frame_(it, payload, size))
return false; return false;
}
break; break;
case WARLS: case WARLS: