Need help sending a payload array value to my controler

I can get my value from the web, and I can send values to my controller. however I can fugure out how to get the web value to my controller.

What i need to do is get my msg.payload[20] or string[11] ( 5.21 / MWH)

into the value "X" of this Json code.

"encode": "text",
"propertyReferences": [
"type": "analogValue",
"instance": 41,
"property": "presentValue",
"value": "X"

Please see attached pick of my flow.

Are you sure you are sending it the right value ? The error in the debug appears to say it wants a float and you are sending it a string ?

Can you post up your code so we can see how you are constructing the JSON

It would also be worthwhile posting up the relevant info re the Bacnet controller confirm what values it supports


I see it now, I have to convert the string to a number.

Thank you

And more importantly a float by the error message


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.