python library for the zigate gateway (zigbee) http://zigate.fr
Project description
# zigate
python library for zigate http://zigate.fr/
inspired by https://github.com/elric91/ZiGate
Usage :
```
import zigate
z = zigate.ZiGate(port=None) # Leave None to auto-discover the port
print(z.get_version())
# list devices
z.list_devices()
# start inclusion mode
z.permit_join()
```
Wifi ZiGate:
```
import zigate
z = zigate.ZiGateWiFi(host='192.168.0.10', port=9999)
print(z.get_version())
# list devices
z.list_devices()
# start inclusion mode
z.permit_join()
```
Using asyncio loop :
```
import asyncio
import zigate
loop = asyncio.get_event_loop()
z = zigate.ZiGate(asyncio_loop=loop)
loop.run_forever()
```
python library for zigate http://zigate.fr/
inspired by https://github.com/elric91/ZiGate
Usage :
```
import zigate
z = zigate.ZiGate(port=None) # Leave None to auto-discover the port
print(z.get_version())
# list devices
z.list_devices()
# start inclusion mode
z.permit_join()
```
Wifi ZiGate:
```
import zigate
z = zigate.ZiGateWiFi(host='192.168.0.10', port=9999)
print(z.get_version())
# list devices
z.list_devices()
# start inclusion mode
z.permit_join()
```
Using asyncio loop :
```
import asyncio
import zigate
loop = asyncio.get_event_loop()
z = zigate.ZiGate(asyncio_loop=loop)
loop.run_forever()
```
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
zigate-0.5.4.tar.gz
(11.8 kB
view details)
Built Distribution
zigate-0.5.4-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file zigate-0.5.4.tar.gz
.
File metadata
- Download URL: zigate-0.5.4.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7689aabe17807fb6b6cf32b39e10595ca4d6c7c394736446e581f29d183a8a1e |
|
MD5 | eefcef6e8e409b14526ecc1b2be2cd9d |
|
BLAKE2b-256 | 9e2ca8a70ee614c0762d749a9080c640b4039f72a090c14941580feea14c8b89 |
Provenance
File details
Details for the file zigate-0.5.4-py3-none-any.whl
.
File metadata
- Download URL: zigate-0.5.4-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e52ec6e0bb51cbad06f2d3abf0328742f2671e2fa5d16d99441d5237a1f302c |
|
MD5 | 8d79c446d769538e24fec2e3eb162e19 |
|
BLAKE2b-256 | 8b1f653fb08213818cf349ef78d4084ac072e5182e9d5acdf6f11caa85616d2d |