Skip to main content

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()
```

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 hashes)

Uploaded Source

Built Distribution

zigate-0.5.0-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page