Skip to content

onkyori_*** are modules what enable cooperation with the Onkyo RI system.

License

Notifications You must be signed in to change notification settings

jun10000/onkyori_kiosk

Repository files navigation

onkyori_kiosk

onkyori_*** are modules what enable cooperation with the Onkyo RI system.

Description

Description Video

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.

Requirement

  • 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

Usage

  • 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.

Install

  1. Place files into Raspberry Pi
    1. Login to Raspberry Pi.
    2. Create directory: '/var/www/html/onkyori_kiosk/'.
    3. Place this repository files to '/var/www/html/onkyori_kiosk/'.
    4. Add execute permission to 'cmd.py'.
    5. Rewrite '.htaccess' to fit your environment.
    6. Create directory: '/var/www/html/onkyori_kiosk/music/'.
    7. Place your music file (Flac format) as '1.flac' into '/var/www/html/onkyori_kiosk/music/'.
  2. Set Apache settings
    1. Rewrite '/etc/apache2/apache2.conf' to the following lines.
      <Directory /var/www/>
      Options +ExecCGI
      AllowOverride All
      Require all granted
      </Directory>
      
    2. Rewrite '/etc/apache2/mods-enabled/mime.conf' to the following lines.
      #AddHandler cgi-script .cgi
      AddHandler cgi-script .cgi .py
      
  3. Set autostart file
    1. 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/
      
    2. Reboot your Raspberry Pi.

Licence

GNU General Public License v3.0

Author

jun10000

About

onkyori_*** are modules what enable cooperation with the Onkyo RI system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published