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

"Widget displays 1024 out of ... entities" #6403

Closed
MichaelRHaddad opened this issue Apr 12, 2022 · 8 comments · Fixed by #6555
Closed

"Widget displays 1024 out of ... entities" #6403

MichaelRHaddad opened this issue Apr 12, 2022 · 8 comments · Fixed by #6555
Assignees
Labels
question generic question

Comments

@MichaelRHaddad
Copy link

Component
Widgets

Description
I have a "latest values" widget. In the dashboard itself, I see the following message: "Widget displays 1024 out of 1874 entities". I want to display all entities, and completely remove this limitation. How can I achieve that?

Thank you.

Environment
ThingsBoard: 3.3.3

@MichaelRHaddad MichaelRHaddad added the question generic question label Apr 12, 2022
@mikelfo
Copy link

mikelfo commented Apr 20, 2022

We are experiencing this same issue in a widget exporting a list of devices with a specific attribute value. As soon as the number goes over 1024 we get this warning, and the list is truncated to that length.

@MichaelRHaddad
Copy link
Author

@mikelfo Have you managed to solve this issue?

@AlexDoanTB
Copy link

@mikelfo @MichaelRHaddad have you tried to change server.ws.max_entities_per_data_subscription property in yaml file? It seems you need to increase the default limit

@MichaelRHaddad
Copy link
Author

MichaelRHaddad commented Apr 27, 2022

@mikelfo @MichaelRHaddad have you tried to change server.ws.max_entities_per_data_subscription property in yaml file? It seems you need to increase the default limit

Thanks. This attribute is configured to 10000 entities, so it seems to not be the problem.

@ashvayka
Copy link
Member

"1024" is a hard-coded value on the UI side for a default entity data query. It is used by all "latest values" widgets except the Map Widget which has the parameter configurable in the advanced settings of the widget. CE users may change this in the source code. We will introduce the configuration parameter in the "Data Settings" of the widget in release 3.4.

@MichaelRHaddad
Copy link
Author

@ashvayka Thank you for the reply. We are using PE so I assume we should also be able to change this hard-coded value in the source code. We did try to, but we did not find this attribute. Could you please guide me and show me where we can change it?

@phamhaidang112000
Copy link

@MichaelRHaddad how to show widget data settings, please show me. I can't find it

@uhofemeier
Copy link

@phamhaidang112000 , Click on Dashboards, click edit mode (orange pencil bottom right corner), click the little pencil for the widget that has a device list or otherwise. This is where you'll find data settings.

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
7 participants