octomirror-module
octomirror-module copied to clipboard
Currently Showing N/A for all stats
All stats from Octoprint are showing as N/A.
Switched on debug mode, but no messages are coming through either. The stream works great, and I've got the same API key set as I do in Cura. I'm on version 1.3.9 of Octoprint
I'm having the same error any solution?
Sorry -- I didn't update the comments here... Please update the module to the latest version:
cd ~/MagicMirror/modules/octomirror-module
git fetch
git pull
Details of the change here in the MagicMirror forum.
Thanks I'll give It a go.
Pulled in newest version, even updated API key. Still seems to be reporting N/A
I had the same problem. Enabling "Allow Cross Origin Resource Sharing (CORS)" in Octoprint resolved the problem.
Please check your configuration to ensure the hostname is correct (try the ip, no port) and that the api key is not in brackets.
Find the config that worked for me below:
{
module: "octomirror-module",
position: "middle_center",
disabled: false,
config: {
url: 'http://xxx.xxx.xx.xx',
api_key: 'api key no brackets',
printerName: 'name for the header',
streamUrl: 'http://xxx.xxx.xx.xx/webcam/?action=stream',
interactive: false,
showDetailsWhenOffline: false
}
},