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.0.tar.gz
(11.8 kB
view details)
Built Distribution
zigate-0.5.0-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file zigate-0.5.0.tar.gz
.
File metadata
- Download URL: zigate-0.5.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d4a145f9cf949e262019171079a1bcbf0447d5b139164a3dfba7a1384d603f |
|
MD5 | 3d6fd5c1f9a4014dd75860dad91da5dd |
|
BLAKE2b-256 | 5d547a54845133b1f54941dee6e25d01d17d085d3dd54ce0ada91da94a373692 |
Provenance
File details
Details for the file zigate-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: zigate-0.5.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30996564de933896b7139cac37152baaa6d6f5661977ff22393222d1c9d5b233 |
|
MD5 | 9a09df7a6d5cd2c9f6c4849be9aed292 |
|
BLAKE2b-256 | 5ccd7ce4e00eee77fd9c0aa814da6a6374e844ac2f930f522ec5ffa1494bebbb |