vodafone-controller

1.0.1 • Public • Published

VODAFONE-CONTROLLER

The Vodafone box has a telnet interface to receive remote control commands.
Also it sends a broadcast message with it's location and what it's playing.

installing

npm install vodafone-controller

usage

Get box state ("ON", "OFF", "UNKNOWN"):

vodafone.getState( {ip} ip )

Get channel:

vodafone.getChannel( {ip} ip )

Send a key:

vodafone.setKey( {ip} ip , {String} key )

Mapped keys so far:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, back, ok, p+, p-, menu, up, down, left, right, options, guia tv, videoclube, gravacoes, teletext, prev, rewind, play/pause, forward, next, stop, red, green, yellow, blue, switchscreen, i, mute, v-, v+, record, power

ToDo

  • Sometimes the box stops broadcasting for a while. There must be another way.
  • Get what's playing in that channel.

Readme

Keywords

Package Sidebar

Install

npm i vodafone-controller

Weekly Downloads

6

Version

1.0.1

License

MIT

Unpacked Size

6.52 kB

Total Files

6

Last publish

Collaborators

  • filipe_t