https://github.com/poeschl/smart-mirror
My code for running a smart mirror.
https://github.com/poeschl/smart-mirror
kiosk-mode raspberry-pi
Last synced: about 1 year ago
JSON representation
My code for running a smart mirror.
- Host: GitHub
- URL: https://github.com/poeschl/smart-mirror
- Owner: Poeschl
- License: apache-2.0
- Created: 2020-11-19T13:53:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-10T15:20:27.000Z (over 5 years ago)
- Last Synced: 2025-03-17T17:25:21.624Z (over 1 year ago)
- Topics: kiosk-mode, raspberry-pi
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
```bash
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