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?
This is the table:
I'm a C programmer so please excuse my limited java script skills.
Thanks in advance!