Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michalpankau opened this issue May 15, 2024 · 4 comments
Open

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

michalpankau opened this issue May 15, 2024 · 4 comments
Assignees
Labels
question generic question

Comments

@michalpankau
Copy link

Component

  • Rule Engine

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

@michalpankau michalpankau added the question generic question label May 15, 2024
@ashvayka
Copy link
Member

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

image

@michalpankau
Copy link
Author

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

@michalpankau
Copy link
Author

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

@michalpankau
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question generic question
Projects
None yet
Development

No branches or pull requests

3 participants