GitXplorerGitXplorer
s

Arduino-Kodi-Elapsed

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
06afdd185718b1abc96871bcc30a77ca362c078c

Merge branch 'master' of github.com:scottchiefbaker/Arduino-Kodi-Elapsed

sscottchiefbaker committed 10 months ago
Unverified
f34e816a28b8f3e01d45fe8c11d388c9c9532ac6

Use some constants for readability

sscottchiefbaker committed 10 months ago
Unverified
ac72e6821e6399378d76bb10ebd67179cf9823bc

First pass at Cheap-Yellow-Display

sscottchiefbaker committed 10 months ago
Unverified
87a6838933a98678d2bfb7eb097eafb9e598389d

Update README

sscottchiefbaker committed 10 months ago
Unverified
813462108daa116c63335f551e59ff3092ad4c2c

DVD players!

sscottchiefbaker committed 10 months ago
Unverified
1e5a6ae7788d9495d74a4d3dd93a8281f380c080

Add Nano to README

sscottchiefbaker committed 10 months ago

README

The README file for this repository.

Kodi Elapsed/Remaining Time display

Use an Arduino and an LED Matrix to show the elapsed or remaining time for Kodi. Now your Kodi installation can look just like and old DVD player.

Requirements

  • Kodi installation with the HTTP API enabled
  • 32x8 LED Matrix or TM1637 seven segment "clock" display
  • Arduino to drive the LED Matrix
    • Tested on: Arduino Nano, ESP8266, and ESP32
  • Perl or Python installed to read data from Kodi and send data to Arduino
  • Arduino connected to the RPi via USB (for serial connectivity)

Installation

  • Install sketch on Arduino Nano
  • Wire LED Matrix to Arduino Nano
    • DIN => Pin #13
    • CLK => Pin #11
    • CS => Pin #9
  • Run Perl script to read Kodi API and send time to display
    • systemd service script provided to automate startup

Screenshots

Testing

Once your Arduino and display are connected you can test output with the following commands:

  • run kodi-led-service.pl --test
  • echo "<1236:2860:Play>" > /dev/ttyUSB0
    • (Only works after display is running)

Commands

You can send serial commands to the Arduino that affect the display. While the display is running and displaying time you can send commands:

  • Show time remaining
    • echo "<!invert:1>" > /dev/ttyUSB0
  • Show time elapsed:
    • echo "<!invert:0>" > /dev/ttyUSB0
  • Set display intensity 0-9:
    • echo "<!intensity:5>" > /dev/ttyUSB0