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.

    MMM-octoprint

    Scheduled Pinned Locked Moved Utilities
    17 Posts 6 Posters 4.4k Views 5 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.
    • S Offline
      sdetweil @btastic
      last edited by

      @btastic awesome…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @btastic
        last edited by sdetweil

        @btastic

        you need a position: set in the example , else nothing displays

        for some reason my gcode files dont have thumbnails…

        so the img src url ends up being

        http://octopi/undefined

        you could pass th e endpoint and tail part of the url to the template
        and if the tail is undefined then do a messge instead of the img
        or construct the full url in the template

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @btastic
          last edited by

          @btastic also, in your css file, you should prefix the classes with your modulename

          .MMM-octoprint .colum

          as all the stylesheets are loaded into the same namespace…
          it could collide with another module defining the same class name

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            btastic @sdetweil
            last edited by

            @sdetweil Thank you for testing :) I fixed up the documentation to include a position.

            As for the missing thumbnails, did you install the plugin like I mentioned in the readme file? The plugins site also describes how to add thumbnails in your slicer software.

            You should only enable the showThumbnail flag once you have thumbnails working. Otherwise it can lead to unexpected behaviour, like you’re experiencing.

            The same for the layer progress. It can only be properly shown when the plugin and slicer are properly configured.

            I added some remarks about those flags in the readme file.

            S 1 Reply Last reply Reply Quote 0
            • B Offline
              btastic @sdetweil
              last edited by

              @sdetweil Thanks for the heads up, just added it.

              1 Reply Last reply Reply Quote 0
              • B Offline
                btastic @sdetweil
                last edited by

                @sdetweil I added a fallback thumbnail

                b1MoU4LExz.png

                1 Reply Last reply Reply Quote 1
                • BKeyportB Offline
                  BKeyport Module Developer @btastic
                  last edited by

                  @btastic Slick. I like it.

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @btastic
                    last edited by sdetweil

                    @btastic I did install the plugins

                    and went into thumbnails and scanned the gcode files…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jasondreher
                      last edited by

                      Great module, but mine keeps flipping between fine and unavailable. When it flips to unavailable I look at the ip address and all looks fine…

                      any idea what the issue is?

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        xIExodusIx
                        last edited by

                        Interessantes Modul,
                        leider wird bei mir außer “Lade…” nichts weiter angezeigt, auch nach 24 Std. nicht.

                        Hard- & Software Infos:
                        Magic Mirror: 2.30 on Raspberry Pi4, 4GB
                        OctoPrint: 1.10.3, Python: 3.11.2, OctoPi: 1.1.0 on Raspberry Pi4, 8GB

                        KristjanESPERANTOK 1 Reply Last reply Reply Quote -1
                        • 1
                        • 2
                        • 1 / 2
                        • 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