MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Error octomirror module

    Scheduled Pinned Locked Moved Productivity
    4 Posts 2 Posters 928 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      myayo001
      last edited by

      Re: [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server

      Hello, I try to install the module on my magicmirror. but I have one error.

      When I lauch the npm start dev, I have this :

      starting module: octomirror-module
      octomirror-module.js:110 Uncaught ReferenceError: OctoPrintClient is not defined
      at Class.start (octomirror-module.js:110:29)
      at startModules (loader.js:51:11)
      at loader.js:38:6
      at HTMLLinkElement.stylesheet.onload (loader.js:210:7)

      in the config.js I have
      {
      module: “octomirror-module”,
      position: “middle_center”,
      config: {
      //js octomirror stream.setAttribute (‘width’, ‘300’);
      debugMode: true,
      url: “http://192.168.0.30”,
      printerName: “D12 230”,
      api_key: “CC9E078BF70443DC94CB4C664E13E872”,
      streamUrl: ‘http://192.168.0.30/webcam/?action=stream/’,
      interactive: false,
      showDetailsWhenOffline: false,
      }
      },

      thanks for help.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @myayo001
        last edited by

        @myayo001 I think you installed this version?

        https://github.com/shbatm/octomirror-module

        I would open an.issue on his GitHub page to engage the author.

        you might also open the developers window ctrl-shift-i on the keyboard and select the console tab and add a unique part of the module name, octo for example , to the filter field.

        it might show any errors

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          myayo001
          last edited by

          You use an another module?

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @myayo001
            last edited by

            @myayo001 I just searched GitHub and octomirror and found multiple.

            some older ones don’t use the library producing the error.

            I know nothing about theodule itself, just debugging the error

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy