1. Add the UI-Builder package
Install node-red-contrib-uibuilder and place the node into your flow.
Pair UI-Builder with SCADAvis.io to turn operational messages and automation logic into richer browser-based user interfaces.
Install node-red-contrib-uibuilder and place the node into your flow.
Edit the UI-Builder source files and replace index.html with a SCADAvis.io-enabled page.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SCADAvis.io Node-RED Example</title>
<script src="https://scadavis.io/synoptic/synopticapi.js"></script>
</head>
<body>
<div id="scadavis_display1"></div>
<script>
// initialize display, bind click handlers, and push flow values
</script>
</body>
</html> index.js file.Push arrays of tags and values into the page and update the scene in one pass.
[
{ "tag": "KOR1TR1--YTAP", "value": 9 },
{ "tag": "KOR1XSWI1", "value": false },
{ "tag": "KOR1KV230", "value": 231 },
{ "tag": "KOR1TR1MW", "value": 50 }
] Once the data loop works, use the editor to create custom scenes and interactions for your use case.
Learn more about display creation