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.3.tar.gz
(11.7 kB
view details)
Built Distribution
zigate-0.5.3-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file zigate-0.5.3.tar.gz
.
File metadata
- Download URL: zigate-0.5.3.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72cbe38512f8ab711a73fc887db73e9fd8e60bc2ccc311f5a7357e26147cea59 |
|
MD5 | a7aa02de838c38af3ebe55575ae09c25 |
|
BLAKE2b-256 | e5f0d55f830d6d5c11b72692f8965e6e4ea23d7d47fe6c2dbcf903816ebae878 |
Provenance
File details
Details for the file zigate-0.5.3-py3-none-any.whl
.
File metadata
- Download URL: zigate-0.5.3-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e933e12d0a0c3e5006ae9608b00a2b7806c660f5de3f5c6d2f0c76d147b9e331 |
|
MD5 | 402472a9c251c36ffd3b39001ab64ccf |
|
BLAKE2b-256 | 5a7fd35ffe23d6bcc2e39f4ad585ea6ffd70b284b0059c08977842f2231c9413 |