Skip to content
zigate component for Home Assistant
Branch: master
Clone or download
Latest commit e71b890 Mar 18, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Add option to disable led Mar 14, 2019
zigate Merge branch 'master' into add_ota_commands Mar 18, 2019
.gitignore Ignore __pycache__ directories Nov 20, 2018
.travis.yml update travis Jan 8, 2019
LICENSE Create LICENSE Jun 28, 2018 remove map Mar 18, 2019

ZiGate component for Home Assistant

A new component to use the ZiGate (

Build Status Donate

To install:

  • if not exists, create folder 'custom_components' under your home assitant directory (beside configuration.yaml)
  • copy all the files in your hass folder, under 'custom_components' like that :
└── zigate
    ├── services.yaml
  • adapt your configuration.yaml

To pair a new device, go in developer/services and call the 'zigate.permit_join' service. You have 30 seconds to pair your device.

WARNING : Since commit ddf141e, you have to rename the file .zigate.json to zigate.json to avoid loosing your configuration !

Configuration example :

# Enable ZiGate (port will be auto-discovered)


# Enable ZiGate
  port: /dev/ttyUSB0
  channel: 24
  enable_led : false

or if you want to use Wifi ZiGate (or usb zigate forwarded with ser2net for example) Port is optionnal, default is 9999

# Enable ZiGate Wifi

If yo want to use PiZiGate, just add gpio: true. Other options are still available (channel, etc)

# Enable PiZiGate
  gpio: true

Currently it supports sensor, binary_sensor and switch, light and cover

How enable debug log

  default: error
    zigate: debug
    custom_components.zigate: debug

Alternatively you could call the service logger.set_level with data {"custom_components.zigate": "debug", "zigate": "debug"}

How to adjust device parameter

Some devices have the ability to change some parameters, for example on the Xiaomi vibration sensor you can adujst the sensibility. You'll be able to do that using the service write_attribute with parameters : { "addr": "8c37", "endpoint":"1", "cluster":"0", "attribute_id":"0xFF0D", "manufacturer_code":"0x115F", "attribute_type":"0x20", "value":"0x01" }

In this example, the value is the sensiblity, it could be 0x01 for "high sens", 0x0B for "medium" and 0x15 for "low"

custom panel

You can add a custom panel to display the network map. To do so, copy the panels folder in your hass config folder like this :

└── zigate.html

and the following in your configuration.yaml

  - name: zigate
    sidebar_title: ZiGate
    sidebar_icon: mdi:zigbee
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.