onkyori_*** are modules what enable cooperation with the Onkyo RI system.
The onkyori_kiosk is the dashboard what shows the clock etc., and occurs something when Onkyo-RI signal has registered to database.
This dashboard needs onkyori_common module (Ver. 0.4 or above) to operate.
- Requirements of onkyori_common
- Raspberry Pi 3 Type B
- Physical parts:
- Raspberry Pi official 7" touchscreen display
- 3.5mm audio cable
- Linux packages:
- Apache 2.4.25
- Chromium 65.0.3325.181
- Physical parts:
- Synchronising with Onkyo RI equipment
When Onkyo RI equipment powers on, Kiosk terminal also works on.
(Please view the video in the 'Description' section.) - Manual operation
When the kiosk screen is touched, the bottom control bar is shown/hidden.
The control bar includes music play button, and brightness switch button.
- Place files into Raspberry Pi
- Login to Raspberry Pi.
- Create directory: '/var/www/html/onkyori_kiosk/'.
- Place this repository files to '/var/www/html/onkyori_kiosk/'.
- Add execute permission to 'cmd.py'.
- Rewrite '.htaccess' to fit your environment.
- Create directory: '/var/www/html/onkyori_kiosk/music/'.
- Place your music file (Flac format) as '1.flac' into '/var/www/html/onkyori_kiosk/music/'.
- Set Apache settings
- Rewrite '/etc/apache2/apache2.conf' to the following lines.
<Directory /var/www/> Options +ExecCGI AllowOverride All Require all granted </Directory>
- Rewrite '/etc/apache2/mods-enabled/mime.conf' to the following lines.
#AddHandler cgi-script .cgi AddHandler cgi-script .cgi .py
- Rewrite '/etc/apache2/apache2.conf' to the following lines.
- Set autostart file
- Rewrite '~/.config/lxsession/LXDE-pi/autostart' to the following lines.
@lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi #@xscreensaver -no-splash @point-rpi # Disable Screensaver @xset s off # Disable DPMS Features @xset -dpms # Change Brightness Permission @sudo chmod 666 /sys/class/backlight/rpi_backlight/brightness # Start Chromium in Kiosk Mode @chromium-browser --noerrdialogs --kiosk --incognito http://127.0.0.1/onkyori_kiosk/
- Reboot your Raspberry Pi.
- Rewrite '~/.config/lxsession/LXDE-pi/autostart' to the following lines.