Hello everyone,
I’m having trouble using the {$value} keyword for value injection with an MQTT-Agent.
If have I set up the Write Value Parameter to the following
{
"value": {$value}
}
and my Agent-Link configuration looks like this:
{
"id": "4JhqVrEOnfGg6daeJV5scP",
"writeValue": "{\n \"value\": {$value}\n}",
"updateOnWrite": true,
"subscriptionTopic": "motor/TEST/cenitales/position",
"publishTopic": "motor/TEST/cenitales/command",
"type": "MQTTAgentLink"
}
But instead of receiving
{
"value": 50
}
I receive the exact content of that field without anything replaced:
{
"value": {$value}
}
I also tried several different combinations of attribute-types, parameters, contents, etc. but nothing seems to work.
Am I missing something essential?
Thank you!