Giter VIP home page Giter VIP logo

device-sharp-aquos's Introduction

Sharp Aquos Device Type

This is a device type for the Sharp Aquos integration to SmartThings. I believe it actually works with almost all Sharp TV models manufacturered since 2010.

I loosely based this on Gavin Mogan's Sharp Remote. Most of the commands I found from a Sharp manual.

If you wish to programmatically access this device, it should accept most of the standard capabilities. However, I also added a capability and command that I am trying to get SmartThings to accept: inputSelect(). If you would like to switch inputs to input 1, for example, you would send inputSelect(1)

##Potential Bugs SmartThings does not have the ability to parse return values from the Sharp console. Thus, the state of the device is kept internal to the SmartThings device, and may drift from reality.

In addition, you can only send one command every 8 seconds. I wrote some blocking code to prevent the device from drifting quickly, but if you send more than 3 commands in a 20 second window you will definitely drift.

I had to hardcode the inputs you'd like to select on line 92. I only use input "1" and "2". You'll have to update this for your own taste, as SmartThings will not let us pick an array from device preference()

As a last note, if you want to increase the reliability of the device, remove the login and password from your Sharp Network TV settings.

##License Copyright (c) 2015, Kristopher Kubicki All rights reserved.

device-sharp-aquos's People

Contributors

kristopherkubicki avatar halkeye avatar

Watchers

H Tran avatar

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.