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

数据属性为array,元素属性为object,在运行状态中无法查看数据 #509

Open
gaoxs1985 opened this issue May 13, 2024 · 7 comments
Assignees

Comments

@gaoxs1985
Copy link

jetlinks-community:2.2.0-SNAPSHOT

在产品物模型属性定义中,数据定义为array,元素类型为object

image

设备日志中可以查询到设备上报对应的属性值

image

但在设备运行状态监控中,无法查询到设备该属性对应的值

image

请问这种情况需要如何调整配置?

@bestfeng1020
Copy link
Contributor

用的什么存储模式?前端代码是否最新?

@gaoxs1985
Copy link
Author

image
是指这里吗?默认配置

@bestfeng1020
Copy link
Contributor

设备数据用的存储方式,在产品的接入方式里面

@gaoxs1985
Copy link
Author

image

是这个吗?
自定义的协议,使用默认的数据存储策略

@bestfeng1020
Copy link
Contributor

更新最新代码试试,我们未能复现这个bug。或者你提供下更多的信息,如es索引中是否已存储了你上报的数据

@gaoxs1985
Copy link
Author

gaoxs1985 commented May 21, 2024

image
最新数据上报

image
没有查到数据

但其他属性是有最新数据的
image
image

@gaoxs1985
Copy link
Author

在自定义协议中,通过ReportPropertyMessage返回上报数据
image
在返回的message中也是有数据的

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

No branches or pull requests

2 participants