0.9.77 • Published 2 years ago

lgtv-serial-complete v0.9.77

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

About

This module lets you command a LG TV over the serial port of your computer (or Raspberry Pi).

Example

const LGTV = require("lgtv-serial")

lgtv = new LGTV("/dev/ttyUSB0")

// Power off TV
lgtv.set("power",0)
    .then(r => { 
        console.log(`Success : ${r}`)
    })

// Get current status
lgtv.get("power")
    .then(r => { 
        console.log(`Current state : ${r}`)
    })
0.9.77

2 years ago

0.9.76

2 years ago

0.9.75

2 years ago

0.9.74

2 years ago

0.9.73

2 years ago

0.9.72

2 years ago

0.9.71

2 years ago

0.9.7

2 years ago

0.9.6

2 years ago

0.9.5

2 years ago

0.9.4

2 years ago

0.9.3

2 years ago

0.9.2

2 years ago