0.1.13 • Published 8 years ago

ose-example-lirc v0.1.13

Weekly downloads
3
License
GPL-3.0+
Repository
github
Last release
8 years ago

Open Smart Environment - LIRC example

Extends the media player example. Allows to control the media player with a IR remote controller via LIRC.

Features

  • Volume up, down and mute
  • Play, pause, stop
  • Activate the audio command group by pressing "KEY_AUDIO" and select a predefined stream by pressing some digit
  • Activate the DVB by pressing "KEY_TV" command group and select a predefined DVB channel by pressing some digit
  • Switch to previous or next channel by pressing the "KEY_PREVIOUS" and "KEY_NEXT" keys.

Important links

This package is a part of the OSE suite. For more information, see the following links:

About OSE

Open Smart Environment software is a suite for creating multi-instance applications that work as a single whole. Imagine, for example, a personal mesh running on various devices including HTPCs, phones, tablets, workstations, servers, Raspberry Pis, home automation gadgets, wearables, drones, etc.

OSE software consists of several npm packages: a framework running on Node.js, an HTML5 frontend, extending packages and a set of example applications.

Set-up of current example applications. Here, OSE provides a Media player running on an HTPC that can be controlled by an IR remote through LIRC and is capable of playing streams from a DVB streamer and control devices through GPIO pins on a Raspberry Pi

For more information about OSE see the documentation.

Status

  • Pre-alpha stage (insecure and buggy)
  • Unstable API
  • Patchy documentation
  • Low test coverage (1 %)

This is not yet a piece of download-and-use software. It is important to understand the basic principles covered by the documentation.

However, this software is successfully and continuously used since end of 2013 in one installation running 7 OSE instances spread over several Raspberries, HTPC and notebook.

Platforms

OSE has the following prerequisites:

  • Node.js (>0.12) running on Debian Jessie and Raspbian
  • Recent version of Firefox or Chrome browser

Usage

For the LIRC example to work, you need the following:

  • LIRC-supported hardware
  • Configured and running LIRC daemon

See Setting Up LIRC on the RaspberryPi

To install the example application, do the following:

git clone https://github.com/OpenSmartEnvironment/ose-example-lirc
cd ose-example-lirc
npm install

To configure this example, edit ose-example-lirc/bin/run.js. If you wish to use this example together with the Media player example, configure its IP address and port number.

player: 'ws://IP_ADDRESS:PORT'

Start the LIRC example as follows:

./ose-example-lirc/bin/run.js

Licence

This software is released under the terms of the GNU General Public Licence v3.0 or later.