Need some help with volume control with onkyo node.
i can`t get the format right with this code,
{msg.payload = {"master-volume=":msg.payload}
}
return msg;
Debug shows:
master-volume=: "17"
but i need it to be:
master-volume=17
Need some help with volume control with onkyo node.
i can`t get the format right with this code,
{msg.payload = {"master-volume=":msg.payload}
}
return msg;
Debug shows:
master-volume=: "17"
but i need it to be:
master-volume=17
where does msg.payload get set? Maybe just a piece of the flow? If you use
msg.payload = 17;
msg = {
payload: "master-volume=" + msg.payload
}
return msg;
does it do the same thing?
Damn, So simple and it works ,, i was searching hours for a combination !
You are an angel, Thank you
Payload was coming from my PLC
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.