Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

251–260 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#251
post #129
post #40

Earlier quoted context omitted.

I think (some correct me) you can group most devices into the following categories: 1. Device requires internet for setup, and for usage 2. Device requires internet for setup, but after that don't need it anymore 3. Device can be fully setup without internet, and used without internet Personally I aim to be fully within 3 as much as I can, but some devices are really hard to find at a good price point that falls into…

Home Assistant itself falls into category 2, with some integrations/utilities in category 1. The amount of stuff it pulls from the mothership and GitHub is crazy. I wish it were local-only by default.

A fresh HAOS VM can not successfully boot without internet access, maybe due to how they are managing everything with Docker within HAOS? I noticed this because the VM was accidentally put into a network that does not have stable internet, and I kept wondering why it didn't boot.

Really hope that there is a fully offline solution.

Re: Xiaomi Home Integration for Home Assistant

#252

Earlier quoted context omitted.

Newer ikea devices are standardizing on AAA because they can be recharged. The new motion sensors, door sensors, and buttons all use AAA batteries.

Thanks for the update. The ones I have are the Remote Control N2 using AAA, and the motion sensors use CR2032.

Last week bought IKEA motion sensor - AAA

Re: Xiaomi Home Integration for Home Assistant

#253
post #136

Earlier quoted context omitted.

You're giving them the benefit of the doubt here. In my experience, not only are they greedy, but they're also inept and lazy.

To steel man a bit, they're also trying to make things as easy as possible for the generic public that they want to buy their device, who doesn't know what a hub is, and definitely doesn't want to learn, to turn on a lightbulb.

Sure, nothing is stopping them from offering both.

Re: Xiaomi Home Integration for Home Assistant

#254

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,…

After trying the lesser priced bulbs and sensors I always end up back to Hue. Rock solid quality - pays for itself in the long run.

Re: Xiaomi Home Integration for Home Assistant

#255
post #183

HA is awesome but I have found that over time entropy kicks in if you don't maintain it properly (which I haven't done for a year) connections fail, switches stop doing what they are supposed to...it's on my Xmas list to spend some time sorting it out!

My friend has lost 15GB of sensor data because of corrupted MariaDB on his HA instance after an upgrade. It's definitely not a hands-off system.

I have been using HA for 4 years, no such issues. But even if, restore from backup seems like an easy fix?

Re: Xiaomi Home Integration for Home Assistant

#256

Earlier quoted context omitted.

I'm not buying any device that's not 3, everything else turns into a brick as soon as there's some larger change. I have some older Google Speakers, and while they seemed to be 2, after being powered off for long enough they can't be set up again, not even with internet access since their firmware was also outdated and the app isn't able to set them up again.

Total stab in the dark here, but it could be the local time on the device. Your local clock needs to be relatively close to the actual clock. I've run into this more than a few times with an old Surface Tablet I seldom use. Powered off/battery dead, clock gets out of sync. Power on, cannot get online because everything is TLS/SSL now, even clock sync. Cannot even sync the clock, because of certificate issues. Manuall…

> but it could be the local time on the device. Your local clock needs to be relatively close to the actual clock.

Yes, this is one of those nasty hidden costs that the "just use TLS/SSL for everything, it's easy!" people don't seem to recognize - introducing certificates to the mix suddenly makes your application coupled to wall clock time being in sync with the rest of the world. That is a big step in complexity right there - as everyone who ever had a clock drift couple minutes off the rest of the world, and saw half of the Internet stop working for them.

(And don't get me started on getaddrinfo(), another step function in complexity, hard-coupling even most trivial software to a heap of things that isn't relevant to it at all; or how it all interacts with SSL.)

Re: Xiaomi Home Integration for Home Assistant

#258

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…

I agree that it totally sucks. If you use home assistant, it is mostly to not give control of everything in your home to the cloud of a company. Especially to a Chinese one...

And there is no legitimate reason why control can't be local only, especially when home assistant is there to provide the gateway feature and remote access is needed!

So this action of Xiaomi is just a marketing way to be able to print "compatible with home assistant" on their box despite still forcing to use their cloud!

Re: Xiaomi Home Integration for Home Assistant

#259
post #203

I'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. I will never buy another robot vacuum without Valetudo support as long as that project lives. It's great. https://valetudo.cloud/

Are preflashed Valetudo vacuums a thing? It would absolutely be worth it to me to buy setup and working units.

If it can be done quickly enough that ya only need to charge 20 or 30 bucks, it might be a business model to reflash gizmos like this ?

Re: Xiaomi Home Integration for Home Assistant

#260

Earlier quoted context omitted.

Closest to the first. He's joking that you can't own a Land Rover without being a mechanic and you can't use Home Assistant without being a programmer. I love Home Assistant, and except for the occasional update breaking config files it's been very reliable, but there is no way 95% of people could get it installed, let alone get it set up to do anything useful.

yeah I f'ing love HA, it's my favourite hobby. But as it turns out I'm a programmer so I guess it fits :D HA is only good for normies if there's a techie setting it up and keeping it running.

I have an Apple HomePod Mini (with Matter support), and HA with Homebridge, and every now and then I see evidence in HA of tighter integration. Not sure where it might all end up tho. I'm keeping my fingers crossed that some day it will magically become self-aware and make everything "just work".
Post reply on HN