An open API service indexing awesome lists of open source software.

https://github.com/jun10000/onkyori_common

onkyori_*** are modules what enable cooperation with the Onkyo RI system.
https://github.com/jun10000/onkyori_common

onkyo-ri raspberry-pi

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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

## Description
![Raspberry Pi](.readme/top.jpg)

The onkyori_common is the core module in order to cooperate with the Onkyo RI system.
This includes the MariaDB database definision file, and the common settings file.
If you combine this with other onkyori_*** modules (example. onkyori_kiosk), you will have new experiences.

## Requirement
- Raspberry Pi 3 Type B
- OS: Raspbian
- Linux kernel: 4.14.50
- Linux Packages:
- MariaDB database 10.1.23
- Python Packages:
- PyMySQL 0.8.1
- PyYAML 3.12

## Install
1. Place this repository files into your Raspberry Pi
1. Login to Raspberry Pi.
1. Create directory: '/var/project/onkyori_common/'
1. Place this repository files to '/var/project/onkyori_common/'
1. Setup database
1. Login to MariaDB.
1. Create user and database what are written in 'settings.yaml'.
The created user is allowed to access the created database only.
1. Select the created database.
1. Run 'CreateDBTable.sql' to create the table.

## Onkyo RI Signal Specification
- Equipment: Onkyo FR-T1X
- Pulse width: 1.0ms
- Voltage: 5.3V
- Actual Data
![Signal Sample 1](.readme/oscilloscope/sample1.PNG)
![Signal Sample 2](.readme/oscilloscope/sample2.PNG)
![Signal Sample 3](.readme/oscilloscope/sample3.PNG)
- Various Signals
- Power On
![Signal - Power On](.readme/oscilloscope/POWER_ON.PNG)
- Power On (on Timer: Play Dock)
![Signal - Power On (Timer)](.readme/oscilloscope/POWER_ON_TIMER.PNG)
- Power Off
![Signal - Power Off](.readme/oscilloscope/POWER_OFF.PNG)
- Tape (Prev)
![Signal - Tape (Prev)](.readme/oscilloscope/TAPE_LEFT.PNG)
- Tape (Stop)
![Signal - Tape (Stop)](.readme/oscilloscope/TAPE_STOP.PNG)
- Tape (Next)
![Signal - Tape (Next)](.readme/oscilloscope/TAPE_RIGHT.PNG)
- Playlist (Up)
![Signal - Playlist (Up)](.readme/oscilloscope/PLAYLIST_UP.PNG)
- Playlist (Down)
![Signal - Playlist (Down)](.readme/oscilloscope/PLAYLIST_DOWN.PNG)
- Album (Up)
![Signal - Album (Up)](.readme/oscilloscope/ALBUM_UP.PNG)
- Album (Down)
![Signal - Album (Down)](.readme/oscilloscope/ALBUM_DOWN.PNG)

## Licence
[GNU General Public License v3.0](https://github.com/jun10000/onkyori_common/blob/master/LICENSE)

## Author
[jun10000](https://github.com/jun10000)