var uisource = flow.get("source");
I can't figure out the syntax to put the value of the "uisource" string variable to msg.payload[i][j].***** So for example, if I var uisource = "temperature", my second line looks like:
If uisource = "light", then:
I need the variable uisource to change dinamically and also the identifier of the property I want to access.
Sorry if it is a very amateur question.
Thank you in advance for any help.