GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kennymc-c/pySDCP-extended: Extended SDCP python library to control SONY projectors over IP

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

43 Commits
43 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
pysdcp_extended
pysdcp_extended
 
 
.gitignore
.gitignore
 
 
.pylintrc
.pylintrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

pySDCP-extended

Extended Sony SDCP / PJ Talk projector control.

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

Features

  • Auto discover projector using SDAP (Simple Display Advertisement Protocol)
  • Set a custom PJ Talk community & UDP advertisement SDAP port and TCP SDCP port
  • Show response error message from the projector
  • Get/Set
    • Power
    • Input (HDMI 1 + 2)
    • Calibration preset
    • Picture muting
    • HDMI dynamic range
    • Aspect ratio/zoom
    • Any command from protocol.py using _send_command() (Example)
  • Get
    • Lamp hours
    • Model name
    • Serial number

Protocol Documentation

  • https://www.digis.ru/upload/iblock/f5a/VPL-VW320,%20VW520_ProtocolManual.pdf
  • https://docs.sony.com/release/VW100_protocol.pdf

Supported Projectors

Supported Sony projectors should include:

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

Installation

pip install pysdcp-extended

Examples

Sending any command will initiate auto discovery of the projector if none is known and will carry on the command. So just go for it and maybe you get lucky

import pysdcp_extended

my_projector = pysdcp_extended.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)

You can also set a custom PJ Talk community and tcp/udp port. By default "SONY" will be used as the community and 53862 as udp port for SDAP advertisement and 53484 as tcp port for SDCP

my_known_projector = pysdcp.Projector(ip='10.1.2.3', community="THEATER", udp_port=53860, tcp_port=53480)

Commands from protocol.py

While you can use the build in functions like get_power() or set_HDMI_input() you can also directly send any command from protocol.py like this If you need to use more commands, just add to protocol.py, and send it like this:

from pysdcp_extended.protocol.py import *

my_projector._send_command(action=ACTIONS["SET"], command=COMMANDS_IR["CURSOR_UP"])

Please note that commands in COMMANDS_IR work as fire and forget and you only get a response if there is a timeout.

Credits

This plugin is an extended fork of pySDCP by Galala7 which is based on sony-sdcp-com NodeJS library by vokkim.

See also

  • homebridge-sony-sdcp - Homebridge plugin to control Sony Projectors (based on Galala7/pySDCP)
  • ucr2-integration-sonySDCP - SDCP integration for Unfolded Circle Remote devices

About

Extended SDCP python library to control SONY projectors over IP

Topics

home-automationip-controlpjtalkprojectorprojector-controlsdcpsony

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.