thingsboard / thingsboard

Open-source IoT Platform - Device management, data collection, processing and visualization.
https://thingsboard.io
Apache License 2.0
15.92k stars 4.87k forks source link

Copy to view node - not copying attributes to Entity View #10793

Open michalpankau opened 2 weeks ago

michalpankau commented 2 weeks ago

Component

Description I have an Entity View which has few shared attributes from Device. image After a Post attributes message is received following ruls chain is executed image Payload is translated to Attributes which are saved as 'Client' and 'Shared', then Client attributes are retrieved and calculated as new Shared and next saved to Shared attributes, after that these new Shared should be copied to Entity View. Everything works fine, nodes are reporting Success, but Entity attributes are not updated.

What am I doing wrong ?

p.s. I also made according to tutorial, but this is not working also image

Environment ThingsBoard Cloud

ashvayka commented 2 weeks ago

What are the start date and time and end date and time of your entity view?

image

michalpankau commented 2 weeks ago

I did a test with and without these fields set. The entity attributes are only updated if I hit 'Apply changes' image

michalpankau commented 2 weeks ago

and a device profile from which entity view takes attributes controller.json

michalpankau commented 1 week ago

@ashvayka did you check this issue ? I really need that functionality for my customer. Best Regards, MP