Skip to content
Discussion options

You must be logged in to vote

Hi @JohnAdam-123 ,

Apologies for the late response.

To fix this you can register your plugin prior to openmct being started. Move your plugin code from index.html to index.js like this:

import installYamcsPlugins from '../src/openmct-yamcs.js';

// Define the GreenCubeTelemetryPlugin inside the script block
function GreenCubeTelemetryPlugin() {
    return function install(openmct) {
        // Define the GreenCube telemetry type
        openmct.types.addType('greencube.telemetry', {
            name: 'GreenCube Telemetry Data',
            description: 'Telemetry data from the GreenCube modem',
            cssClass: 'icon-telemetry'
        });

        // Add a provider to fetch telemetr…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@JohnAdam-123
Comment options

@JohnAdam-123
Comment options

@ozyx
Comment options

Answer selected by davetsay
@JohnAdam-123
Comment options

@davetsay
Comment options

davetsay Apr 1, 2025
Collaborator

Comment options

You must be logged in to vote
1 reply
@davetsay
Comment options

Comment options

You must be logged in to vote
1 reply
@davetsay
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants