• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 488 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 Dec 15, 2022, 1:02 PM

    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 Dec 15, 2022, 1:18 PM Reply Quote 0
    • S Away
      sdetweil @myayo001
      last edited by Dec 15, 2022, 1:18 PM

      @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 Dec 15, 2022, 1:21 PM

        You use an another module?

        S 1 Reply Last reply Dec 15, 2022, 1:39 PM Reply Quote 0
        • S Away
          sdetweil @myayo001
          last edited by Dec 15, 2022, 1:39 PM

          @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
          • 1 / 1
          1 / 1
          • First post
            1/4
            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