Another component for ZiGate

Unfortunately following a restart, I’ve lost all my configuration. The module didn’t manage to load the zigate.json file… and created a new one, totally empty apart the zigate :sleepy:

1 Like

Hello,
where are links?
js changing ?


thank you

You have to rebuild network map
image

Same here after upgrading.
you have to use a backup file

Same here after upgrading.but not change after build network table with force


[zigate] Stop waiting, got message 0x804e
2020-04-29 21:19:09 DEBUG (SyncWorker_19) [custom_components.zigate] Neighbours table [('0000', '6e14', 145), ('0000', 'b8f6', 82), ('0000', 'beac', 232), ('0000', 'b385', 156), ('0000', '0360', 147), ('0000', '662d', 99), ('0000', '5f2a', 116), ('0000', '1ef8', 75), ('0000', 'cf5b', 82), ('0000', 'dd8f', 137), ('0000', '95e2', 150), ('0000', '9aed', 90), ('0000', '8852', 106), ('0000', '7942', 56), ('0000', '8ec5', 75), ('0000', 'c629', 62), ('0000', '9a16', 140), ('0000', 'e844', 84), ('0000', '4d54', 100), ('24b0', '12df', 105), ('0000', '24b0', 1), ('24b0', '12df', 108), ('24b0', '91c3', 96), ('24b0', '0424', 84), ('12df', '16d3', 148), ('12df', '16d3', 142), ('0000', '0000', 247), ('0000', '0000', 247), ('0000', '92f4', 48), ('0000', '342c', 40), ('0000', '27e6', 77)]

## Home Assistant 0.108.9
|Lib version |0.38.9|
|Port |/dev/ttyUSB0|
|Connected |True|
|Firmware version |3.1c|
|Model |TTL|

i look source code but ???

solved firefox “développement web” console un device already exist . i delete the device and go!!!

Did anybody managed to use the aqara cube with Zigate ?
There is not much discussion about it on this site.

There is no binary sensor on the Zigate side.

The entities I can see are :

  • zigate.00158d000xxxxxxx
  • sensor.zigate_00158d000xxxxxxx_rotation
  • sensor.zigate_00158d000xxxxxxx_rotation_time
  • sensor.zigate_00158d000xxxxxxx_movement

I don’t see how one of these entities can be used with an event.
The exemples provided here are based on a binary sensor.

Any clue is welcome.

If that issue is still of interest, here is how I managed to partially use the cube.
Useless example : rotate forward : turn on the light ; rotate backward : turn off the light.
Yes a stupid switch does the same, but it helped myself understanding the device.

  • alias: Cube state turn on light
    trigger:

    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_20’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_05’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_53’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_32’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip180_5’
      action:
      entity_id: switch.sonoff_1000xxxxxx
      service: switch.turn_on
  • alias: Cube state turn off light
    trigger:

    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_02’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_23’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_35’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip90_50’
    • platform: state
      entity_id: sensor.zigate_00158d000xxxxxxx_movement
      to: ‘flip180_2’
      action:
      entity_id: switch.sonoff_1000xxxxxx
      service: switch.turn_off

This example is using the plateform: sate.
Having no success yet with the plateform: event.

Hi,

Is this still the best way to get my new Zigate device working please or is there a best way ?

For example Zigbee Home Automation integration detects my Zigate, can do a search through service (zha.permit) but I have a lot of issues with it.

It also does not have a map.

With this Zigate component I’m not able to add devices.
Well they may be detected in the Zigate admin panel but I dont know how to add them.

It’s more clear with ZHA.

I’m actually quite confused, I was trying to do stuff with both at the same time and now I can’t seem to be able to pair anything nor delete the existing last Aquara sensor.

I have a Zigate with woth Wifi and USB components and have been constantly switching between both to sort this out.

The Wifi dongle seems to crash very often…
The USB dongle seems more stable but still not so stable ?

If I could have some recent feedbacks it would be awesome !

I have Home Assistant running on a full physical Debian 10 server (python installation)

Thanks !

For me, it’s the best solution since I’m using it every days without any trouble.
I suggest you to erase the persistent memory of the Zigate to restant from scratch when you switch between zha and zigate component

And USB is more stable than wifi because some packets could be lost due to bad signal strengh for example

1 Like

Thanks for your feedback.

Actually after 2 days I managed to make it work with the official Zigbee Home Automation (USB)

I now have my 7 Aquara sensors + door opening detector :slight_smile:

Just need figure out how to modify the entitiy name or display the replacement name in the graphes

For information : component is deprecated : https://github.com/doudz/homeassistant-zigate
We have to use zha instead

1 Like