Comments (4)
Hi
I am having a bit of trouble reproducing this.
Node-RED Node:
could you include
msg._forceGetConfig=true;
in your message to force the node to refresh the configuration?
I also looked into the code and it enumerates accross all data sources.
model.dataSources.forEach(function(elem) {
elem.dataPoints.forEach(function(elem2) {
dataPointIdArray.push(elem2.id);
valueArray.push(elem2.type.toString());
});
});
Btw, this seems to work too (just 2nd datasource...)
from node-red-contrib-mindconnect.
@ToSa27 One more question :) Are you by any chance using TIMESTAMP or BIG_STRING data points in your configuration?
from node-red-contrib-mindconnect.
@sn0wcat Adding msg._forceGetConfig=true;
fixed it. The second data source was definitely created after the NodeRed flow was setup so this makes some sense but even after quite some time it still failed. Without forcing it, will the config ever be pulled again e.g. on a given frequency or is there a way to manually trigger a one-time refresh (other than removing and re-adding the node)?
I'm not using TIMESTAMP or BIG_STRING.
from node-red-contrib-mindconnect.
@ToSa27 the node pulls the data source once from the mindsphere and never again unless you force it. you should remove the msg._forceGetConfig now, to minimize the load on the system.
I am planning to change the node configuration a bit now that the agents actually can get list of assets from Mindsphere (we will provide a dialog where you can select the assets and the agent will automatically create data source config and mappings for them). For that I have to touch that code anyhow, I will see if I can do here a bit more ...
from node-red-contrib-mindconnect.
Related Issues (20)
- Mindsphere node V3.10.0 gives error in IOT2040 HOT 3
- Typo in the sample flow for IDL upload HOT 1
- ETIMEDOUT when trying to upload data HOT 11
- feat: add message to read static and dynamic variable data from assets
- Installation error in linux HOT 1
- problems with docker image on raspberry pi
- Problems connecting to Mindsphere in Node-Red and Asset connections with more than 100 data point HOT 2
- feat: upgrade node to 2.0. version of node-red HOT 1
- Simatic IOT2040 lost connection
- DietPi 8.1.2, Node-red 2.2.2 HOT 3
- HTTP Status 500 Internal Error
- HTTP Status (500 Internal Error) HOT 2
- Don´t know how to see data received from node-red mindconnect in mindsphere. HOT 2
- feat: add BOOL validator to node.
- feat: add advanced settings to node with custom location for .mc files HOT 1
- IOT2050 - 4G - Network error : Socket hang up HOT 1
- feat: Add Metadata Tags when uploading files to Integrated Data Lake
- Error: EROFS: read-only file system, mkdir '//.mc/' HOT 2
- mindconnect not compatible with node version node:20.2.0-buster-slim
- Node.js Package: jsonwebtoken < 9.0.0 - Multiple Vulnerabilities
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 node-red-contrib-mindconnect.