Skip to content

My code for running a smart mirror.

License

Notifications You must be signed in to change notification settings

Poeschl/Smart-Mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Smart Mirror

This contains the code I use for running a Smart Mirror. Its basically a kiosk chromium browser running on boot.

Install

Clone the repository onto your Pi 2,3,4 with git clone https://github.com/Poeschl/Smart-Mirror.git to a location of your liking.

The install script is assuming an Raspberian image with desktop packages and the user pi. If this requirement is met, execute the install.sh script.

It will disable the screensaver as well as hiding the mouse on idle. Chromium will be inserted as autostart application.

Configuration

To configure the page the browser is starting change the START_URL parameter in the run.sh script in the pi user folder.

Screen rotation

To change the screen rotation according to your setup edit the file /boot/config.txt and insert one of the below lines at the end.

display_rotate=0 # default rotation
display_rotate=1 # 90° rotation
display_rotate=2 # 180° rotation
display_rotate=3 # 270° rotation

After a restart the orientation should be correct.

System Data

To gatter also some metrics about the running pi, take a look at https://github.com/Sennevds/system_sensors

About

My code for running a smart mirror.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages