Hi guys, can I get some help with the wireless switches. There are three active states that can be picked up: single, double and hold. How can i use these as a trigger in an automation?
I’m guessing it’s something similar to the motion one, but I can’t figure it out… trigger: platform: event event_type: motion event_data: entity_id: binary_sensor.motion_sensor_158d000113702f
Does anyone have code for motion and door sensors. I had them triggering via state but it seems they they start in the ‘on’ state when i reset home assistant and they are setting off my automation.
And the example didn’t seem to work:
Hi, is there a way to detect xiaomi gateway that belongs to a different network? Now i have raspberry pi connected on a local LAN with ip 192.168.1.* and the gateway is connected on a local lan with ip 192.168.3.*, both lans are managed by the same router and they are enabled to comunicate each other but the hass plugin can’t detect xiaomi gateway.
Is there a way to change the icons for the motion sensors? I find the stationary man and moving man too similar at a glance and would prefer the empty circle (no motion) and circle with a tick (motion) if I can change them?
I fumbled along last night and got the xiaomi temp/humidty sensors working just fine. Even logging and dispalying on influxdb/grafana is working perfect.
I have 2 requests which I can’t figure if its possible
To get battery life or status out of each sensor
If the sensor stops communicating ie out of range or battery or plain dead, there seems to be no indication, just last reading, can anything be done using the xiamo protocol to highlight a dropped sensor
oh make a group and it will not be at the top in a circle. I still get the regular circle, this will just add another one that says open/closed rather than the man image that is still/running.