An OpenWebNet client
Project description
# ReOpenWebNet
ReOpenWebNet is a client library for communicating with an OpenWebNet gateway.
OpenWebNet is a communication protocol developed by Bticino, to enable communication between devices of its home automation product suite ‘MyHome’. For more information about OpenWebNet, see https://www.myopen-legrandgroup.com/developers/
This project started as a fork from https://github.com/pippocla/openwebnet
## Features
Asynchronous components for interacting with the gateway.
The author’s OpenWebNet gateway doesn’t respond well to sending commands
- Low level components:
CommandClient: establishes command sessions and lets you send commands and read the gateway’s responses. The CommandClient does simple rate limiting because the OpenWebNet gateway seems to misbehave if you send too many commands in a short time.
EventClient: establishes event sessions.
Both components automatically reconnect in case of connection loss.
- Higher level components:
ClientFactory: reads configuration from file and can create CommandClient and EventClient instances
GatewayProxy: Creates a CommandClient and an EventClient and keeps state in sync.
## Examples
See examples/ for examples on the various components
## Testing
To run the test suite:
python setup.py test
## Releasing
git tag x.y.z python setup.py build twine upload dist/reopenwebnet-x.y.z-py2.py3-none-any.whl
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 Distributions
Built Distribution
File details
Details for the file reopenwebnet-1.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: reopenwebnet-1.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdabaac1513670303368be095433993c84bc2f79f2d83ef4f675b8107e93e0fb |
|
MD5 | 7d0483a3f45f9d22261b9515875637ed |
|
BLAKE2b-256 | 14b938d07cce348889eda6c8fb738a694755b045affabc87d96e85a250b4d9c6 |