Giter VIP home page Giter VIP logo

pysdcp's Introduction

pySDCP

Sony SDCP / PJ Talk projector control

Python 3 library to query and control Sony Projectors using SDCP (PJ Talk) protocol over IP.

##Features:

  • Autodiscover projector using SDAP (Simple Display Advertisement Protocol)
  • Query and change power status
  • Toggle input between HDMI-1 and HDMI-2

More features

The SDCP protocol allow to control practically everything in projector, i.e. resolution, brightness, 3d format... If you need to use more commands, just add to protocol.py, and send with my_projector.send_command

Protocol Documentation:

#Supported Projectors Supported Sony projectors should include:

  • VPL-HW65ES
  • VPL-VW100
  • VPL-VW260
  • VPL-VW285
  • VPL-VW315
  • VPL-VW320
  • VPL-VW328
  • VPL-VW365
  • VPL-VW515
  • VPL-VW520
  • VPL-VW528
  • VPL-VW665
  • VPL-XW5000

Installation

pip install pySDCP

Examples

Sending any command will initiate autodiscovery of projector if none is known and will cary on the command. so just go for it and maybe you get lucky:

import pysdcp

my_projector = pysdcp.Projector()

my_projector.get_power()
my_projector.set_power(True)

Skip discovery to save time or if you know the IP of the projector

my_known_projector = pysdcp.Projector('10.1.2.3')
my_known_projector.set_HDMI_input(2)

Credits

This plugin is based on sony-sdcp-com NodeJS library by vokkim.

See also

homebridge-sony-sdcp Homebridge plugin to control Sony Projectors.

pysdcp's People

Contributors

galala7 avatar j4nsen avatar wrigtim avatar alexisig avatar johnmschoonover 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.