Python code for controlling Brematic remote power outlets and potentially other stuff
Project description
pyBrematic
This project offers a home for controlling your remote power outlets (and potentially other stuff) with the Python programming language. With the help of the community we might get other devices working aswell.
Installation
You can simply install the module via pip like this:
pip install pyBrematic
If you have multiple versions of Python installed, make sure to use the Python 3 package manager:
pip3 install pyBrematic
And if you are having issues with installing the package, try to use the --user
switch, to install it to your home directory.
Example usage
To check out how to use the module, go to the example file where I wrote a little example script, to show how to use the module.
Important notice
Since all data packets are sent to the gateways via UDP, it cannot be guaranteed, that all requests will be transmitted to the gateway. For critical purposes you cannot rely on sending the signal once.
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
Built Distribution
File details
Details for the file pyBrematic-1.1.0.tar.gz
.
File metadata
- Download URL: pyBrematic-1.1.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79438d21d15fc0d3bcd41ed342c038da2f68251ed51f1e1fc5dc4098f9ac8b17 |
|
MD5 | 62f1aeed1bb7ff821a71fdf7fb545ef0 |
|
BLAKE2b-256 | adfcace618863c7cdc7a0fd3cf9803a2a7c9bd01978aa83991e3e6fa72214ead |
File details
Details for the file pyBrematic-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyBrematic-1.1.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35365a540ab24f07539b064a41cf709187498b0bb294e49cfbd35e54f3e77ceb |
|
MD5 | 0fe357da0fa1cadd65e0f9d5c3a3ca9c |
|
BLAKE2b-256 | 09c3110e614e585475c065e505f276e421158652ff7d980f97ff5af14f2cac73 |