node-red-contrib-uos-nats 0.2.21 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nodes/datahub-output.js +4 -0
- package/package.json +1 -1
package/nodes/datahub-output.js
CHANGED
|
@@ -132,6 +132,9 @@ module.exports = function (RED) {
|
|
|
132
132
|
});
|
|
133
133
|
|
|
134
134
|
// Listen for Definition READ requests (Discovery)
|
|
135
|
+
// SKIPPED: Permission Violation on v1.loc.<id>.def.qry.read
|
|
136
|
+
// Data Hub seems to discover providers via initial announcement or direct variable reads.
|
|
137
|
+
/*
|
|
135
138
|
const defSub = nc.subscribe(subjects.readProviderDefinitionQuery(this.providerId), {
|
|
136
139
|
callback: (err, msg) => {
|
|
137
140
|
if (err) {
|
|
@@ -145,6 +148,7 @@ module.exports = function (RED) {
|
|
|
145
148
|
nc.publish(msg.reply, payload);
|
|
146
149
|
}
|
|
147
150
|
});
|
|
151
|
+
*/
|
|
148
152
|
|
|
149
153
|
// Track the subscription to close it later if needed (though existing code only tracks 'sub')
|
|
150
154
|
// Ideally we should track both or use a subscription manager, but for now let's hope 'sub' isn't the only one closed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-uos-nats",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"description": "Node-RED nodes for Weidmüller u-OS Data Hub. Read, write, and provide variables via NATS protocol with OAuth2 authentication. Features: Variable Key resolution, custom icons, example flows, and provider definition caching.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "IoTUeli",
|