Skip to content

jingx23/SWIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWIC

Small WebInterface for cec-client based on Node.js (Currently tested and working on Raspberry Pi (raspbmc))

Example

Setup

  1. Install cec-client more information
  2. Configurate your hdmi-server.js
  • host
  • port
  • USER_DEFINED_HDMI_PORTS => this array is optional, normally hdmi-server scans the hdmi bus to find all hdmi ports. In some case some ports wouldn´t be found so you can add them here.
  1. Fire node hdmi-server.js (Be patient on first call it takes some time because of scanning and caching hdmi ports)

optional autostart setup:

  1. Edit init.d/swic
  2. copy init.d/swic to /etc/init.d/swic
  3. update-rc.d swic defaults

Additions

You can force rescan of the hdmi bus simple call http://127.0.0.1:8088/?cmd=list&force=true it takes some time for cec-client to scan and build the cache file.

About

Small WebInterface for cec-client based on Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors