This folder contains small and useful bash utilities scripts for controlling the Magic Mirror, Rpi4 and monitor screen of your smart mirror. This is useful when you want to control your smart mirror from a phone app and integrate it with for instance home automation systems such as Home Assistant. Then you can automate control of smart mirror and get better insight by setting up Command line switch, Command line sensor and Services by using the Shell Command Integration.
# Turn off monitor
$ smartmirror_monitor_off.sh
# Turn on monitor
$ smartmirror_monitor_on.sh
# Monitor status
$ smartmirror_monitor_status.sh
# Set monitor brightness for daytime
$ smartmirror_monitor_brightness_day.sh
# Set monitor brightness for nighttime
$ smartmirror_monitor_brightness_night.sh
# Turn off monitor
$ smartmirror_pm2_mm_stop.sh
# Turn on monitor
$ smartmirror_pm2_mm_start.sh
# Monitor status
$ smartmirror_pm2_mm_status.sh
# Measure temperature of your Rpi4
$ smartmirror_rpi_temperature.sh
# Reboot your Rpi4 instantly
$ smartmirror_rpi_reboot.sh
# Shutdown your Rpi4 instantly, note that you will need to start your Rpi4 manually afterwards
$ smartmirror_rpi_shutdown.sh