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)
- Is it possible to connect the camera video stream to thingsboard for playback?Your title here HOT 2
- Can you support custom RPC topics?
- How to read response from "sendTwoWayRpcCommand(entityId,requestBody)" HOT 3
- Devices from Customer HOT 4
- Updating state to other State in Markdown Map
- character limit in decoders and console.log HOT 2
- Copy to view node - not copying attributes to Entity View HOT 3
- Click buttons to change widget HOT 2
- LwM2M: disconnected LwM2M devices constantly display as active with lastActivityTime always being very recent
- LwM2M: ObserveComposite operation
- Aggregated functions erros
- thingsboard REST API taking too much time to get history data
- Development environment for team
- What is "profile type" of a device profile ? HOT 1
- Access device claiming timestamp
- Export device pictures HOT 9
- Add an option to customise the file name for widget data export
- Searching dashboards as a customer with entityquerycontroller HOT 2
- Heatmap Widget
- Back button HOT 1
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.