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_listener

Repository files navigation

onkyori_listener

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

Warning

This module is deprecated.
Use onkyori_listener2 instead.

Description

The onkyori_listener is the daemon what acquires Onkyo RI signal and registers it to database.
This daemon needs onkyori_common module to operate.

Requirement

  • Requirements of onkyori_common
  • Raspberry Pi 3 Type B
    • Physical parts:
      • Resistance
        • 2kΩ x1
        • 1kΩ x1
      • Audio cable (3.5mm Mono)
    • Python packages:
      • Cython 0.28.1

Install

  1. Create electronic circuit
    Electronic curcuit diagram
    • The Onkyo RI equipment's "RI Remote Control" jack uses the audio cable plug.
    • Connect the Onkyo RI equipment ground and the Raspberry Pi ground.
  2. Place this repository files into Raspberry Pi
    1. Login to Raspberry Pi.
    2. Create directory: '/var/project/onkyori_listener/'
    3. Place this repository files to '/var/project/onkyori_listener/'.
    4. Add execute permission to 'index.py' and 'cython_setup.py'.
  3. Compile Cython scripts
    1. Move to '/var/project/onkyori_listener/'.
    2. Execute the following command to compile Cython scripts.
      python3 cython_setup.py build_ext --inplace
  4. Install systemctl service
    1. Move 'onkyori_listener.service' to '/usr/lib/systemd/system/'.
    2. Execute the following command to reload daemons.
      sudo systemctl daemon-reload
    3. Execute the following command to start this service.
      sudo systemctl start onkyori_listener
    4. Execute the following command to set this service starting automatically.
      sudo systemctl enable onkyori_listener

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

Languages