Read the statement by Michael Teeuw here.
Error octomirror module
-
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.
-
@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
-
You use an another module?
-
@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