Skip to main content

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


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)

Uploaded Source

Built Distribution

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

epson_projector-0.6.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

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

Hashes for epson_projector-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ffd35cdf13b19d715f4ec4bcb3cdcc5d3915021a8bc2b2a799f47f13ceecf819
MD5 aa60efbf6ccdd4076d4c770d7dbf755e
BLAKE2b-256 4f2b27474ab3c2748e48135a048b550568dc7bb8c3a7dc9abb9fd9f2a464632c

See more details on using hashes here.

File details

Details for the file epson_projector-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for epson_projector-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9717ea01e9dab941b56a8fa9017abe4d49e4d810ccc56903bb71fec7337d6791
MD5 c7cb01c3dc706f60c53e033f49825f87
BLAKE2b-256 b0fff3f6a3de0e8d6388b0efdc4b6c620a749fa6dd3d1ea217fd90c1f74480ee

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