MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. shbatm
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 12
    • Posts 208
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @nagaculun You’ll have to set the width and height of the stream manually because and OMXPlayer should resize the video for you. It’s a bit trial and error, but you should be able to get it lined up very close.

      Refer to the README and the moduleOffset module setting and width, height, and absPosition stream settings.

      Let me know if you have issues getting it to work.

      posted in Utilities
      S
      shbatm
    • RE: Could use some assistance setting up MMM-Carousel w/ Navigation and understanding the architecture

      @beeficecream - Welcome to the project and I’m glad you got it working. I just wanted to leave this here for anyone who needs it in the future:

      To use multiple instances of the same module with Carousel w/ Navigation:
      This example allows for 2 different style clocks on different slides:

      In the OTHER module’s config, add a CarouselId variable:

      {
              module: "clock",
              position: "middle_center",
              config: {
                  carouselId: "1",
                  displayType: "both"
              }
          }, {
              module: "clock",
              position: "top_left",
              config: {
                  carouselId: "2",
              }
          },
      

      In the MMM-Carousel config slides section, instead of just "clock", use {name:"clock", carouselId:"1"}

          ...
          mode: 'slides',
          slides: [
              [   {name:'clock', carouselId: "1"} ],
              [   {name:'clock', carouselId: "2"}, 'calendar', 'MMM-WunderGround', 'newsfeed' ] ]
          ...
      

      You can also use the same object format to move a module around for different slides or change the sizes. See https://github.com/shbatm/MMM-Carousel#example---advanced-slides-carousel for details.

      posted in Troubleshooting
      S
      shbatm
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @Vauxdvihl – when you open the stream in your browser, do you need any special plugins to view it?

      Without digging too deep, it looks like this is a MJPEG stream, which can be viewed without any special software in the browser. For these kind of streams it’s easiest to just use the MMM-iframe module to show the stream.

      If you don’t want to show the controls the page generates, you can find the link directly to the camera image by viewing the source of the camera stream page.

      posted in Utilities
      S
      shbatm
    • RE: [MMM-OnScreenMenu] Simple On-Screen Menu for controlling the MagicMirror²

      @M1K3rSz – Glad you tried it! Sorry you ran into some trouble.

      To get the monitor back on:

      1. Via ssh: tvservice --preferred && sudo chvt 6 && sudo chvt 7
        • Sets the HDMI output back on to preferred settings, then changes the virtual terminal off of then back on to the desktop channel. This is the same command that most modules that turn on the monitor uses.
      2. Via notification sent from another module, such as MMM-Remote-Control:
        • Notification: ‘ONSCREENMENU_PROCESS_ACTION’,
          Payload: { actionName:‘monitorOn’ }

      The Monitor Off menu item is best used when you have another module that wakes up the mirror (PIR sensor, button, etc.).

      posted in Utilities
      S
      shbatm
    • RE: [MMM-OnScreenMenu] Simple On-Screen Menu for controlling the MagicMirror²

      New version posted with expanded options:

      Version 0.1.3

      • Added menu options for minimizing, toggle fullscreen mode, opening DevTools, stopping MM via PM2,
      • Added delayed menu items (e.g. call a function after a certain timeout–like to turn off the mirror after X seconds)
      • Added external control of the menu/functions from other modules via notifications–includes the ability to call any function the module knows how to handle, even if it’s not in the menu. This lets you use modules like MMM-Buttons or MMM-MPR121 to control the menu.

      See the full details of everything the menu can do on the GitHub README:

      [card:shbatm/MMM-OnScreenMenu]

      Remember to re-run npm install after updating:

      cd ~/MagicMirror/modules/MMM-OnScreenMenu
      git pull
      npm install
      
      posted in Utilities
      S
      shbatm
    • RE: MMM-RTSPStream dosent work in my case

      @alverman – I’m the creator of the module and I wanted to apologize, I’ve been working on other projects and not following this forum very closely the past few months. I’m glad you got everything solved, I’m sorry I wasn’t able to assist.

      In the future, if you have any issues with one of the modules I created, please tag me (@shbatm) or open an issue on the module’s Issue page at github.com so I get a notification and will be happy to assist.

      posted in Troubleshooting
      S
      shbatm
    • RE: [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server

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

      posted in Productivity
      S
      shbatm
    • RE: [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server

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

      posted in Productivity
      S
      shbatm
    • RE: [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server

      @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

      posted in Productivity
      S
      shbatm
    • [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server

      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.
      posted in Productivity
      S
      shbatm
    • 1 / 1