shbatm / octomirror-module

Magic Mirror Module that can interact with an Octoprint instance
MIT License
28 stars 20 forks source link

Module doesn't update when started after octoprint #21

Open tiloup42 opened 3 years ago

tiloup42 commented 3 years ago

Hello, thanks for the module !

As said in the title, when my MM (on rasp pi 3) is started before my Octoprint (on a Debian PC, Started only when needed), the module stays N/A everywhere, only a soft restart of MM put everything back as normal.

Am i missing something ?

alphatrianguli commented 3 years ago

I have the same issue and so have others...

lclem commented 3 years ago

same here. the title should read "when started BEFORE octoprint"

RoninActual commented 2 years ago

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
                    }
            },
clintiepoo commented 2 years ago

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

Does your install show temperatures and so on? I am having the same problem as others where everything shows NA. Only the camera works.

costascontis commented 1 year ago

same here must restart mm to show info right