The documentation is fairly self explanatory…
Blynk set property node.
This node will write the value in payload to specified property at the specified pin number.
“Pin mode” selects whether the pin number is fixed or dynamic
Fixed, select the pin number in the interface
Dynamic, the pin number is passed through msg.pin
property
Use the node property by select on menu or override using msg.prop
To set multiple properties use this syntax:
msg.label
to set the Label property
msg.color
to set the color property
msg.min
to set the Min property
msg.max
to set the Max property
msg.onlabel
to set the onLabel property (only Button and Styled Button widget)
msg.offlabel
to set the offLabel property (only Button and Styled Button widget)
msg.onColor
to set the onColor property (only Styled Button widget)
msg.offColor
to set the offColor property (only Styled Button widget)
msg.onBackColor
to set the onBackColor property (only Styled Button widget)
msg.offBackColor
to set the offBackColor property (only Styled Button widget)
msg.labels
to set the Labels property (only Menu widget)
msg.isonplay
to set the isOnPlay property (only Media Player widget)
msg.url
to set the url property (only Video Straming widget)
msg.step
to set the step property (only Step Control widget)
msg.maximumFractionDigits
to set the maximumFractionDigits property (only Slider widget)
msg.opacity
to set opacity in range 0-100% (only Image Gallery widget)
msg.scale
to set scale in range 0-100% (only Image Gallery widget)
msg.rotation
to set rotation in range 0-360 degree (only Image Gallery widget)
msg.url
and msg.imgid
to load url to specific image index (only Image Gallery widget)
msg.urls
(array of string) to load images on gallery widget (only Image Gallery widget)
ALL WIDGETS
Four widget properties are supported - color
, label
, min
, max
for all widgets :
label
is string for label of all widgets.
color
is string in HEX format (in the form: #RRGGBB, where RR (red), GG (green) and BB (blue) are hexadecimal values between 00 and FF). For example :
#define BLYNK_GREEN "#23C48E"
#define BLYNK_BLUE "#04C0F8"
#define BLYNK_YELLOW "#ED9D00"
#define BLYNK_RED "#D3435C"
#define BLYNK_DARK_BLUE "#5F7CD8"
Widget specific
Widget specific properties:
Button and Styled Button
onLabel
is string for ON label of button;
offLabel
is string for OFF label of button;
Styled Button
onColor
is the color of label for ON state of styled button;
offColor
is the color of label for OFF state of styled button;
onBackColor
is the background color for ON state of styled button;
offBackColor
is the background color for OFF state of styled button;
Menu
labels
is list of strings for Menu widget selections (array expected: ["Labels 1","Labels 2","Labels 3"]
);
Blynk.setProperty(V0, "labels", "label 1", "label 2", "label 3");
Music Player
isOnPlay
is boolean accepts true/false.
Blynk.setProperty(V0, "isOnPlay", "true");
Video Straming
url
is a string URL of streaming.
Blynk.setProperty(V0, "url", "http://my_new_video_url");
Step Control
step
is a integer value of step.
Blynk.setProperty(V0, "step", "5");
Slider
maximumFractionDigits
is a integer value of decimals digits.
Image Gallery
opacity
to set opacity in range 0-100%
scale
to set scale in range 0-100%
rotation
to set rotation in range 0-360 degree
Official documentation: Change widget properties
Pete.