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.

    Introducing the MirrorCommandLine project

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 2 Posters 550 Views 4 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.
    • doctorwhenD Offline
      doctorwhen
      last edited by doctorwhen

      The MirrorCommandLine project provides scripts to enable command line control of the MagicMirror system over a local network.

      The MirrorCommandLine Debian format package installation scripts perform automatic installation and configuration of a MagicMirror including:

      • Automated installation of the MagicMirror software if not already installed
      • Automated configuration of the MagicMirror
      • Automated installation and configuration of several MagicMirror modules
      • PM2 process manager installation and configuration
      • Semi-automated key management to enable a single source for adding, storing, and managing the several keys necessary to activate many MagicMirror modules
      • Hundreds of MagicMirror configuration files preconfigured with layouts for both portrait and landscape mode displays and module activation

      The mirror command can be installed on your MagicMirror to issue MagicMirror commands. Currently the command line MagicMirror control scripts include support for:

      • Specifying the MagicMirror configuration file to activate
      • Starting, stopping, and restarting the MagicMirror
      • Display of various system info
        • Temperature
        • Memory
        • Disk
        • Usb
        • Network
        • Wireless
        • Screen
      • List active/installed MagicMirror modules
      • List available MagicMirror configuration files
      • Rotate the MagicMirror screen
      • Get or set the brightness level
      • Control MagicMirror video playback
        • Start/Stop video play
        • Replay video
        • Play next video
        • Hide video playback module
        • Show video playback module
      • Control the MagicMirror audio output volume level
      • Get MagicMirror status
      • Auto generation of new MagicMirror configuration files
      • Interactive mode via menu dialogs
        • Invoked with no arguments the mirror command displays a command menu.

      NOTE: The automated configuration requires access to some X11 graphical utilities. Depending upon your system’s X11 configuration, it may be necessary to grant the root user access to the display. To do so, prior to installation issue the command:

      xhost +si:localuser:root

      or grant everyone access with

      xhost +

      Visit the MirrorCommandLine Git Repository to learn more about this project, read the articles and documentation at the MirrorCommandLine Wiki, or download and install the MirrorCommandLine Debian format package.

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @doctorwhen
        last edited by

        @doctorwhen what platforms does this support? or pi only

        on pi, buster, bullseye and legacy?, pi0/3/4?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        doctorwhenD 2 Replies Last reply Reply Quote 0
        • doctorwhenD Offline
          doctorwhen @sdetweil
          last edited by

          @sdetweil I’ve successfully deployed and tested MirrorCommandLine on a Raspberry Pi 4 running Raspbian Buster and Ubuntu 20.04 on a couple of systems. The installation package format is Debian so the automated installation and configuration is limited to systems that support the Debian packaging format. However, it should deploy on most Debian based Linux environments. I do not know about Pi Zero or Pi 3. I would appreciate any feedback from folks who use those systems. I have a Pi 400 I can test on and will report the results.

          I’ll add a Compatibility section to the README.

          1 Reply Last reply Reply Quote 0
          • doctorwhenD Offline
            doctorwhen @sdetweil
            last edited by

            @sdetweil I should also add that some of the automated MagicMirror installation and configuration in MirrorCommandLine drew upon your previous work at https://github.com/sdetweil/MagicMirror_scripts

            I should add a note about your contribution to the automated installation and configuration in the MirrorCommandLine README. Thanks!

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @doctorwhen
              last edited by sdetweil

              @doctorwhen note that mm install needs some changes for the latest pi os bullseye. seems ok for reissued buster/ aka legacy (but other things are broken)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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