MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server

    Scheduled Pinned Locked Moved Productivity
    47 Posts 17 Posters 37.1k Views 18 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • citizendevpiC Offline
      citizendevpi @shbatm
      last edited by yawns

      @shbatm

      }, {
              module: "octomirror-module",
              position: "bottom_left",
              config: {
                  url: "http://192.168.2.141",
                  api_key: "B7ACF3C4BDD04D61BF5176C75778661E",
              }
          },
      

      so i obviously cannot figure out how to copy paste my config i feel like i have some issues

      1 Reply Last reply Reply Quote 0
      • citizendevpiC Offline
        citizendevpi @shbatm
        last edited by

        @shbatm yes I have enabled the API as you can c it is in my config

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          shbatm Module Developer @citizendevpi
          last edited by

          @citizendevpi Try adding debugMode: true, to the config and see if you get any useful information in the logs. I can’t remember if they’ll show up in the console or DevTools. Also, it’s been a while since I’ve used the module, but it will only show data when it’s actually printing too.

          1 Reply Last reply Reply Quote 0
          • michael24hM Offline
            michael24h
            last edited by sdetweil

            @citizendevpi said in [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server:

            url: “http://192.168.2.141”
            Looks like link isn’t complete. Should looks like this http://ip_address/webcam/?action=stream

            {
                    module: 'MMM-MotionEye',
                    position: 'top_right',
                        config:  {
                        width: "460px",
                        autoHide: false,
                        url: "http://octoprint IP address/webcam/?action=stream",
                        debug: false,    
                        user: "pi"  
                    }
                },   
            

            I hope this will help you

            S 1 Reply Last reply Reply Quote 0
            • michael24hM Offline
              michael24h
              last edited by

              Try open octoprint > go to webcam > then open image in new tab. and copy http address from web browser to your config file in octomirror-module.

              1 Reply Last reply Reply Quote 0
              • S Offline
                shbatm Module Developer @michael24h
                last edited by

                @michael24h said in [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server:

                Looks like link isn’t complete. Should looks like this http://ip_address/webcam/?action=stream

                Nope, that shouldn’t be it. He said his stream was working and the url parameter is just for the octopi instance, not the stream. The module assumes it needs to add /webcam/?action=stream” unless streamUrl is provided.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  shbatm Module Developer
                  last edited by

                  @citizendevpi

                  Just confirming: you are using my version https://github.com/shbatm/octomirror-module not the original, correct?

                  citizendevpiC 2 Replies Last reply Reply Quote 0
                  • citizendevpiC Offline
                    citizendevpi @shbatm
                    last edited by

                    @shbatm let me check and yes u are correct I do have my stream no problem but no info and I would only expect it to give me stats when printing

                    1 Reply Last reply Reply Quote 0
                    • citizendevpiC Offline
                      citizendevpi @shbatm
                      last edited by

                      @shbatm yes shbatm/octomirror-module

                      1 Reply Last reply Reply Quote 0
                      • citizendevpiC Offline
                        citizendevpi
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • citizendevpiC Offline
                          citizendevpi
                          last edited by

                          Any help

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            shbatm Module Developer @citizendevpi
                            last edited by

                            @citizendevpi said in [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server:

                            Any help

                            Sorry, I haven’t had a chance to fire up my printer and take a look yet. Going to try in the next few days. They’ve probably updated something in Octoprint that broke it.

                            One thing I did think of to have you check on: make sure you have Allow CORS turned on in your Octoprint settings.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              shbatm Module Developer
                              last edited by

                              @michael24h @citizendevpi Please update the module to the latest version and give it a try.

                              Short version: OctoPrint changed the way the API login works.
                              Long version: The new bundled OctoPrint plugin ForceLogin now requires the API to get a session ID and send it back to the socket before it will send any detailed messages. Detailed here and here.

                              citizendevpiC 1 Reply Last reply Reply Quote 0
                              • citizendevpiC Offline
                                citizendevpi @shbatm
                                last edited by

                                @shbatm so how do i fix it? add some more info in config or ???

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  shbatm Module Developer @citizendevpi
                                  last edited by shbatm

                                  @citizendevpi said in [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server:

                                  how do i fix it?

                                  Update the module. You shouldn’t need to add anything else.

                                  cd ~/MagicMirror/modules/octomirror-module
                                  git fetch 
                                  git pull
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    SEMPL3X
                                    last edited by

                                    Hey @shbatm Thanks for the module! It is soo great! But i have one question. When the Printer and Octoprint is Offline, but my MM runs, it is offline ok but when i start the Printer and octoprint it says in MM that the printer is offline. How can i fix that ? :) Hope u see this :D

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jay.j.flynn
                                      last edited by

                                      Is there a way to hide the module when the printer is offline?

                                      TheMysticleT M 2 Replies Last reply Reply Quote 0
                                      • TheMysticleT Offline
                                        TheMysticle @jay.j.flynn
                                        last edited by

                                        @jay-j-flynn Hi if you still have this running did you actually get it to work? I can’t get mine to display anything. It’s like it doesn’t connect to octopi.

                                        FoziF 1 Reply Last reply Reply Quote 0
                                        • FoziF Offline
                                          Fozi Project Sponsor @TheMysticle
                                          last edited by

                                          @TheMysticle First I also couldn’t make the module work until I did the following:

                                          1. Entered in config.js the IP-address of the RPi OctoPrint runs on
                                          2. Enter the API key without any brackets (the ReadMe.md was a bit misleading)

                                          My config looks like this:

                                          {
                                                  module: "octomirror-module",
                                                  position: "middle_center",
                                                  config: {
                                                      url: "http://192.168.0.123",
                                                      printerName: "Ender 3 Pro",
                                                      interactive: false, // Set to false to hide the file drop down and only show the stream.
                                                      api_key: "1234567890ABCDEFGHI"
                                                  }
                                              },
                                          

                                          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            Davido
                                            last edited by

                                            Hi, I have the same problem as @TheMysticle . I have tried changing nearly everything, but the only thing i got is the Camera Stream. The Api must be working, because i use this also in my Home Assistant and there i got all the Informations.
                                            The Installation was made from https://github.com/shbatm/octomirror-module

                                            Here is my config

                                            {
                                            				module: "octomirror-module",
                                            				position: "bottom_left",
                                            				config: {
                                            					url: "http://192.168.0.97",
                                            					api_key: "1234567890ABCDEF",
                                            					printerName: "Ender 3",
                                            					showTemps: true,
                                            					showDetailsWhenOffline: true,
                                            					interactive: false, // Set to false to hide the file drop down and only show the stream.
                                            						}
                                            				},
                                            

                                            Maybe someone has an Idea

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy