Hi,
i'm new here, thank you for the great forum, well i'm playing with interactive ui-tables, and i have this specific table containing my temperature sensors on the same table i have a column which is editable. The column (isUsedForHeating) should configure whether a temperature sensor should be considered when controlling my heating system, e.g i want for instance if a room is not currently used then the heater should not switch on because the temperature is too low in the specific room.
So the attribute "isUsedForHeating" can be edited by a user directly in the table. That is not a problem since i get a callback from the table and i can change the flow context.
My problem is only when a new temperature value is received i cant append the value from the context directly.
i would imagine to use a change node and do the following:
but how can i get the <msg.topic>, (the device name is unique and passed through msg.topic)? Or what would be the best way to append the attribute from the stored context?
Hi,
Yes i want to pass it through a change node and append the attribute. I think i'm almost there i just need a little push. Here is what im currently trying with Jsonata but im getting an invalid expression:
Just to establish what is going on, please put a debug node (set to show the entire message content) on the output of the node who's message we are looking.
This way we can see what the message looks like and work from there.
(I was meaning to put a JSON node between that blue node before the change node.)