Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scottchiefbaker/arduino-kodi-elapsed
Arduino interface to show elapsed time
https://github.com/scottchiefbaker/arduino-kodi-elapsed
Last synced: 26 days ago
JSON representation
Arduino interface to show elapsed time
- Host: GitHub
- URL: https://github.com/scottchiefbaker/arduino-kodi-elapsed
- Owner: scottchiefbaker
- License: gpl-2.0
- Created: 2019-01-29T04:52:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T05:38:20.000Z (11 months ago)
- Last Synced: 2023-11-28T06:30:36.441Z (11 months ago)
- Language: C
- Size: 85 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 "" > /dev/ttyUSB0`
* Show time elapsed:
* `echo "" > /dev/ttyUSB0`
* Set display intensity 0-9:
* `echo "" > /dev/ttyUSB0`