• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.8k 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 Away
    sdetweil @btastic
    last edited by May 29, 2023, 12:23 PM

    @btastic awesome…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    B 2 Replies Last reply May 29, 2023, 8:24 PM Reply Quote 0
    • S Away
      sdetweil @btastic
      last edited by sdetweil May 29, 2023, 5:53 PM May 29, 2023, 5:49 PM

      @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 May 29, 2023, 8:24 PM Reply Quote 0
      • S Away
        sdetweil @btastic
        last edited by May 29, 2023, 6:58 PM

        @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 May 29, 2023, 8:24 PM

          @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 May 29, 2023, 10:46 PM Reply Quote 0
          • B Offline
            btastic @sdetweil
            last edited by May 29, 2023, 8:24 PM

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

            1 Reply Last reply Reply Quote 0
            • B Offline
              btastic @sdetweil
              last edited by May 29, 2023, 9:19 PM

              @sdetweil I added a fallback thumbnail

              b1MoU4LExz.png

              1 Reply Last reply Reply Quote 1
              • B Offline
                BKeyport Module Developer @btastic
                last edited by May 29, 2023, 10:33 PM

                @btastic Slick. I like it.

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

                1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @btastic
                  last edited by sdetweil May 29, 2023, 10:46 PM May 29, 2023, 10:46 PM

                  @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 Jun 13, 2023, 6:40 PM

                    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 Jan 8, 2025, 2:22 PM

                      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

                      K 1 Reply Last reply Jan 8, 2025, 3:08 PM 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