ScarePi is a Linux Console Media Player designed to play AtmosFX Sprites.
- This is a work in progress and has been created very quickly.
- In my opinion the code is quite ugly, but it works
- Keep errors or report them once you find one
- This has been tested on Raspberry Pi OS Lite 10.9
- This has been tested on a Raspberry Pi 3 Model A+
- Media Player
- Control via Web Interface
- Browsing and deleting Files in the /Videos folder
- File upload is possible through Samba or Web
- Creating or Deleting Playlists
- Active Playlist can be choosen
- 3,5mm Jack or HDMI Sound is supported
- Videos can be either played in a loop or get triggered
- At the Moment the Video can be triggered with a web hook (See FAQ)
- Silent Boot
- Flash the Pi with the Image using Raspberry Pi Imager, or whatever you want
- Make sure you are using a "Lite" Image without Desktop Environment
- Copy the "ssh" file from the boot folder to the boot partition on your sd
- Copy the "wpa_supplicant.conf" file from the boot folder to the boot partition on your sd
- Modify the file according to your needs
Use passwd to change the password
passwd
sudo apt install git -y
git clone https://github.com/Netfreak25/ScarePi.git
cd ScarePi
/usr/bin/bash install.sh
- Change the Hostname if wanted
sudo echo "Your-new-Hostname" > /etc/hostname
reboot
- Change the Samba Password (Windows File Share) if wanted, but take care of escaping
sudo smbpasswd -a scarepi
You need to call the url!
http://192.168.0.10/index.cgi?trigger=true
Use wget, your browser, or whatever you want
wget http://192.168.0.10/index.cgi?trigger=true
- If you are using Home-Automation you can call this url when a Event occurs, on for example a "Motion Sensor"
- I am using it in combination with IOBroker. As soon as a Motion Sensors gets triggered the URL gets called and the Playback starts