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.1.tar.gz
(11.8 kB
view details)
Built Distribution
zigate-0.5.1-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file zigate-0.5.1.tar.gz
.
File metadata
- Download URL: zigate-0.5.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7631a913b186fc672a337a9051ba0acaf56f9b0b0fcabc605dd8b150aa88cfb |
|
MD5 | 79d85a87b386098fbc7fb388dc6e0858 |
|
BLAKE2b-256 | 08fbc1333a7dca71f2f450d41a4f7aecee8a117928ca4c92cce9a101820e2ca5 |
Provenance
File details
Details for the file zigate-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: zigate-0.5.1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad9f62e887b715490fb10bef2371329876bf9ba1211f7e751a5466e3033e60b |
|
MD5 | dfa06a82d0d2ae23240769b70c8ef793 |
|
BLAKE2b-256 | a50ff72667f8541c487a72807ce2f35706aa6e72ea148cea11252b0aae49fe0e |