Comments (8)
@bodev1406 I can suggest my Login
rule chain to get token
from thingsboard.
You can do almost the same as described, but get list of attributes via corresponding API call.
from thingsboard.
Yes you are right but for the API call i have to do it with an external service and not with thingsboard. Or is there a way to do it in thingsboard?
from thingsboard.
You have "REST API node" withing rule chain of Thingsboard, just use that to pull data of devices and then push to kafka.
from thingsboard.
Ok, your are right.
To call the API endpoint i have to use the bearer token. How can get such a bearer token in a rule chain?
from thingsboard.
Hello @bodev1406,
Is this ticket still relevant? Or we can close this?
from thingsboard.
@bodev1406 have you tried the external kafka rule node?
from thingsboard.
@ashaforost Yes i tried it. So problem was that i need a way to get all attributes of a device or asset and push this information to our kafka instance.
We solved it to use the login rule cain of @devaskim and do a REST API Call to the thingsboard endpoint to get the needed information. After retrieving this information the kafka node is pushing it.
It would be nice to have such a node to query such information
from thingsboard.
Related Issues (20)
- 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
- Data key configuration for Update Multiple Attributes widget
- Is it possible to use TCP for coap?
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.