Skip to main content

SDCP library to control Sony Projectors

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysdcp_cteillet-0.0.4.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysdcp_cteillet-0.0.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pysdcp_cteillet-0.0.4.tar.gz.

File metadata

  • Download URL: pysdcp_cteillet-0.0.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pysdcp_cteillet-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0c16399fa5d2f5cacf43d545cd09671de6f165b6173037a634b5ae5943014b18
MD5 1b674d736176642ae66fc0c067ad3067
BLAKE2b-256 3239eac1904e7f4bbed6cc7da8bfd7f27ef735c08205674ede69459f1e21de79

See more details on using hashes here.

File details

Details for the file pysdcp_cteillet-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pysdcp_cteillet-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35287c673481bd19aa07a0342bd53ea4fc3cdf53b0fa9f72aa4933695678a377
MD5 422b873b928576824d4c82c81cdd91e6
BLAKE2b-256 f797d3a8d778fe31aa2af33ab241b71ebc55651c488c66b61f7610355603480e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page