Client for general Instrument control, converting between the INDI protocol and redis storage. If the package is run, it provides a web service for controlling instruments attached via indiserver. If imported, it provides tools to read/write to redis, and hence the INDI protocol, for use by your own GUI or WEB applications.
Project description
indiredis
This Python3 package provides an INDI web client (if run with the python3 -m option), or if imported, it provides tools to read/write to redis, and hence the INDI protocol, for use by your own GUI or WEB applications.
INDI - Instrument Neutral Distributed Interface, see https://en.wikipedia.org/wiki/Instrument_Neutral_Distributed_Interface
Though INDI is used for astronomical instruments, it can also be used for any instrument control if appropriate INDI drivers are available.
Your host should have a redis server running, and indiserver should also be running, together with appropriate drivers and connected instruments. For example, prior to running indiredis, in another terminal, run:
indiserver -v indi_simulator_telescope indi_simulator_ccd
Usage is then:
python3 -m indiredis /path/to/blobfolder
The directory /path/to/blobfolder should be a path to a directory of your choice, where BLOB's (Binary Large Objects), such as images are stored, it will be created if it does not exist. Then connecting with a browser to http://localhost:8000 should enable you to view and control the connected instruments.
For further usage information, including setting ports and hosts, try:
python3 -m indiredis --help
indiredis can be imported into your own scripts, rather than executed with python3 -m. This is particularly aimed at helping the developer create their own GUI's or controlling scripts, perhaps more specialised than the web client included.
Two options are available:
Data can be transferred between the INDI protocol and redis.
or
Data can be transferred between the INDI protocol and redis via an MQTT server.
Further information is availble at:
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
Built Distribution
Hashes for indiredis-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40a49b026f38cac58c8a33fdc2f42721d7b51051bcd1328acc9e9f96843f2e57 |
|
MD5 | 92cad9b287da76eca770423e2577cf1d |
|
BLAKE2b-256 | e758a46db95ad09f383f693834883c2859ee62424a7f6d55fcc6aeb1e30d451e |