Comments (1)
Figured it out, you have to send something like this to the websocket:
{"cmds":[{"type":"ALARM_DATA","query":{"entityFilter":{"type":"entityType","resolveMultiple":true,"entityType":"DEVICE"},"pageLink":{"page":0,"pageSize":10,"textSearch":null,"typeList":[],"severityList":["CRITICAL","MAJOR","MINOR","WARNING","INDETERMINATE"],"statusList":["ACTIVE","CLEARED","ACK","UNACK"],"searchPropagatedAlarms":false,"assigneeId":null,"sortOrder":{"key":{"key":"createdTime","type":"ALARM_FIELD"},"direction":"DESC"},"timeWindow":86400000},"alarmFields":[{"type":"ALARM_FIELD","key":"createdTime"},{"type":"ALARM_FIELD","key":"originator"},{"type":"ALARM_FIELD","key":"type"},{"type":"ALARM_FIELD","key":"severity"},{"type":"ALARM_FIELD","key":"status"},{"type":"ALARM_FIELD","key":"assignee"}],"entityFields":[],"latestValues":[]},"cmdId":3}]}
You can find out more by using the alarms table widget. This does not require any notification rules!
from thingsboard.
Related Issues (20)
- Action Button - "Navigate to other dashboard" does not go to the correct URL - No Edit Mode
- Californium block offset mismatch HOT 1
- Older Iphones cant load login site since 3.6.3 HOT 6
- MQTT not working on Thingboard PE HOT 1
- Your Default LwM2M Object ID version.
- thingsboard pe: data export filename shows variable name ${entityName}
- test1 HOT 2
- UI bug - Shared attributes cann't auto refresh
- Error when sign up for live demo server by name and email HOT 2
- Sending MQTT messages to Device and Custom Topic
- Devices by oauth2 token
- Widget inside widget
- Device and Dashboard Sharing in Customer hierarchy
- Possibility to integrate FUXA SCADA widget? HOT 1
- Unable to send emails for new alarms on Thingsboard Cloud HOT 4
- Not open swagger-ui and link create pw for customer
- Inadequate documentation
- Thingsboard - Rule chain for exceuting a expression and store its output under a device as telemetry HOT 1
- Procedure For Fixing Bug HOT 1
- Issue In Custom SMPT Mail Server Configuration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingsboard.