• 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.

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

Scheduled Pinned Locked Moved Productivity
47 Posts 17 Posters 26.7k 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.
  • S Offline
    shbatm Module Developer
    last edited by Jan 20, 2018, 3:37 PM

    @barnosch Yep! Done! Pull the updated version and add showStream: false to your config.

    Also FYI – right now I only include the information useful to me, but the module interacts with the full OctoPrint API, so if there’s something else you’d like to see, or want to customize how it’s displayed, please let me know!

    API Reference – http://docs.octoprint.org/en/master/api/push.html

    1 Reply Last reply Reply Quote 0
    • B Offline
      barnosch
      last edited by Jan 20, 2018, 5:24 PM

      Awesome. Thanks, dude.
      0_1516468931273_c0a57a78-b5b3-443b-b61a-146cb8c97941-grafik.png

      made some little adustments to fit my needs.
      The only thing which i think could be also interesting is maybe the temperatures of the nozzle and the bed?

      B 1 Reply Last reply Dec 17, 2020, 12:58 PM Reply Quote 0
      • S Offline
        shbatm Module Developer
        last edited by Jan 20, 2018, 10:04 PM

        @barnosch: Made some more changes:

        • Implemented MM Translations and added English and what I could of German.
        • Added most recent nozzle & bed target & actual temperatures – can be enabled/disabled with showTemps config option.
        • Added option to hide the file, time, and temps when the printer is offline – can be enable/disabled with showDetailsWhenOffline option.

        You’ll have to move your lines around again after you update it–for now, anyway–I’m adding “Add Stylesheet and auto format for width” to my to-do list for the module, as well as hide camera window when not printing.

        1 Reply Last reply Reply Quote 0
        • B Offline
          barnosch
          last edited by Jan 21, 2018, 1:23 PM

          Perfect! Already pulled and adjusted.
          Thank you really much.
          I appreciate your fast and nice work.

          1 Reply Last reply Reply Quote 0
          • B Offline
            barnosch
            last edited by Jan 23, 2018, 6:58 PM

            Is there any chance to give the stream object a CSS name to override the common resolution of the webstream via CSS?

            Right now, as i can see it, it fetches the stream from http://octopiIP:8080 as it is.
            Thats killing my mirror ;)

            1 Reply Last reply Reply Quote 0
            • S Offline
              shbatm Module Developer
              last edited by shbatm Jan 24, 2018, 3:56 AM Jan 24, 2018, 3:50 AM

              @barnosch - it’s on the To-do list.

              For now, try setting the height/width in your custom.css file with something like:

              div.octomirror-module img {
                  height: 150px;
                  width: 150px;
              }
              

              EDIT: Removed the > in the selector line above.

              1 Reply Last reply Reply Quote 0
              • B Offline
                barnosch
                last edited by Jan 24, 2018, 5:22 PM

                Great. Good idea, since it is “only” a img tag, it is pretty easy.
                i was thinking to complicated. Now it fits nicely.
                0_1516814531991_005afc39-fe57-4c77-9773-6427357fe7f1-grafik.png

                Looking forward for the “hide camera window when not printing” feature.
                But no hurry.

                Great work!

                1 Reply Last reply Reply Quote 0
                • M Offline
                  michael24h
                  last edited by Feb 26, 2018, 9:31 PM

                  My stream showing upside down. any idea ?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    michael24h
                    last edited by Feb 26, 2018, 10:00 PM

                    this works for me:
                    div.octomirror-module img {
                    transform: rotate(180deg);

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      d3r
                      last edited by Apr 24, 2018, 12:08 AM

                      Installed this on my pi3 for the Mp select mini today. This is great!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 1 / 5
                      • 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