miio.gateway.zigbee module

Xiaomi Gateway Zigbee control implementation.

class miio.gateway.zigbee.Zigbee(parent: Gateway = None)[source]

Bases: GatewayDevice

Zigbee controls.

get_zigbee_channel()[source]

Return currently used zigbee channel.

get_zigbee_version()[source]

timeouts on device.

read_zigbee_attribute()[source]

Read zigbee data?

read_zigbee_eep()[source]

Read eeprom?

send_to_zigbee()[source]

How does this differ from writing?

Unknown.

set_zigbee_channel(channel)[source]

Set zigbee channel.

write_zigbee_attribute()[source]

Unknown parameters.

zigbee_pair(timeout)[source]

Start pairing, use 0 to disable.

zigbee_unpair(sid)[source]

Unpair a device.

zigbee_unpair_all()[source]

Unpair all devices.