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

      All, I just wanted to check in and apologize for not only lack of support for this module but lack of response on here and on GitHub.

      Thank you for those who have been continuously trying to get others’ setups working. You are showing the true value of this community.

      I feel I at least owe a bit of an update, since I’ve been utterly frustrated before by developers who disappear without a trace, but officially: I am not planning on actively supporting this module any further.

      The underlying software for the OMXPlayer and VLC overlays are not under my control, and in several years of searching I have not found a “smooth” or “robust” way of maintaining a low-resource-demand RTSP Stream without significant lag, and I was a bit overwhelmed trying to make a one-size-fits-all module that worked for everything. I actually have only used the stills/snapshot feature of this module on my own mirror for the last year and a half, and found myself never using the live stream, that functionality has been delegated to my Home Assistant setups, which have people much better than me working on the Stream components.

      Both of my mirrors are also presently in pieces as part of a home move that is going terribly and coupled with a COVID-19-impacted work schedule (now working 2/3s of my days away from home), I will not have time to make any improvements to this module in the foreseeable future.

      I’m sorry to have to make this decision and will try and accept any Pull Requests outstanding and clean up the dev/master branches to be consistent. If there is someone willing to take over developing, I can transfer the repo to your fork.

      For those who have been continually helping to get streaming working for everyone on here, again, thank you, you are helping drive what this community is about (and helping me by knowing the countless hours put into this module have at least helped a few others).

      posted in Utilities
      S
      shbatm
    • RE: [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates

      @cr4z33 try adding them using the customCommands config setting (see the develop branch README.

      posted in Development
      S
      shbatm
    • RE: a question about MMM-Remote-Control

      @robiv8 said in a question about MMM-Remote-Control:

      How I initialized?

      Short answer: If you restart the Mirror (from command line, computer, or remote), make sure you refresh the remote page after the Mirror loads, if you have the remote open on a different device.

      Long answer: For some functions to work properly, an instance of the MagicMirror page must be loaded first because the remote queries it for information and uses it to perform actions on other modules. The main page must be loaded before the remote page; or the remote page refreshed if the Mirror is restarted. This should usually be the case if you use the Mirror on a screen directly attached to the server (RPi). If you use a web browser on a different computer, open/refresh http://magicmirror:8080 first in another tab, before reloading http://magicmirror:8080/remote.html.

      posted in Troubleshooting
      S
      shbatm
    • RE: MMM-SmartWebDisplay : display web contents (including YouTube) on your MM

      @agp42 said in MMM-SmartWebDisplay : display web contents (including YouTube) on your MM:

      Did you create a dedicated post for your fork and API ?

      https://forum.magicmirror.builders/topic/9291/mmm-remote-control-v2-dev-extensible-rest-api-dynamic-menus-and-socket-communications-plus-other-updates

      @Jopyth is still the maintainer of MMM-Remote-Control, and I’ve sent a PR to have my changes included in the official repo; if he’s anything like me, this is a hobby and efforts on it come and go as time and other projects allow. Feel free to use my fork for now and if/when they get merged, I’ll let you know. I’ve been trying to include several Issue fixes in my branch as well to wrap them all up into 1 update.

      posted in Utilities
      S
      shbatm
    • RE: [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates

      @swvalenti Most of the changes are in the background with the API and are enabled by default, but the new front-end features have to be turned on in your config:

      {
          module: 'MMM-Remote-Control'
          // uncomment the following line to show the URL of the remote control on the mirror
          // , position: 'bottom_left'
          // you can hide this module afterwards from the remote control itself
          config: {
              customCommand: {},  // Optional, See "Using Custom Commands" below
              customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
              showModuleApiMenu: true, // Optional, Enable the Module Controls menu
              pm2ProcessName: "mm",  // Optional, if you don't use the default PM2 process, provide the name here.
              apiKey: "",         // Optional, See API/README.md for details
          }
      },
      
      posted in Development
      S
      shbatm
    • RE: a question about MMM-Remote-Control

      If you are using the module_identifier to hide/show modules using notifications–changing your configuration will change the identifier. So if you had “alert” as the first module and “clock” as the second, but you flip-flop them, the identifiers would change from module_0_alert and module_1_clock to module_0_clock and module_1_alert and you would need to update the notifications sent from the other module.

      If you are just using the /remote.html page, you don’t need to worry about this. It will manage it.

      If you are using my fork and using notifications from other modules, you can also just use the module name, which doesn’t change (but this will affect all modules of that kind, if you have more than 1).

      posted in Troubleshooting
      S
      shbatm
    • RE: MMM-SmartWebDisplay : display web contents (including YouTube) on your MM

      @AgP42 Nice work!

      Just to let you know, I did a bunch of work on a version of MMM-Remote-Control that automatically exposes an API for controlling other modules, and each module can send a notification with it’s own capabilities/API. It sounds like a good use case for this module. Instead of maintaining a separate fork, you send a module notification on startup with the capabilities, and it will automatically add a menu item to the Remote Control as well as add an API path at http://magicmirrorip:8080/api/module/smartwebdisplay/. Right now you could accept a URL from the API, but I still haven’t implemented a custom payload from the remote (you can still send the play/pause/etc. commands.

      My fork

      https://github.com/shbatm/MMM-Remote-Control/tree/develop
      https://github.com/Jopyth/MMM-Remote-Control/pull/104

      API Details:

      https://github.com/shbatm/MMM-Remote-Control/tree/develop/API

      Use Case:

      https://github.com/shbatm/MMM-Carousel/blob/master/MMM-Carousel.js#L86

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

      @cr4z33 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      “RTSP_ACTIVATE”: {
      notificationExec: {
      notification: “RTSP-PLAY”,
      payload: “all”
      }
      },

      Regarding the other issue we’ve been working through – I sent you a chat, but if you have this part in your config with the rest of the TV channels–take it out and see if that fixes the problem you’ve been having with the wrong stream.

      I think this is being called by AssistantMk2 after calling the individual stream.

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

      @robiv8 Strange. I wonder if it’s something with the word main. You could also try "Main".

      Here’s one of my carousel configs for another reference:

                      slides: {
                          Home: [{ name: 'clock', classes: 'zoom200', position: "middle_center", carouselId: 1 }],
                          Info: [{ name: 'clock', classes: 'zoom200', position: "top_center", carouselId: 1 },
                              { name: 'calendar', position: 'top_left' }, 'MMM-Todoist',
                              'MMM-DarkSkyForecast',
                              'newsfeed',
                          ],
                          Status: [{ name: 'clock', classes: '', position: "top_left", carouselId: 2 },
                              'MMM-JSONStatusChecker', "internet-monitor"
                          ],
                          ISY: [{ name: 'clock', classes: '', position: "top_left", carouselId: 2 }, 'MMM-ISY'],
                          Cameras: ["MMM-RTSPStream"],
                          Octopi: [{ name: 'clock', classes: '', position: "top_left", carouselId: 2 }, 'octomirror-module'],
                      }
      
      posted in Troubleshooting
      S
      shbatm
    • RE: [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates

      @robiv8 make sure your are on the develop branch (git checkout develop from a command line inside the module folder).

      https://github.com/shbatm/MMM-Remote-Control/blob/develop/node_helper.js#L988

      posted in Development
      S
      shbatm
    • 1
    • 2
    • 3
    • 4
    • 5
    • 20
    • 21
    • 1 / 21