Open ethologus opened 6 years ago
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.
Hi, lolorc! Can you share your Osram plug configuration? Thank you!
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
The component appears on my Home Assistant components list. However, whenever I try to change its state from "off" to "on" nothing happens.
I added example for lights. Are you using correct address for your plug?
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:
Wiki page added with example https://github.com/elric91/homeassistant_zigate/wiki
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
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 : https://github.com/elric91/ZiGate/issues/15 )
I can confirm that Xiaomi Smart plug is working with following configuration: switch:
thanks : added in wiki
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?
I can confirm that RGB function is not implemented yet. I will take look on this when my rgb bulb arrives.
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: