TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Xiaomi Home Integration for Home Assistant

559 pointsby coherence735 months ago

26 comments

WaitWaitWha5 months ago
In my opinion this is not Xiaomi <i>into</i> Home Assistant (HA). To me, an integration would mean that I need nothing from Xiaomi, all activities are within HA.<p>from the Github page[0]:<p>&gt; 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.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;XiaoMi&#x2F;ha_xiaomi_home?tab=readme-ov-file#security">https:&#x2F;&#x2F;github.com&#x2F;XiaoMi&#x2F;ha_xiaomi_home?tab=readme-ov-file#...</a>
评论 #42432812 未加载
评论 #42432740 未加载
评论 #42432798 未加载
评论 #42439353 未加载
评论 #42434183 未加载
kwanbix5 months ago
I didn&#x27;t know what it was, so: <a href="https:&#x2F;&#x2F;www.home-assistant.io" rel="nofollow">https:&#x2F;&#x2F;www.home-assistant.io</a>
评论 #42432395 未加载
评论 #42437897 未加载
carlgreene5 months ago
Home Assistant is one of the best open source projects I&#x27;ve come across. I&#x27;ve been using it for 5+ years on an older RPi and it&#x27;s been pretty rock solid. Countless updates and everything just keeps on chugging.<p>I&#x27;ve landed on a mixture of MQTT and Zigbee communicating devices, the latter being much easier to set up and maintain. There&#x27;s an integration for just about everything I&#x27;ve wanted, some better than others, but all in all just a great project.
评论 #42432855 未加载
评论 #42432963 未加载
评论 #42434729 未加载
monkeydust5 months ago
HA is awesome but I have found that over time entropy kicks in if you don&#x27;t maintain it properly (which I haven&#x27;t done for a year) connections fail, switches stop doing what they are supposed to...it&#x27;s on my Xmas list to spend some time sorting it out!
评论 #42436293 未加载
Someone12345 months ago
I include this when considering buying something integrated.<p>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&#x27;re dead to me.<p>So Xiaomi adding support, assuming it is reliable, definitely moves them into a better category.
评论 #42432541 未加载
评论 #42432757 未加载
评论 #42433301 未加载
评论 #42432749 未加载
评论 #42432707 未加载
评论 #42434866 未加载
评论 #42432636 未加载
评论 #42441221 未加载
评论 #42434054 未加载
评论 #42434574 未加载
评论 #42432715 未加载
评论 #42432510 未加载
评论 #42438735 未加载
评论 #42432721 未加载
syntaxing5 months ago
Meanwhile MyQ “closed” their API and broke all HA integration because it “cost” the company too much. Where in reality, they just wanted people to use their app since they started serving ads. Say what you want about China and the security implications but a lot of their IoT companies are way more opened than our US counterparts.
seanvelasco5 months ago
low-end Chinese phones, including Xiaomi and Huawei, show ads on system apps like Settings and Contacts. soon, smart home appliances might also display or speak ads. there&#x27;s nothing stopping these Chinese companies from doing so - both technologically and ethically.<p>Xiaomi definitely should not lead the way in smart home automation.
评论 #42435741 未加载
评论 #42435904 未加载
评论 #42436190 未加载
评论 #42437130 未加载
评论 #42435967 未加载
评论 #42435986 未加载
pammf5 months ago
I love Home Assistant but I now have a pretty strict minimum effort rule after years of configuring integrations and building dashboards that I would forget about after 2 months:<p>I only do automations (no dashboards at all), and try to keep them as simple as possible. Once I feel I’m reaching diminishing returns territory, I stop.<p>Only use HA if I need to mix different vendors (e.g. turn on the hue lights if the tuya sensor switches to on) or if the vendor app&#x2F;service has a limitation that doesn’t allow me to do what I want. For instance, I have some automations for my Mitsubishi airco units cause their app sucks. Otherwise I’ll just use the default app or service.<p>Only configure an integration if I’m going to use it in an automation; I have a bunch of integrations detected that I don’t configure.<p>I decided to follow these rules a couple of years back, and since then I could address all my needs with almost 0 maintenance.
评论 #42434616 未加载
评论 #42437920 未加载
nevi-me5 months ago
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).<p>I&#x27;ve been using them with Google Home, so the lights weren&#x27;t automated with HA. I&#x27;ll try the integration out.
评论 #42432473 未加载
评论 #42433212 未加载
gpi5 months ago
Got my hopes up but it&#x27;s a start. Was hoping to see more local support as opposed to Xiaomi cloud
tetris115 months ago
Just use ZigBee or Z-wave devices and then use a bridge to connect to HA.<p>Anything else is just WiFi and vendor lockdown
评论 #42434726 未加载
评论 #42434127 未加载
评论 #42433080 未加载
harry85 months ago
I&#x27;ve had a reasonable run with athom pre-flashed tasmota kit and HA.<p><a href="https:&#x2F;&#x2F;www.aliexpress.com&#x2F;store&#x2F;5790427" rel="nofollow">https:&#x2F;&#x2F;www.aliexpress.com&#x2F;store&#x2F;5790427</a><p>Low effort, low maintenance, works good. mqtt &amp; wifi, tasmota has everything you could want in a timer interface while still exposing switching etc to override it HA.
immibis5 months ago
All I know about Xiaomi is that I bought a phone from them because the hardware specs were pretty good and the bootloader was unlockable. Upon trying to unlock the bootloader, I was told my account must be 30 days old (effectively, that I must have owned the phone for 30 days). Annoying, but not that unreasonable if it&#x27;s some kind of anti-theft protection or something. After 30 days, every time I press the button for the first step of unlocking, I am told that I should try again on tomorrow&#x27;s date. Apparently every 6 months they change the roadblocks to bootloader unlocking, and as of this moment there is no simple way to do it (their server no longer processes the requests), with rumours they plan to permanently disable it. This is pretty bad for my trust in their brand.
whalesalad5 months ago
Sidenote: I just installed Home Assistant this weekend for the first time. Insanely polished piece of software!
评论 #42437893 未加载
pawelduda5 months ago
I have some xiaomi bulbs that used to work until I needed to re-pair them to a new wifi and (unofficial) integration kept asking me for pairing code - which is nowhere to be found. I probably got rid of the boxes where it&#x27;s supposed to be located. Wonder if there&#x27;s a workaround for that.
评论 #42432601 未加载
评论 #42433186 未加载
评论 #42433216 未加载
评论 #42432387 未加载
euroderf5 months ago
Is anyone else trying to run HA with deCONZ &amp; Conbee II ? AFAICT the documentation is scattershot and the software is ugly and fickle. OTOH maybe I&#x27;m just stupid.
评论 #42440116 未加载
评论 #42439721 未加载
评论 #42440057 未加载
评论 #42440439 未加载
petre5 months ago
It loses the login every few months to the point that I got fed up to repeatedly login and obtain the token again and never touched it again.
odiroot5 months ago
Interesting but this one doesn&#x27;t work with my containerised Home Assistant. Xiaomi Miot Auto works on the other hand.<p>There&#x27;s also another, a built-in one.
guerrilla5 months ago
Why do people care about Xiaomi specifically? Tons of stuff is supported by HA.
mongol5 months ago
What is MIoT that is mentioned? I know IoT is internet of things.
评论 #42432524 未加载
评论 #42432490 未加载
评论 #42433227 未加载
perdomon5 months ago
Is this the software suggested by my new robot vacuum?
mindwork5 months ago
Does that includes Qingping air monitors?
评论 #42433816 未加载
MostlyStable5 months ago
I mean....I guess this is better than <i>not</i> having it, but I&#x27;m not personally interested in cloud-only smart integrations. Cloud option? Fantastic! Cloud-only? No thank you.
评论 #42433253 未加载
WaitWaitWha5 months ago
If you are thinking of deploying Home Assistant (HA), let me give you a few tips that <i>I</i> should have known when started. HA environment is vast. There are myriads of options, features, and functions. There are some gotchas that can be costly down the road.<p>All of the following are &quot;for now, as you start out&quot;:<p>Do not gyrate over which version of HA to run. Run the HAOS loaded on RasPi, or a dedicated machine. You can migrate to other solution if that does not end up to be the best choice.<p>Make sure you get the latest Zigbee radio dongle the HA Forum recommends. I use in all my HA installs a combination dongle for Zigbee &amp; Z-Wave and it works flawlessly (NORTEK Quickstick Combo).<p>Start with a few <i>cheap</i> Zigbee devices. Stay away from WiFi, LoRaWAN and other solutions. Z-Wave devices are great, but more expensive. You know you do not know if you even want to do this.<p>Initially, just use the built-in Zigbee (ZHA) integrations. Once you are comfortable deploying other ways, like MQTT can be established easily.<p>Do not spend too much on the devices now. I suggest you pick up a PIR motion sensors, door &amp; window opening sensors, temperature &amp; humidity sensors, smart plugs, and light bulbs. Anything else is overkill to try out. Sub-tip: all of these are battery operated, so try to consolidate on a standard battery. The ones I listed can all run off of 2032 cell batteries. Ikea sells most of these, Aqara is well known, and so on. If it is Zigbee (not Matter) you will have 96% chance it will work with HA.<p>Have fun!
评论 #42434985 未加载
评论 #42437602 未加载
评论 #42433729 未加载
评论 #42434774 未加载
评论 #42434246 未加载
评论 #42437307 未加载
评论 #42434537 未加载
评论 #42439816 未加载
评论 #42436863 未加载
评论 #42437870 未加载
评论 #42437574 未加载
评论 #42437253 未加载
评论 #42437520 未加载
评论 #42437622 未加载
评论 #42440670 未加载
darknavi5 months ago
I&#x27;ll be the one to plug Valetudo in this thread I guess. Primitively, it replaces the cloud functionality on-device for robot vacuums (see supported models) and replaces it with local services that run offline and can connect to Home Assistant easily.<p>I will never buy another robot vacuum without Valetudo support as long as that project lives. It&#x27;s great.<p><a href="https:&#x2F;&#x2F;valetudo.cloud&#x2F;" rel="nofollow">https:&#x2F;&#x2F;valetudo.cloud&#x2F;</a>
评论 #42433063 未加载
评论 #42435831 未加载
评论 #42437216 未加载
评论 #42435522 未加载
评论 #42440673 未加载
ancorevard5 months ago
There is a lot of upside of inviting CCP into your home, for instance...
评论 #42440689 未加载