3.0.3 • Published 8 years ago

homestar-lg-smart-tv v3.0.3

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

homestar-lg-smart-tv

IOTDB Bridge for LG SmartTV with IOTDB.

About

Note that we can't turn these on because when the TV is off it's not on the Internet.

See the samples for details how to add to your project, particularly model.js for use standalone and iotdb.js for use inside IOTDB.

Installation

Then:

$ npm install homestar-lg-smart-tv

Use

Set the channel to 3

const iotdb = require('iotdb')
iotdb.use("homestar-lg-smart-tv")

const things = iot.connect("LGSmartTV")
things.set(":channel", 3)

Go to HDMI

things.set(":band", "iot-purpose:band.hdmi")

Models

LGSmartTV

  • volume: integer from 0 to 100 (iot-purpose:volume)
  • band: string, see below (iot-purpose:band)
  • mute: true or false (iot-purpose:mute)
  • channel: a string, like 3-0 (iot-purpose:channel)

LG TV Bands

These are the LG bands we currently support (the underly strings used by the TV set), and their corresponding semantic definition (used with 'set').

  • anyplace.tv - iot-purpose:band.service.anyplace-tv
  • cinemanow - iot-purpose:band.service.cinemanow
  • com.webos.app.browser - iot-purpose:band.browser
  • com.webos.app.camera - iot-purpose:band.camera
  • com.webos.app.hdmi1 - iot-purpose:band.hdmi
  • com.webos.app.hdmi1 - iot-purpose:band.hdmi.1
  • com.webos.app.hdmi2 - iot-purpose:band.hdmi.2
  • com.webos.app.livetv - iot-purpose:band.tv
  • com.webos.app.miracast - iot-purpose:band.service.miracast
  • com.webos.app.notificationcenter - iot-purpose:band.info.notifications
  • com.webos.app.smartshare - iot-purpose:band.service.smartshare
  • com.webos.app.tvuserguide - iot-purpose:band.info.guide
  • crackle - iot-purpose:band.service.crackle
  • netflix - iot-purpose:band.service.netflix
  • youtube.leanback.v4 - iot-purpose:band.service.youtube
3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago