GithubHelp home page GithubHelp logo

panasonic-viera-remote-control's Introduction

Panasonic Viera remote control

This is network remote control for Panasonic Viera TV. It mirrors remote control functionality of Panasonic TV Remote 2 app for iOS (version: 2.30).

It was tested on model TX-L42E6E from 2014, but should support any model using standard remote control.

Usage

  • You will need IP address of your TV.
  • For list of available commands see VieraTVRemote.COMMANDS array in VieraTVRemote.js file.
  • Check for errors in your console
  • Simple example implementation is in index.html file.

Demo

Example implementation

var tvRemote = new VieraTVRemote();
var ipAddress = '192.168.1.150'  // replace with ip address of your TV
tvRemote.setIp(ipAddress);

/*
 * Provide execute function which will send request from your environment
 * - you can use request library for node.js, or jquery for web application
 */
tvRemote.execute = function(requestUrl, requestMethod, requestHeaders, requestData) {
  // send post request with specified parameters, don't forget to include requestHeaders

  // example jquery implementation
  $.ajax(
    requestUrl,
    {
      method: requestMethod,
      headers: requestHeaders,
      data: requestData,
    }
  );
};

panasonic-viera-remote-control's People

Contributors

m4recek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

panasonic-viera-remote-control's Issues

Switching ON/OFF not detected

When using the plugin with Homey, the On/Off status is not properly broadcasted, which means Homey does not detect if the TV is switched on or off via the remote control, which results in the fact a trigger for Homey can't be set.

Using a Panasonic 58DX700 series.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.