-
Download the Screenly OSE disk image from github:
https://github.com/Screenly/screenly-ose/releases/download/0.16/image_2018-11-23-Screenly-OSE-lite.zip
-
Unzip the disk image
-
Write the disk image to the SD card. An easy way to do that is with Etcher:
https://www.balena.io/etcher/
-
Create an empty file named 'ssh' at the top-level of the boot partition (the smallest partition on the SD card)
-
Connect the Pi to a TV or computer monitor and power on the Pi
-
An SSID and password will be displayed on the screen. Connect to it.
-
Open a browser and go to the web page displayed on the screen to configure wifi. Configure it to connect to your network.
-
The Pi reboots and displays its ip address on the screen
-
SSH into the Pi using its ip address (user: pi, pw: raspberry). If you're on Windows and don't have an SSH client installed, putty is available here:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
-
Change the password for the pi account
$ passwd
-
Switch to the root account
$ sudo su root
-
Change the password for the root account
# passwd
-
Install the python 'requests' module
# pip install requests
-
[Optional] Configure the locale
# raspi-config
-
Exit
# exit $ exit
-
Add content to screenly using a web browser, using the ip address that is displayed when the Pi boots
-
ssh into the Pi
-
Clone Kevin's python scripts
$ git clone [email protected]:frankdeath/screenly-python.git
-
Manually run the button script
$ cd screenly-python $ ./buttons.py
-
buttons.py uses these pin definitions by default
Pin 38 = Forward (normally high) Pin 37 = Backward (normally high) Pin 39 = Ground
-
Wire momentary, normally-open switches between the function pins and ground