Would someone be kind enough to provide me some working examples of using the zigate.raw_command to speak to and manipulate zigbee connected devices? I can’t quite figure out the exact syntax. I know I’ve read comments here of people who’ve used the raw command. An example where a bulb is controlled would be great but anything would be good. I’m unsure as to whether to use encoded or decoded in the cmd and data strings.
Cluster 0400 seems to be illuminance information => 51 (hexa) => 81 lux ?
I declared my detector as a switch ( to turn_on my yeelight ), Is it because is not declared as a sensor ?
Can you declare a zigate object as a sensor AND as a switch ?
However, my automations using aqara switches do not seem to trigger. It seems that the state change from on-press to off-release is instantaneous and does not always trigger the automations.
Is it possible push the state changes to the home-assistant event stream?
i.e. with the original Xioami gateway I used to do these automations:
Is it possible to declare the same product as switch and sensor ?
Thanks
EDIT : i retrieve battery states on the switch and the sensor :
switch :
last seen: 2018-03-12 09:17:19
battery: 3.015
friendly_name: sensor1
event: presence detected
Don’t know if this should be considered off topic or not, but does anyone know how to get the multiple values in a single history graph? For example, my Xiaomi temperature sensor reports temperature, humidity and battery status…
But the history graph only displays one. I’m fairly new to HA and looked around the docs but couldn’t really find anything on this.
I suppose you’ll get them displayed separately. As 3 badges or 3 entry in the interface.And depending on which value you click you’ll see one or the other graph.
It’s possible to display several graph in one, but it’s not a default behaviour.
Just to be sure, which motion sensor are you using? The older one does not provide illumination information… Which Zigate firmware do you have installed on your stick?
I have a problem. I’m trying to setup the zigate component by unzipping the files into custom_components under hassio/config/. After this, I add this to my configuration file: #Enable ZiGate
zigate:
So far so good, but when I do the configuration validation it comes back with the following result:
Configuration invalid
Testing configuration at /config
Failed config
zigate:
- Invalid config for [zigate]: string value is None for dictionary value @ data[‘zigate’][‘host’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/zigate/
- cloud: ?
mode: production
config: ?
conversation: ?
discovery: ?
ignore: ?
frontend: ?
javascript_version: auto
group: ?
history: ?
exclude: ?
include: ?
use_include_order: False
http: [source /config/configuration.yaml:23]
api_password: mysecretpassword
base_url: https://mydomain.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
logbook: ?
map: ?
script: ?
sun: ?
updater: ?
zigate: ?
Successful config (partial)
zigate:
What is going on and how can I solve this?? Thanks in advance!
Hi guys! I have successfully paired Ikea Tradfri bulbs with ZiGate. However, whenever I try to turn off different groups of lights at the same time with automation script/google assistant, not all lights are switched off as expected. Some of them stay on, despite the fact that home assistant show’s status “off”. Can you help me out?
Hmmm could it be that the range is limited by interference or something like that? The channels overlap somewhat with WiFi I believe. Also, I’m wondering if the Ikea bulbs act as repeaters or not.
I have Hue lights throughout the house that act as repeaters for at least each other. I also have Xiaomi stuff that’s working fine through two layers of concrete. I don’t think the Xiaomi stuff is repeated by the Hue bulbs though.
The distance shouldn’t be an issue as all of my lights are pretty close to ZiGate… Is there anything I could do about lights interference with WiFi?
Also, I have an automation in which wardrobe lights must be switched off, when no motion is detected. I noticed that 1 particular light was always on, after automation to switch off closet lights was activated. So I added 1 additional line for this particular bulb and now it’s working just fine. However, I don’t think it’s right way to solve such issue