Another component for ZiGate


#122

Is this project still alive? I can see that https://github.com/doudz/homeassistant-zigate was archived?

I am trying to add ZigBee support to HA, and I am trying to pick the best possible solution for it (deCONZ, zigate, zigbee2mqtt).
To me it seemed that this component together with the zigate stick would be the easiest solution (no need to flash the stick, easy component setup).


#123

zigate comes with its firmware already flashed, but you will need to flash future firmwares. at the moment, zigate doesn’t need a debug board to flash its firmware, but that might happen to cc253* sticks as well.

I’m now using cc253x/zigbee2mqtt as it has more features and is still alive.


#124

I’m now using cc253x/zigbee2mqtt as it has more features and is still alive.

This was my first idea, to be honest. However I find the configuration kind of cumbersome and non-intuitive. Also buying the stick and the cc debugger I would have to order from china, which results in long delivery time.

Is zigbee2mqtt supporting arbitrary devices, or do you need concrete support of the device in this component? E.g. I am thinking about getting this lamp: https://www.paul-neuhaus.de/shop/de/led-stehleuchte-smart-home-alexa-tauglich-100-111-57.html

And I am pretty sure non of the zigbee components out there will have support for it.


#125

What kind of features you have with zigbee2mqtt you do not with zigate ?


#126

depends, some needs specific support, some don’t.
some zigate support for new components is done in the firmware (see https://zigate.fr/2018/02/17/maj-firmware-zigate-version-3-0d-testgui-windows/) it means you have to wait for the one dev to do it in its free time, then you have to upload the new firmware.
zigbee2mqtt only needs a software update.

I’m pretty sure if you send this lovely lamp to one of the dev you’ll have support for it. :slight_smile:


#127

this is my network map :slight_smile:


#128

Your router nodes are some osram smart plug am I right ?
https://images-na.ssl-images-amazon.com/images/I/815Ie%2BohKyL.SX385.jpg

I tried to use them as router with zigate with no success but the range of the zigate is awesome so no real need.

I would like to try zigbee2mqtt but this mean losing all the pairing with the zigate.


#129

yes my router nodes are osram plugs.
zigate range is better than cc2531 but it’s still not enough here at home.
I also have a cc2530_cc2591 range/sensibility should be better.


#130

Hello doudz,

I’m using this library with HASS and it’s works fine for reading Xiami switch status.

I would send a toogle command via HASS (On/Off a light) using a Wifi Zigate bridge.
I’m not able to configure configuration.yaml to do that.
Is it possible with your library ? Could you please give me an exemple if it’s possible ?

Xiaomi switch configuration [zigate.f700] in HASS dev_services:

battery_voltage: null
battery_level: 100
rssi_percent: 78
type: lumi.ctrl_neutral1
manufacturer: 1037
receiver_on_when_idle: true
missing: false
addr: f700
bit_field: 0100000000000001
descriptor_capability: 00000000
id: 0
ieee: 00158d000251b290
last_seen: 2018-10-06 18:44:19
mac_capability: 10000100
max_buffer: 127
max_rx: 100
max_tx: 100
power_type: 1
rssi: 198
server_mask: 1
friendly_name: Lumière salon
icon: mdi:access-point


#131

@doudz if you’re in the area. Any advice on updating you lib to the latest version with this actual component ? Good or bad idea ?
Still working fine with version 0.81.2 of hass :star_struck:

But I wait for my CC debugger and will test zigbee2mqtt soon.


#132

I’m using it everyday


#133

Excellent, update done.


#134

new version of zigate firmware available:


#135

Does this version works with actual version of the component ?


#136

I’ll wait a little bit before installing it because there’s not a lot of testing actually.


#137


Code is now opensource !


#138

I’ve found an error in my logs when starting HA 0.81.2:

2018-11-13 12:11:44 ERROR (SyncWorker_8) [zigate] Failed to eval "struct.unpack('H', unhexlify(value)[2:4])[0]/1000." using "0121030c0328170421a81305210c00062401000000000a2100006410000b210000"
2018-11-13 12:11:44 ERROR (SyncWorker_8) [zigate] Traceback (most recent call last):
  File "/config/deps/lib/python3.6/site-packages/zigate/clusters.py", line 91, in update
    'self': self})
  File "<string>", line 1, in <module>
NameError: name 'struct' is not defined

Does not look to have an impact on zigate usage but I mention it in case of someone is working on the component.


#139

It’s fixed in 0.20.2


#140

update done, nice work as usual and thanks a lot :ok_hand:


#141

Since I have fully moved from ZiGate to Deconz, I am selling my old Zigate gateway (non-wifi version). Price 30 euros. For more details contact PM.