Hello together,
I‘m facing a problem on how to change a text from a variable number coming from a payload string into another named payload string. I want to use a dimmable switch for jalousie control. Therefore it will be necessary to change the text in the payload string. Is this possible with the change node or will a function node do this better?
Any help is appreciated
[{"id":"27123327.7d6274","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"3ba3931b.aed27c","type":"vsh-virtual-device","z":"27123327.7d6274","name":"Jalousie","connection":"5c8311f1.41d958","template":"DIMMER_SWITCH","passthrough":false,"x":80,"y":160,"wires":[["24553c10.7a3b34"]]},{"id":"24553c10.7a3b34","type":"json","z":"27123327.7d6274","name":"","property":"payload","action":"","pretty":false,"x":250,"y":160,"wires":[["e174b669.2e4e"]]},{"id":"e174b669.2e4e","type":"debug","z":"27123327.7d6274","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":430,"y":160,"wires":[]},{"id":"5c8311f1.41d958","type":"vsh-connection","name":"Alexa","port":"8883","accessTokenExpiry":"1603310276762"}]