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


  • Module Developer

    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:


    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.


  • 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



  • 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 ;)


  • Module Developer

    @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



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


  • Module Developer

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



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



  • 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 ;)


  • Module Developer

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



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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.