1.0.10 • Published 7 years ago

new-samsung-remote v1.0.10

Weekly downloads
23
License
ISC
Repository
github
Last release
7 years ago

NodeJS remote for new models of Samsung SmartTV

Since 2015-2016 Samsung changed it's protocol thus the old ways of interacting with the Smart Tvs are no longer working. Now, Samsung uses a REST API who receives a JSON document.

Installation

npm install new-samsung-remote --save

Usage:

const Remote = require('new-samsung-remote');
        
const config = {
	    ip_address: '192.168.0.101', // required: IP address of your Samsung Smart TV
	    name: "New Samsung Remote"
};      
    
const remote = Remote(config);
    
remote.api_active();
    
remote.sendKey('KEY_PRECH', function(err, res){
    if (err) {
        throw new Error(err);
    } else {
        console.log(res);
    }
});
1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago