- alias: Fan Start above 70% humidity
trigger:
platform: numeric_state
entity_id: sensor.humidity_158d00012cb6c0
above: 70
action:
- service: light.turn_on
entity_id: light.ventola
- service: homeassistant.turn_on
entity_id: input_boolean.fan_start
- alias: Fan Stops below 50% humidity and only after "Fan Start above 70% humidity"
trigger:
platform: numeric_state
entity_id: sensor.humidity_158d00012cb6c0
below: 50
condition:
condition: state
entity_id: input_boolean.fan_start
state: on
action:
- service: light.turn_off
entity_id: light.ventola
- service: homeassistant.turn_off
entity_id: input_boolean.fan_start
(The fan is connected to an Osram Smart Plug driven by Hue, that’s why is seen as a light)
So the first automation should run normally and turn on the boolean, the second one should run when triggered, but only at condition that the bool is on
Apparently Xiaomi uses the standard NXP trusted Center Link KEY: 5A: 69: 67: 42: 65: 65: 41: 6C: 6C: 69: 61: 6E: 63: 65: 30: 39 with that key you can decode the Zigbee ZHA protocol messages between all the Xiaomi Sensors and the Xiaomi gateway:
He also published all attributes of different sensors in an excel sheet.
So it should be possible to connect all these great cheap sensors to the Homey Zigbee protocol when ready.
Cant wait, cause these sensors have a great range and are super efficient, haven’t had to change the battery for more than 1 year
He’s starting a kickstarter campaign for an open zigbee gateway to support multiple vendors.
Currently already working with xiaomi and Hue. @touliloup mentioned it here: Physical Buttons for Home Assistant
They don’t appear to be fully supported by the gateway yet.
They don’t show up on the Android app - but they do on the IOS app.
And the gateway says the “model” is blank (which is similar to what happened with the “cube” before it was fixed in a firmware update) and crucially don’t report the temperature or humidity
This is both via heartbeat, and when polled directly:
What do you think of the new buttons? I took a look at the new aqara range, the door and window sensors I don’t like, but the new buttons seem more solid, like they would be good for wall mounting where the others seem to be better for a table?
I guess proper support will come in the Xiaomi app/gateway soon.
I noticed that the curtain device now shows up.
You could maybe contact gearbest and see if they know. A long shot, but it might help if you explain they will have a lot of support calls on these…
Maybe so.
I also noticed the Aqara and Eigenstone - who both seem to be other companies involved in the design/manufacture of these devices - both have apps available on the Apple appstore.
Both apps seem to be the same (but with different graphic assets) but neither will work as I cannot register with a UK cellphone - reg text never gets sent. Maybe a Chinese number would work, but I cant get one.
I have the new temp sensor and door sensor on the way.
Didn’t like the new switch design (button in the middle of the enclosure) compared to the old one.