• 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 shbatm Jan 20, 2018, 10:05 PM Jan 17, 2018, 6:54 PM

    Description:

    Monitor & Control an OctoPrint 3D Printer Server. Originally created by @DongerZonnie, expanded & updated by @shbatm

    The module will allow you to:
    View a live feed of the raspicam stream
    Start and stop prints
    View G-Code viewer
    Manually control the printer
    Recieve live updates on printer status

    Screenshots:

    Download:

    [card:shbatm/octomirror-module]


    Version 1.0.4

    • Implemented translations feature and added English & German
    • Added ability to show most recent temperatures
    • Added ability to hide additional details when the printer is offline.

    Version 1.0.3

    • Added options to disable camera feed and customize stream URL.

    Version 1.0.2

    • Refactored to use OctoPrint Client JS library and provide live updates via SockJS connection.
    1 Reply Last reply Reply Quote 3
    • B Offline
      barnosch
      last edited by Jan 18, 2018, 7:24 AM

      Nice!
      Since i only have a 19" MM (going to update to 22" these days) i do not have enough space left for this nice little thing.

      I guess my wife would slowly start to kill me, if i would add a stream of the actual print ;)
      since the printer is only 5 meters away from the Mirror

      Need to build another mirror i guess :P

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

        Would it be possible to just see the
        status like ETA and % and the stream optional?

        Exactly like your screenshot, but without the stream?
        I guess i would find some place for that infromation ;)

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