Risca / sonyp_rs232c

A Python3 class used for controlling a SonyHWXXES projector via serial connection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SonyHWXXES

A Python3 class used for controlling a Sony VPL-HWXXES projector via serial connection. This has only been tested on a Sony VPL-HW40ES projector but should work for similar models (VPL-HW58ES, VPL-HW55ES, VPL-HW50ES, VPL-HW40ES, VPL-HW35ES). Since this has been tested in extremely limited capacity, use at your own risk!

Installation

> pip install sonyp_rs232c

My Setup

Files

  • SonyHWXXES.py - the class that you will need to import into your python script (ie. toggle_power.py) to enable communication with your Sony projector.
  • toggle_power.py - an example script that leverages the SonyHWXXES.py class to turn your projector on an off. You should just need to modify the port specified in the script to match whatever port is correct for your setup.

Execution

C:\SonyHWXXES>python toggle_power.py
Initiating Serial Object
Serial Object Initiated
Turning Power On
Phase: Standby
Phase: Start Up
Phase: Startup Lamp
Phase: Power On

C:\SonyHWXXES>python toggle_power.py
Initiating Serial Object
Serial Object Initiated
Turning Power Off
Phase: Cooling1
Phase: Cooling2
Phase: Standby
Phase: Power Off

Note that shutting down the projector takes ~30 seconds due to the cool down.

About

A Python3 class used for controlling a SonyHWXXES projector via serial connection.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%