Get the plugin
1. Try the plugin online
Open the online demo. The demo opens a sample SCL file. It also loads the three companion plugins. For more information, refer to Companion plugins.
The demo shows the latest version of the main branch.
2. Add the plugin to an OpenSCD distribution
The plugin is an editor plugin.
It uses the OpenSCD plugin API, which oscd-shell and the newer OpenSCD distributions use.
To add the plugin, add this entry to the editor plugins of the distribution:
{
"name": "Subscriber Later Binding",
"translations": {
"de": "Späte Bindung des Abonnenten",
"pt": "Associação Tardia de Assinante"
},
"icon": "link",
"requireDoc": true,
"src": "https://openpowershift.github.io/oscd-editor-subscriber-later-binding/oscd-editor-subscriber-later-binding.js"
}
The src URL is the bundle that CI builds from the main branch.
To use a release, install the npm package and set src to its bundle.
3. Add the companion plugins
The companion plugins are background plugins.
Add them to the background plugins of the distribution.
{
"name": "Subscriber Later Binding - SEL",
"icon": "none",
"requireDoc": true,
"src": "https://openpowershift.github.io/oscd-background-subscriber-lb-sel/oscd-background-subscriber-lb-sel.js"
}
To add the NR Electric or Siemens companion, replace sel with nr or siemens in the src URL.