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.5.tar.gz
(11.8 kB
view details)
Built Distribution
zigate-0.5.5-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file zigate-0.5.5.tar.gz
.
File metadata
- Download URL: zigate-0.5.5.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b2091adfbfa5cabd59b60eec9383d429595662a7e85fea7f4c7ba1662598280 |
|
MD5 | d4932a2158a20770b3566389625f4c97 |
|
BLAKE2b-256 | 269afead7b2d6e87d6eb411842a6e95afa652c062bd8b37f921456f13ef1f179 |
Provenance
File details
Details for the file zigate-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: zigate-0.5.5-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7caac67dd9cf40fb0a246875c05f27c664da7635e338ce909edf91205893255 |
|
MD5 | af86df6d9fee532c62039c0c024c9349 |
|
BLAKE2b-256 | b1d702f2dd23fe4c7b2bb392e7e81acd6520810c16606762b9cdcd03a9a64fbb |