Button set property blynk in node red

I have a button which sends 0 and 1 for off and on,

and i want another button to change its property on label or off label .

but it is not working, also there is problem in button set property which shows on label twice.

How can i solve this one?

I’ve changed the category of this to “need help”, as “issues and errors” is best used for Blynk related issues rather than 3rd party issues.

The problem you’re experiencing isn’t a an error, it’s a way of preventing infinite feedback loops from being created.
To achieve what you want, you need to use the Bridge widget, as described in this post:

Pete.

Then @PeteKnight What is the use of setproperty button? any specific applications?

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.

2 Likes