Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

OscarVanL/MagicMirror-Toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicMirror-Toggle

GPIO control for Magic Mirror TV

This was created to control my Raspberry Pi Magic Mirror by switching the display on or off based on whether my phone is connected to the WiFi so that the mirror is only on when I am home. There isn't a config file, but there are variables inside the main program such as the IP address of your phone (you would need to add a DHCP reservation for a static internal IP in your router for the phone) and the On/Off times for each day.

It's not perfect or ideal, the logic is quite simple as there is no way to check the on/off status, it operates on the assumption that the script is first run when the screen is off (such as when the power has been turned on to the Pi & Mirror).

About

GPIO control for Magic Mirror TV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published