Skip to main content

Micropython packages for the Onkyo EISCP protocol.

Project description

EISCP Micropython

PyPI

This is an implementation of the Onkyo EISCP protocol for running on Microcontrollers utilizing MicroPython.

It is a heavily stripped down version of the Onkyo EISCP library and supports sending commands to connected devices in the same IP-Network.

Compared to the original library, this one is also utilizing uasyncio for being able to run the project easily with other code.

Usage

As an example turning on the first device in the network and changing the audio input.

import uasyncio
import network
from eiscp import discover

wifi = network.WLAN(network.STA_IF)
wifi.active(True)
wifi.connect('SSID', 'PW')

loop = uasyncio.get_event_loop()

clients = loop.run_until_complete(discover())

client = clients[0]

loop.run_until_complete(client.power_on())
loop.run_until_complete(client.command("SLI", "11"))

Testing

The EISCP library has been real world tested with an ESP32 microcontroller inside of the ESP32 IR Remote Protocol.

It communicates successfully to a SX-S30DAB.

License

The project has been published via the MIT license.

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

eiscp-micropython-0.9.11.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file eiscp-micropython-0.9.11.tar.gz.

File metadata

  • Download URL: eiscp-micropython-0.9.11.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

File hashes

Hashes for eiscp-micropython-0.9.11.tar.gz
Algorithm Hash digest
SHA256 47f8ef33a00ded0a2c1987afc4aaf8405f6d9d2ac351513eb0387a77ddeebdd9
MD5 86e7bc880a09d75f5b7b7b1bfdce702a
BLAKE2b-256 4fe3b8b1c1af0ff599df2517f6d3ab2f3e2da2eccc423fb2d3bc23edbcc31ab9

See more details on using hashes here.

Supported by

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