Epson projector support for Python
Project description
Epson-projector module
Asynchronous library to control Epson projectors
Requires Python 3.11 or higher.
Created mostly to use with Home Assistant.
Usage
Check out the test_*.py files and const.py to see all posibilities to send to projector.
"""Test and example of usage of Epson module."""
import epson_projector as epson
from epson_projector.const import (POWER)
import asyncio
import aiohttp
async def main():
"""Run main with aiohttp ClientSession."""
async with aiohttp.ClientSession() as session:
await run(session)
async def run(websession):
"""Use Projector class of epson module and check if it is turned on."""
projector = epson.Projector(
host='HOSTNAME',
websession=websession,
encryption=False)
data = await projector.get_property(POWER)
print(data)
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
epson_projector-0.6.0.tar.gz
(9.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file epson_projector-0.6.0.tar.gz.
File metadata
- Download URL: epson_projector-0.6.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffd35cdf13b19d715f4ec4bcb3cdcc5d3915021a8bc2b2a799f47f13ceecf819
|
|
| MD5 |
aa60efbf6ccdd4076d4c770d7dbf755e
|
|
| BLAKE2b-256 |
4f2b27474ab3c2748e48135a048b550568dc7bb8c3a7dc9abb9fd9f2a464632c
|
File details
Details for the file epson_projector-0.6.0-py3-none-any.whl.
File metadata
- Download URL: epson_projector-0.6.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9717ea01e9dab941b56a8fa9017abe4d49e4d810ccc56903bb71fec7337d6791
|
|
| MD5 |
c7cb01c3dc706f60c53e033f49825f87
|
|
| BLAKE2b-256 |
b0fff3f6a3de0e8d6388b0efdc4b6c620a749fa6dd3d1ea217fd90c1f74480ee
|