Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components documentation needed. #14

Open
ethologus opened this issue Feb 21, 2018 · 13 comments
Open

Components documentation needed. #14

ethologus opened this issue Feb 21, 2018 · 13 comments

Comments

@ethologus
Copy link

ethologus commented Feb 21, 2018

It would be nice if elric91 would be able to provide remaining parts of documentation on how to setup different components that are not mentioned in the readme including:

  • Lights
  • Plugs
@lolorc
Copy link

lolorc commented Feb 22, 2018

this is probably not the place to ask for help. (see https://community.home-assistant.io/t/new-custom-component-zigate/36820/ )
But there's a very good point in renaming your github issue as "Please provide more documentation and examples on switch/sensor definitions and automation examples with sensor/switch"

My switch definition for an osram plug is the same but I don't use the "default_state: 'state'"
Looking at http://zigate.fr/xiaomi-power-socket-prise-pilotee-clusters/ it looks like your using the correct endpoint.

@ethologus
Copy link
Author

Hi, lolorc!
Can you share your Osram plug configuration? Thank you!

@lolorc
Copy link

lolorc commented Feb 22, 2018

it's as simple as

switch:
  - platform: zigate
    name: 'Switch01'
    address: b01701

and in my automation I use this action for instance

     action:
      - service: switch.toggle
        entity_id: switch.Switch01

@ethologus
Copy link
Author

The component appears on my Home Assistant components list. However, whenever I try to change its state from "off" to "on" nothing happens.

@ethologus ethologus changed the title Plug configuration Components documentation needed. Feb 22, 2018
@ISO-B
Copy link
Collaborator

ISO-B commented Feb 22, 2018

I added example for lights. Are you using correct address for your plug?

@ethologus
Copy link
Author

Thank you!
Regarding the address - I have tried to pair my plug with ZiGate again. It does appear among my component list, but it doesn't work when I try to set its state to "on"

Here is screenshot from my Home Assistant:
image

@elric91
Copy link
Owner

elric91 commented Feb 22, 2018

Wiki page added with example
https://github.com/elric91/homeassistant_zigate/wiki

@lolorc
Copy link

lolorc commented Feb 23, 2018

any working examples for the aqara cube ?

I've managed to use the aqara switch with

  - platform: zigate 
    name: 'switch_1234' 
    address: 123401
    default_state: 'state'

but It does not change its state when doing multiclicks

@elric91
Copy link
Owner

elric91 commented Feb 24, 2018

Movements are implemented in pyzigate but not yet send external events (if you want to have a look, see attributes_helpers.py for clusters 000c & 0012, they miss the set_device_property)
I should receive mine in a few days so I can check how to properly link the events to HA (put in the todo list : elric91/ZiGate#15 )

@ethologus
Copy link
Author

I can confirm that Xiaomi Smart plug is working with following configuration:
switch:

  • platform: zigate
    name: 'Switch01'
    address: b01701

@elric91
Copy link
Owner

elric91 commented Mar 18, 2018

thanks : added in wiki

@TheLama1993
Copy link

TheLama1993 commented Apr 13, 2018

I can confirm that the Osram Lightify bulb works with the following configuration:

light:
platform: zigate
name: 'Televisie’
address: "320c03"
light_type: 'dual-white’
default_state: ‘event’

However, RGB function does not work! We'll need more documentation for this. Maybe the rgb functionality is not implemented yet?

@ISO-B
Copy link
Collaborator

ISO-B commented Nov 25, 2018

I can confirm that RGB function is not implemented yet. I will take look on this when my rgb bulb arrives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants