Dashboard colourpicker to HTTP response

Hi, I'm new to node red.
I want to get an RGB value from colour picker with a 'HTTP in' and a 'HTTP response'.
I made the following flow:


The 'change' node is set as follows
image
So when I change the value with the colour picker:
I get the value stored in 'flow'
But when I start the GET from my browser or my STM32, I get empty {}
After the operation, the flow is also empty:
I tried looking in the forum, but I couldn't find the right way to do it (probably my question is mach to easy).

Thanks in advance!

Separate the flows as payload from httpin will be saved to.
e.g.

[{"id":"31f7e9697b6817a5","type":"ui_colour_picker","z":"366a43adb328cf95","name":"","label":"","group":"2d4fe667.28f8ba","format":"hex","outformat":"string","showSwatch":true,"showPicker":false,"showValue":false,"showHue":false,"showAlpha":false,"showLightness":true,"square":"false","dynOutput":"false","order":16,"width":0,"height":0,"passthru":true,"topic":"topic","topicType":"msg","className":"","x":150,"y":120,"wires":[["8c61f7adb1391c91"]]},{"id":"8c61f7adb1391c91","type":"change","z":"366a43adb328cf95","name":"","rules":[{"t":"set","p":"picker","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":120,"wires":[[]]},{"id":"b9b85b68ab56f5fc","type":"http in","z":"366a43adb328cf95","name":"","url":"blah","method":"get","upload":false,"swaggerDoc":"","x":140,"y":260,"wires":[["20913911b1929f8d"]]},{"id":"20913911b1929f8d","type":"change","z":"366a43adb328cf95","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"picker","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":260,"wires":[["a1da749adc937b09"]]},{"id":"a1da749adc937b09","type":"http response","z":"366a43adb328cf95","name":"","statusCode":"","headers":{},"x":530,"y":260,"wires":[]},{"id":"2d4fe667.28f8ba","type":"ui_group","name":"demo","tab":"1caa8458.b17814","order":1,"disp":true,"width":"12","collapse":false},{"id":"1caa8458.b17814","type":"ui_tab","name":"Demo","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

Wow, that worked, thanks for the incredibly fast reply. couldn't sleep before this was resolved. Now I can go to bed :slight_smile:

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