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.2.tar.gz
(11.9 kB
view details)
Built Distribution
zigate-0.5.2-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file zigate-0.5.2.tar.gz
.
File metadata
- Download URL: zigate-0.5.2.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dff3808afbb76e37773c83b6d5b1005e1c586c12d6ac49646e6e496356fde532 |
|
MD5 | 8c5b52b814156f92d4bffd75d9373366 |
|
BLAKE2b-256 | 3359d721878854a436c656529259812ed19fa6abacfb9c8ee16cc7be4db8151e |
Provenance
File details
Details for the file zigate-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: zigate-0.5.2-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6529ffa620a22a891a2a028de684a79a3880af2ce85dfcc5a580fbe68be03525 |
|
MD5 | 431eec4c3bc8751076632b9777a1218c |
|
BLAKE2b-256 | e510358e64c6efcf232a95d9520762c202f6ae1bcc36dadf612afad763fd197a |