Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

311–320 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#311
post #303

Earlier quoted context omitted.

If you need to store 15GB of sensor data, a MySQL derivate is not what I'd choose

15GB is tiny, db selection doesn't really matter at that small of a scale

Depends.

15GB on an actual server? Peanuts.

15GB MariaDB/Mysql database on a Raspberry Pi SD card? Recipe for disaster.

Re: Xiaomi Home Integration for Home Assistant

#312

Earlier quoted context omitted.

For example Philips Hue is overpriced, I wouldn't call them overpriced (at least not all products), their quality is typically great, you get what you pay for. We have had Hue lights for over 10 years (pretty much every light in our house is Hue) and never had any issues. I think over that period one light broke. And like you said, the integration is great. In our house we have it configured to use both through the H…

Yup. I paid like $40CAD for a single Hue lightbulb in 2017 and it's still going. In that time, I've had countless cheap Canadian Tire brand (NOMA) & Walmart brand LED bulbs burn out and need replacing totaling WAY more than $40. I just looked and they have gotten like 20% more expensive though... that said, their non-smart bulbs are still pretty affordable comparatively.

We have almost two dozen Ikea Tradfri bulbs and they've been great. We had a few older Hue ones too, those never seemed to keep their state across power loss and their light quality was pretty bad given the price, really not impressed.

Re: Xiaomi Home Integration for Home Assistant

#313

Earlier quoted context omitted.

At the other end of the spectrum, I just managed to split up my HA automation files and mount them into a ConfigMap on my K8s cluster https://github.com/shepherdjerred/homelab/tree/main/cdk8s/co...

I assume then, you don’t use HAOS? What benefit do you see by managing your config this way? Do you also have an operator to reload HA when when you update configs?

It’s mostly a fun way to learn Kubernetes for me. I don’t have an operator.

Re: Xiaomi Home Integration for Home Assistant

#314

Earlier quoted context omitted.

Is there a way to unlock the bootloader? (The official ways give cryptic error messages on purpose to keep you distracted until your warranty runs out)

IIRC you'll need to register an account, use their official unlocker, then wait 2 weeks before your device is allowed to be unlocked. It's supposed to be done to hinder 3rd party sellers that flash custom rom with ads on phones they sell.

Yes, that's something like the official process excuse. It doesn't actually work, because their server has been configured to reject all unlocking requests.

Re: Xiaomi Home Integration for Home Assistant

#315

Earlier quoted context omitted.

Can't do with docker or can't do as easily with docker as you can with HAOS? My understanding has been that everything can be done by just adding new containers or files, and it's worked for me thus far.

If you're using things like USB Zigbee dongles, they can be a pain to pass through to the docker container, or just not possible at all on macOS.

I'm doing USB passthrough for Z Wave right now and it's trivial. Just bind a volume to the device file.

Maybe Zigbee is different for some reason?

Re: Xiaomi Home Integration for Home Assistant

#316
post #94

Earlier quoted context omitted.

Everything can fit in group 3, but manufacturers want to steal your data so they try to pretend otherwise.

Not all manufacturers. At AirGradient, all our air quality monitors can completely run local. Our official firmware is on GitHub and people could even flash their own (adjusted) version. We believe this is how IoT devices should be and are very vocal about it. So I think there are a few manufacturers that think different.

Does air gradient have an app or a nice way to view the data on mobile?

Netatmo has a nice app and widgets, but poor integration.

Re: Xiaomi Home Integration for Home Assistant

#317

Earlier quoted context omitted.

I didn't realize they were selling garage door openers for free.

It’s a one time fixed cost. Running a cloud service is not. You very rarely buy a new garage door opener.

That's true.

And when the time does come that I need to buy garage door opener, it won't say Chamberlain on it.

Re: Xiaomi Home Integration for Home Assistant

#318
post #50

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

I've been rolling my own stuff, mostly devices posting to custom python servers, storing data into influxdb and mongodb, triggering other servers on events, and lately also integrating Tasmota devices via MQTT, like the microwave, washing machine, computer monitors, small heating fans and the like. I migrated all Hue devices to zigbee2mqtt and am happy with the flexibility. Initially (7 years ago?) I refused to use H…

Same story here. Everything goes through MQTT, and a single python script has my automation logic. All redeployable via Docker Compose. I never need to worry about updates breaking things, and there’s much less context for me to try to remember.

Home Assistant never “clicked” with me. It makes some hard things easy, but some easy things hard. I just don’t love YAML enough to write logic in config files…

I also hate that HA pushes you to run their whole OS. The docs usually assume you’re running HAOS.

Re: Xiaomi Home Integration for Home Assistant

#319

Earlier quoted context omitted.

That's a fair point, but it's still likely less expensive than replacing your existing opener if you include the cost of an electrician doing the wiring for you.

It's really not hard at all. It probably took 5 minutes to install, with most of the time futzing with the power cable routing so that it looked decent and didn't rub on sharp corners of the opener bracket.

I agree that it's not challenging. I'm just saying that even if someone is intimidated by doing this, it's still probably a relatively inexpensive option even when you include hiring an electrician.

Re: Xiaomi Home Integration for Home Assistant

#320
post #136

Earlier quoted context omitted.

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.

The fact that the engineering effort would be diverted to something that targets a small fraction of a percent of their customer base is a perfectly valid reason to not do it, especially when that engineering effort could be put towards making the product better for the other 99.x% of their customers.
Post reply on HN