Skip to content

OpenSmartEnvironment/ose-example-lirc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 has been successfully used continuously since the end of 2013 in a house running 7 OSE instances spread over several Raspberry Pis, notebooks and an HTPC.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published