@eflexsystems/node-red-contrib-open-protocol
Version:
A Node-RED node to interface with other systems using the Open Protocol
71 lines (70 loc) • 3.29 kB
JSON
{
"open-protocol": {
"util": {
"label": {
"name": "Name",
"feedback": "Feedback",
"data": "Data",
"status-alarm": "Alarm Status",
"ack-alarm": "Alarm ACK",
"node": "op node",
"connect": "Connect",
"custom": "Custom",
"disconnected": "disconnected",
"connected": "connected"
}
},
"config": {
"label": {
"controller": "Controller",
"port": "Port",
"keep-alive": "KeepAlive",
"timeout": "Timeout",
"retries": "Retries",
"raw-data": "Raw Data",
"generic": "Generic Mode",
"force-link-layer": "Link Layer",
"options": {
"auto": "Auto",
"true": "True",
"false": "False"
},
"disable-mid-parsing": "Disable MID parsing"
}
},
"node": {
"label": {
"config": "Config",
"mid": "Mid Group",
"custom-mid": "Custom Mid",
"revision": "Revision",
"custom-revision": "Custom Revision",
"auto-subscribe": "Auto Subscribe",
"forward-errors": "Forward Errors"
}
},
"tips": {
"connect": "<h5>Connection control<\/h5><p>This option listens to Open Protocol connection events.<\/p><p>To close the connection, send <code>msg.connect = false<\/code>.<\/p><p>To open the connection, send <code>msg.connect = true<\/code>.<\/p>",
"custom": "<h5>Custom Mode<\/h5><p>This option listens to all information sent by the controller.<\/p><p>To send a customized MID follow this structure:<\/p><code>msg.mid = 80; // Number <br>msg.revision = 1; // Number<br>msg.payload = \"mid body\"; // String or Buffer<\/code>",
"not-implemented": "<p>Not implemented MID, check parameters from the documentation.<\/p><p>The parameters must be passed in a <code>String<\/code> on <code>msg.payload<\/code><\/p>",
"not-params": "<p>This option does not require additional parameters.<\/p>",
"subscribe": "<p>This option does not require additional parameters.<\/p><p>To perform an <code>Unsubscribe<\/code>, send a parameter <code>msg.subscribe = false<\/code>. Any other value of <code>input<\/code> will performe a <code>Subscribe<\/code>.<\/p>",
"params": {
"header": "<p>This option does require additional parameters.<\/p> <h5>Parameters<\/h5>",
"tags": {
"param": "Param",
"type": "Type",
"description": "Description"
}
}
},
"message": {
"failed-connect": "failed to connect to controller",
"error-send-mid": "error on send MID",
"error-request": "error on request",
"error-unsubscribe": "error on unsubscribe",
"error-subscribe": "error on subscribe",
"error-command": "error on command"
}
}
}