Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

11–20 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#11
post #4

Better late than never, I have 3 of their bulbs in the house, and not being able to integrate with HA prevented me from buying more (at least before Matter was announced). I've been using them with Google Home, so the lights weren't automated with HA. I'll try the integration out.

I have bulbs from wiz, which already have HA support.

Being new to all this home automation stuff I was quite intrigued how they worked though. They're exposed on the WiFi network over a really simple UDP based protocol which led me down a rabbit hole of writing a little go client to mess about with them, took a few evenings.

Not saying Xiaomi bulbs would be quite as simple to write an integration for, but they might have been. It's kind of fun seeing how people have reverse engineered all these custom protocols.

Re: Xiaomi Home Integration for Home Assistant

#13

I include this when considering buying something integrated. For example Philips Hue is overpriced, but their Home Assistant integration is top tier and ultra-reliable. Contrast that with myQ garage door openers (LiftMaster, Chamberlain and Craftsman) recently breaking Home Assistant support on purpose, to essentially replace it with nothing, and they're dead to me. So Xiaomi adding support, assuming it is reliable,…

Is there a list I could consult to find such companies?

Re: Xiaomi Home Integration for Home Assistant

#14
In my opinion this is not Xiaomi into Home Assistant (HA). To me, an integration would mean that I need nothing from Xiaomi, all activities are within HA.

from the Github page[0]:

> Xiaomi Home Integration and the affiliated cloud interface is provided by Xiaomi officially. You need to use your Xiaomi account to login to get your device list. Xiaomi Home Integration implements OAuth 2.0 login process, which does not keep your account password in the Home Assistant application. However, due to the limitation of the Home Assistant platform, the user information (including device information, certificates, tokens, etc.) of your Xiaomi account will be saved in the Home Assistant configuration file in clear text after successful login. You need to ensure that your Home Assistant configuration file is properly stored. The exposure of your configuration file may result in others logging in with your identity.

[0] https://github.com/XiaoMi/ha_xiaomi_home?tab=readme-ov-file#...

Re: Xiaomi Home Integration for Home Assistant

#15
post #7

Earlier quoted context omitted.

It's the Land Rover of home automation systems. (Very capable, but also making programmers out of home owners since 2012) edit: I was referring to a sticker that I’ve seen often on enthusiasts' forum posts 'Land Rover - Proudly turning owners into mechanics since 1948'. The old school Defender is a very capable off road vehicle, but its need for regular unscheduled maintenance is legendary. Greetings from a Toyota HZ…

Are Land Rovers extra hackable? Will be in need of a new car in a few years and that would help o.0

He meant shit keeps breaking and youll be constantly fixing it

Re: Xiaomi Home Integration for Home Assistant

#18
post #2

I didn't know what it was, so: https://www.home-assistant.io

It's the Land Rover of home automation systems. (Very capable, but also making programmers out of home owners since 2012) edit: I was referring to a sticker that I’ve seen often on enthusiasts' forum posts 'Land Rover - Proudly turning owners into mechanics since 1948'. The old school Defender is a very capable off road vehicle, but its need for regular unscheduled maintenance is legendary. Greetings from a Toyota HZ…

What is Land Rover the Land Rover of again? Highest cost per repair? Least likely off-road brand to be taken off-road? No.1 brand owned by rich land-owners? I legit don't get what that reference was going for.

Home Assistant is a free and open source way of cross-connecting smart devices. It is incredibly powerful. It can easily save you money (e.g. garage door/motion sensor + thermostat temp adjustments), or allow you to craft bespoke convenience/security features.

It is the central hub of a smart-home. Very reliable in my experience.

Re: Xiaomi Home Integration for Home Assistant

#19

I include this when considering buying something integrated. For example Philips Hue is overpriced, but their Home Assistant integration is top tier and ultra-reliable. Contrast that with myQ garage door openers (LiftMaster, Chamberlain and Craftsman) recently breaking Home Assistant support on purpose, to essentially replace it with nothing, and they're dead to me. So Xiaomi adding support, assuming it is reliable,…

In case anyone using a myQ opener comes across this, I feel the need to mention ratgdo which many have found to be a great inexpensive upgrade.

https://ratcloud.llc/

Re: Xiaomi Home Integration for Home Assistant

#20
Home Assistant is one of the best open source projects I've come across. I've been using it for 5+ years on an older RPi and it's been pretty rock solid. Countless updates and everything just keeps on chugging.

I've landed on a mixture of MQTT and Zigbee communicating devices, the latter being much easier to set up and maintain. There's an integration for just about everything I've wanted, some better than others, but all in all just a great project.

Post reply on HN