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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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