Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currently Showing N/A for all stats #4

Open
ColinTravis opened this issue Oct 31, 2018 · 6 comments
Open

Currently Showing N/A for all stats #4

ColinTravis opened this issue Oct 31, 2018 · 6 comments
Labels
bug fixed Fixed, pending confirmation and closure.

Comments

@ColinTravis
Copy link

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

@elblogbruno
Copy link

I'm having the same error any solution?

@shbatm
Copy link
Owner

shbatm commented Jan 9, 2019

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 shbatm added bug fixed Fixed, pending confirmation and closure. labels Jan 9, 2019
@elblogbruno
Copy link

Thanks I'll give It a go.

@ColinTravis
Copy link
Author

image

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

@Nerradia
Copy link

Nerradia commented Oct 5, 2019

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

@RoninActual
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed Fixed, pending confirmation and closure.
Projects
None yet
Development

No branches or pull requests

5 participants