An updated release of MirrorCommand is available at https://gitlab.com/doctorfree/MirrorCommand/-/releases/v4.0.1r1
Version 4.0.1 Release 1 of MirrorCommand replaces the use of module MMM-DarkSkyForecast with module MMM-OpenWeatherForecast. Apple bought DarkSky and is removing free access to the API.
See the MirrorCommand README for additional info.
The Mirror Command Line project provides scripts to enable command line control of the MagicMirror system over a local network.
The MirrorCommand Debian and RPM 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
- Update the MagicMirror installation or update installed modules
- Auto generation of new MagicMirror configuration files
- Interactive mode via menu dialogs
- Invoked with no arguments the mirror command displays a command menu.
MirrorCommand has been successfully deployed and tested on a Raspberry Pi 4 and Raspberry Pi 400 running Raspbian Buster. It has also been deployed and tested on Ubuntu Linux 20.04 and Fedora Linux 35 with generic x86_64 hardware.