Enum Datastreams in Blynk appsEnum
erable is a data type that consists of predefined values. This is commonly used in programming. For example, modes of AC can be described as:
0 = AC Off
1 = AC ON
2 = Fan Mode
3 = Eco Mode
Now you can send only numeric values and Blynk apps will handle the correct mapping.
For example, you can use it in the Segmented Switch widget to send values from 0 to 3, but everywhere in the app, this datastream will show the actual mode names.
It even works in Automations. For example, you can create a scenario "When the temperature goes below 22ºC, set AC to Fan Mode".