Concatenate 2 payload

concatenate 2 payload hello everyone thank you for welcoming me on this forum.

here is my problem:

I have 2 payload source:

1

{"action_group":2,"step_size":43,"state":"brightness_up_click","transition":10}

2 :

{"color":{"x":0.313059507478705,"y":0.323172994053855},"color_temp":153,"bright":254}

I would like them together to make a single payload

after part of a function I increment one of the values with this function where it does not work

Thanks for your help

Are these two payloads arriving separately in two different messages? If so then have a look at the Join node which you can use to join them together in different ways by selecting Manual mode. Have a look at the node and experiment with it and see this article in the cookbook for an example of how to join messages into one object.

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