octomirror-module icon indicating copy to clipboard operation
octomirror-module copied to clipboard

Currently Showing N/A for all stats

Open ColinTravis opened this issue 6 years ago • 6 comments

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

ColinTravis avatar Oct 31 '18 04:10 ColinTravis

I'm having the same error any solution?

elblogbruno avatar Jan 09 '19 21:01 elblogbruno

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.

shbatm avatar Jan 09 '19 22:01 shbatm

Thanks I'll give It a go.

elblogbruno avatar Jan 09 '19 22:01 elblogbruno

image

Pulled in newest version, even updated API key. Still seems to be reporting N/A

ColinTravis avatar Jul 21 '19 17:07 ColinTravis

I had the same problem. Enabling "Allow Cross Origin Resource Sharing (CORS)" in Octoprint resolved the problem. image

Nerradia avatar Oct 05 '19 20:10 Nerradia

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
                    }
            },

RoninActual avatar Nov 12 '21 22:11 RoninActual