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

[Remote-Control] Shutdown, Configure and Update your MagicMirror

Scheduled Pinned Locked Moved System
274 Posts 78 Posters 680.3k Views 77 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.
  • D Offline
    Duh3c
    last edited by Apr 11, 2019, 8:50 PM

    Hello everyone,
    I am a little new to MagicMirror and I am trying to control MMM-RTSPStream or somehow hide the stream with MMM-ModuleToggle and Remote Control module.
    I am having problems with requests.

    I have read every example and tryed many things in postman but with no success. I am trying to post these kind of notifications and I don’t know how to formulate request correctly.
    This is how Module toggle notification should be formulated:

    notification: "MODULE_TOGGLE",
    payload: {hide: ["MMM-RTSPStream"], show: [], toggle:[]}
    

    Or maybe there is a way to cut the stream directly. This is what MMM-RTSPStream suports:

     "stream": {
            "module": "MMM-RTSPStream",
            "path": "stream",
            "actions": {
                "play": {
                    "notification": "RTSP-PLAY",
                    "prettyName": "Play Stream(s)"
                },
                "stop": {
                    "notification": "RTSP-STOP",
                    "prettyName": "Stop Stream(s)"
                },
                "fullscreen": {
                    "notification": "RTSP-PLAY-FULLSCREEN",
                    "prettyName": "Play Fullscreen"
                },
                "window": {
                    "notification": "RSTP-PLAY-WINDOW",
                    "prettyName": "Play in Window"
                }
            }
        }
    }
    

    I am very grateful for such great modules and I would be very please if you could give me a hint to how to do it.
    Regards

    1 Reply Last reply Reply Quote 0
    • A Offline
      apster
      last edited by apster Mar 10, 2020, 4:58 PM Mar 10, 2020, 4:55 PM

      i all i’m new to this world so bear with me plz,

      I have built en set-up my daughters SM ( she’s 7 so made her a Disney “mirror, Mirror on the Wall” kinda thing.

      I have set up most of the basic stuff, work in progress is;

      motion sensor
      voicecontole
      and the darn MMM remote control
      the last one gives me heaps of trouble, i’ve managed to fix a lot problems by trial and error, using this forum as a guideline.
      There is one thing, picto’s and “sliders” to turn on off stuff on my phone, i havent been able to fix.

      I’ve read and applied all the suggested fixes on the forum.

      everything works but i’m unable to see if a module is on or off on my phone.

      can anyone point me in the right direction, i’m lost atm… not native english (correct my grammer i dont mind, infact it helps)

      thanks in advance

      p.s. new to programming so be gentlealt text

      S 1 Reply Last reply Mar 10, 2020, 7:58 PM Reply Quote 0
      • S Offline
        Stoffbeuteluwe Project Sponsor @apster
        last edited by Stoffbeuteluwe Mar 10, 2020, 7:58 PM Mar 10, 2020, 7:58 PM

        @apster - the font awesome package was updated in v2.7 so the direct reference to FA in remote.html will need to be updated.

        It looks like this line
        link rel=“stylesheet” type=“text/css” href=“vendor/node_modules/font-awesome/css/font-awesome.min.css”

        Should be changed to
        link rel=“stylesheet” type=“text/css” href=“vendor/css/font-awesome.css”

        1 Reply Last reply Reply Quote 1
        • G Offline
          goldyfruit Project Sponsor
          last edited by Oct 31, 2020, 3:54 PM

          Just to let you now that there is a new maintainer (not me) for this module, same Git repository though!
          Many bugs have been fixed, many issues have been closed.

          So far most of the changes are into the “developer” branch until the new release.

          Build smart things with magic and love! | https://smartgic.io

          S 1 Reply Last reply Nov 1, 2020, 12:11 PM Reply Quote 0
          • S Offline
            Stoffbeuteluwe Project Sponsor @goldyfruit
            last edited by Nov 1, 2020, 12:11 PM

            @goldyfruit thanks

            1 Reply Last reply Reply Quote 0
            • G Offline
              goldyfruit Project Sponsor
              last edited by Nov 1, 2020, 1:13 PM

              The new version has been released!!

              84422717-2aa5-4c62-b21a-de8e8416728a-image.png

              Build smart things with magic and love! | https://smartgic.io

              J 1 Reply Last reply Nov 1, 2020, 6:43 PM Reply Quote 0
              • J Offline
                Jopyth Moderator @goldyfruit
                last edited by Nov 1, 2020, 6:43 PM

                @goldyfruit Why not just post the text? :D

                [2.1.0] - 2020-11-01

                Hello! Ezequiel here. Just wanted to say thanks for trust in me, in the past days I made a lot of changes into the code, adding some functions that’ll surely be in a future release, and also putting everything together in my fork. I answered almost every issue raised, and tried to help every person that use this module. Today, I’m glad to be able to share everything I learned to all of you. I apologize for some fast and uncommented commits, I just thinked that some things needed to be fixed ASAP.
                See you in future commits, issues and PRs :D

                Fixed

                • A typo in es translation
                • A few typos in README.md (#134 and #149) and API/README.md (#179)
                • Delayed commands should now work (#190)
                • Typo on remote_action (#184)
                • IP now showing (#194)
                • MM restart button don’t just stop anymore (#126)
                • Saving config should work as expected now (#153)
                • installer.sh now detects where’s the node instalation (#222)

                Added

                • Danish translation (#157)
                • Italian translation (#162)
                • Port now showing according to config.js (#98)
                • Custom commands for shutdown and reboot

                Changed

                • Overwrite of local changes when updating from a repository
                • Now requires MagicMirror version 2.12

                [2.0.1] - 2020-10-28

                Huge thanks to @ezeholz who has offered to maintain the module fron now on!
                Credit for this (and future) versions and releases goes to @ezeholz (unless noted otherwise).

                Now requires MagicMirror version 2.7.

                Fixed

                • Path to font awesome icons
                • A few typos in ca and es translations
                • Updates to remote.html to support new basePath feature in MM config.js, follow up to this MM issue, related to #185

                Helpful sticky: How to troubleshoot

                1 Reply Last reply Reply Quote 1
                • G Offline
                  goldyfruit Project Sponsor
                  last edited by Nov 2, 2020, 12:32 PM

                  @Jopyth because I was lazy :p

                  Build smart things with magic and love! | https://smartgic.io

                  1 Reply Last reply Reply Quote 1
                  • G Offline
                    goldyfruit Project Sponsor
                    last edited by goldyfruit Nov 17, 2020, 9:58 PM Nov 17, 2020, 9:56 PM

                    [2.2.0] - 2020-11-16

                    FIXED

                    • Default values now removed from backup (#12)
                    • Custom Menus now works as expected
                    • API working, not well implemented in the past
                    • API userPresence now working as expected

                    ADDED

                    • Updates now show if there’s an update available every day (#52)
                    • Templates for issues and PRs, and also stale for automanagement of issues.
                    • Close Dev Tools (#119)
                    • Undo Config Implementation [Beta]
                    • Classes to show, hide or toggle multiple modules at once (#34)
                    • Classes and saves API
                    • Changelog of every module updated
                    • Showdown implemented in order to show changelog markdown.
                    • secureEndpoint config to bypass the non-apikey limitation. This could be dangerous, use it with caution.
                    • Added POST support for Monitor API (#200)
                    • Added endpoint to edit config file (#206)
                    • Endpoint /api/docs now shows you the documentation available for the API. You can test your mirror right there!

                    CHANGED

                    • lodash required. Do npm install on the Remote Control module.
                    • Alert button don’t show up when Alert module isn’t active
                    • The way monitor turn on and off (#225)
                    • Now hide, show or toggle modules also accept arrays
                    • /api/test can be reach without any apiKey
                    • /api/modules/installed and /available are now /api/module/installed and /available
                    • apiKey required in order to change substantial things on the Mirror
                    • Some Endpoints are gonna be deprecated in the future. You can see those inside /api/docs, in the Legacy menu.

                    REMOVED

                    • /api/modules it’s no longer available, you can use /api/module instead.
                    • Postman collection deprecated ~ (Sorry n.n)

                    Build smart things with magic and love! | https://smartgic.io

                    1 Reply Last reply Reply Quote 2
                    • MorgangaM Offline
                      Morganga
                      last edited by Morganga Dec 15, 2020, 11:27 AM Dec 15, 2020, 11:23 AM

                      Hey,

                      I’m very new to coding and the magicmirror thing, here I’m stuck at restarting the mirror, the command pm2 restart doesn’t work, I managed to instal pm2 (I think) but it still doesn’t work “Process or namespace magicmirror not found”

                      It also said ealier in the module I needed an API key in my config section, where should I write it ?

                      Could someone help ? Thanks !

                      S 1 Reply Last reply Dec 15, 2020, 11:44 AM Reply Quote 0
                      • 1
                      • 2
                      • 24
                      • 25
                      • 26
                      • 27
                      • 28
                      • 27 / 28
                      • 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