pyblustream
===========
pyblustream is a Python library to connect to an ELAN or Blustream HDBaseT Matrix. You can see the current mapping of inputs to outputs as well as
request to change the input that an output is using.
It is primarily being developed with the intent of supporting [home-assistant](https://github.com/home-assistant/home-assistant)
Installation
------------
# Installing from PyPI
$ pip install pyblustream
Using on the command line as a script
=====================================
main.py -h <matrix ip address> [-p <port> -s <output_id> -o <output_id> -i <input_id> -a -l]
-h hostname or ip Hostname or IP of the matrix - required
-p port Port of the matrix to connect to - defaults to 23
-o output_id -i input_id Set output ID to use input ID - specified as an int e.g. -i 2 -o 4 both must be specified
-s output_id Display the input for this output ID must be an int e.g. 2
-a Display the input for all outputs
-l Continue running and listen for source changes
Log out the input used on a specific output and exit
python3 main.py -h 127.0.0.1 -s 02
Log out all input/output mappings and exit
python3 main.py -h 127.0.0.1 -a
Change display id 2 to source 3 and exit
python3 main.py -h 127.0.0.1 -o 2 -i 3
Run forever logging status changes
python3 main.py -h 127.0.0.1 -l
Change a source then run forever logging status changes
python3 main.py -h 127.0.0.1 -o 2 -i 3 -l
Using in an application
=======================
See `example.py`
TODO
=======================
* Get names of inputs and outputs from the matrix
Raw data
{
"_id": null,
"home_page": "https://github.com/designer-living/pyblustream",
"name": "pyblustream",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Blustream,Elan,HDBaseT",
"author": "foxy82",
"author_email": "foxy82.github@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5b/46/fd9ca9b4c25a6543bc52161bfbdac84879e76af825a1bab70249147abf94/pyblustream-0.10.tar.gz",
"platform": null,
"description": "pyblustream\n===========\n\npyblustream is a Python library to connect to an ELAN or Blustream HDBaseT Matrix. You can see the current mapping of inputs to outputs as well as \nrequest to change the input that an output is using.\n\nIt is primarily being developed with the intent of supporting [home-assistant](https://github.com/home-assistant/home-assistant)\n\n\nInstallation\n------------\n\n # Installing from PyPI\n $ pip install pyblustream\n\nUsing on the command line as a script\n=====================================\n\n\n main.py -h <matrix ip address> [-p <port> -s <output_id> -o <output_id> -i <input_id> -a -l]\n\t -h hostname or ip\t\tHostname or IP of the matrix - required\n\t -p port\t\t\tPort of the matrix to connect to - defaults to 23\n\t -o output_id -i input_id\tSet output ID to use input ID - specified as an int e.g. -i 2 -o 4 both must be specified\n\t -s output_id\t Display the input for this output ID must be an int e.g. 2\n\t -a\t\t\t\tDisplay the input for all outputs\n\t -l\t\t\t\tContinue running and listen for source changes\n\nLog out the input used on a specific output and exit\n\n python3 main.py -h 127.0.0.1 -s 02\n\nLog out all input/output mappings and exit\n\n python3 main.py -h 127.0.0.1 -a\n\nChange display id 2 to source 3 and exit\n\n python3 main.py -h 127.0.0.1 -o 2 -i 3\n\nRun forever logging status changes\n\n python3 main.py -h 127.0.0.1 -l\n\nChange a source then run forever logging status changes\n\n python3 main.py -h 127.0.0.1 -o 2 -i 3 -l\n\n\nUsing in an application\n=======================\n\nSee `example.py`\n \n \nTODO\n=======================\n\n* Get names of inputs and outputs from the matrix\n \n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Control Blustream and Elan HDBaseT Matrix",
"version": "0.10",
"project_urls": {
"Download": "https://github.com/foxy82/designer-living/archive/0.10.tar.gz",
"Homepage": "https://github.com/designer-living/pyblustream"
},
"split_keywords": [
"blustream",
"elan",
"hdbaset"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2051c16f5788688347f808e5b55c2c3ae5f060bb5e095f9d7d9872ee6caeec47",
"md5": "ed7f42eca9fd822ae1ddb99aa2a94a4f",
"sha256": "e9c6ddf81c8fb14ff3c03fda195fd5282e3882f9274d0c8bfd6715f1d4a40951"
},
"downloads": -1,
"filename": "pyblustream-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ed7f42eca9fd822ae1ddb99aa2a94a4f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10480,
"upload_time": "2024-01-05T12:14:36",
"upload_time_iso_8601": "2024-01-05T12:14:36.514008Z",
"url": "https://files.pythonhosted.org/packages/20/51/c16f5788688347f808e5b55c2c3ae5f060bb5e095f9d7d9872ee6caeec47/pyblustream-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5b46fd9ca9b4c25a6543bc52161bfbdac84879e76af825a1bab70249147abf94",
"md5": "99ee6f0f58c90c2bbb786926f4551fce",
"sha256": "2c7d8824eb16fc96bbfa9fc504386a8c9857824439ccf1169b57cce615113427"
},
"downloads": -1,
"filename": "pyblustream-0.10.tar.gz",
"has_sig": false,
"md5_digest": "99ee6f0f58c90c2bbb786926f4551fce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9828,
"upload_time": "2024-01-05T12:14:37",
"upload_time_iso_8601": "2024-01-05T12:14:37.788247Z",
"url": "https://files.pythonhosted.org/packages/5b/46/fd9ca9b4c25a6543bc52161bfbdac84879e76af825a1bab70249147abf94/pyblustream-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-05 12:14:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "designer-living",
"github_project": "pyblustream",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyblustream"
}