Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

261–270 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#261
post #183

Earlier quoted context omitted.

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?

Almost 9 years, actually.

Re: Xiaomi Home Integration for Home Assistant

#263
post #230

Earlier quoted context omitted.

> for Chinese devices, there's no way to disable them. Uh can you stop spreading misinformation? Try google "disable xiaomi ads" it takes you like 5 minutes to make all ads gone on MIUI or HyperOS. Sure the opt-out buttons were hidden deep behind menus for maximizing profit. But be warned, in certain countries you are getting a modified ROM from your local re-seller, in that case some ads can't be disabled and they a…

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.

Re: Xiaomi Home Integration for Home Assistant

#264
post #148

Earlier quoted context omitted.

There are a few things you can't do with docker (my case was an addon that I wanted). The install docs have a good grid of the differences.

I also don’t think Docker can do ARP network interrogation, though I could be wrong about that. Also not sure how it handles mDNS.

I think it can, if you run your Docker containers in host network mode. I run my HA in docker using host mode, and it auto-detects all new devices that pop up on my network.

Re: Xiaomi Home Integration for Home Assistant

#265
post #223

If you are thinking of deploying Home Assistant (HA), let me give you a few tips that 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. All of the following are "for now, as you start out": Do not gyrate over which version of HA to run. Run the HAOS loaded on RasPi, or a dedicated machine. You can m…

Good advice, except that I’d try whenever possible to get AA/AAA devices rather than button cells. Not only do the button cell devices burn through batteries, causing a maintenance headache if you have a non-trivial number of devices, but the rechargeable battery ecosystem is much better developed for AA/AAA. We’re currently working on swapping out all our button cell remotes, especially. Also, the replacement proces…

A battery detection automation really helps with the maintenance (even for AA/AAA): https://community.home-assistant.io/t/low-battery-notificati...

Re: Xiaomi Home Integration for Home Assistant

#266

If you are thinking of deploying Home Assistant (HA), let me give you a few tips that 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. All of the following are "for now, as you start out": Do not gyrate over which version of HA to run. Run the HAOS loaded on RasPi, or a dedicated machine. You can m…

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

Sadly there's no AAA equivalent to the simple old square Tradri 0/1 on/off dimmer switches that use the cr2032 batteries. Those old switches are small enough that I could 3D print brackets to mount them in my standard wall covers. The newer AAA devices are all much bigger or try to do too many things.

Re: Xiaomi Home Integration for Home Assistant

#267

If you are thinking of deploying Home Assistant (HA), let me give you a few tips that 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. All of the following are "for now, as you start out": Do not gyrate over which version of HA to run. Run the HAOS loaded on RasPi, or a dedicated machine. You can m…

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

Also: The IKEA rechargeable LADDA batteries are rebranded Eneloops, confirmed by multiple tests to be virtually identical in capacity and charge retention.

Re: Xiaomi Home Integration for Home Assistant

#268

Is anyone else trying to run HA with deCONZ & Conbee II ? AFAICT the documentation is scattershot and the software is ugly and fickle. OTOH maybe I'm just stupid.

I tried it for a year or so, then I moved everything to zigbee2mqtt and a slae.sh CC2652 stick (https://slae.sh/projects/cc2652/). I had a lot of problems with deCONZ / Conbee II dropping messages and losing devices, forcing me to reset, re-pair and re-configure every few weeks (specifically my Hue lights). The new stick and zigbee2mqtt has been flawless so far (18 months)

Re: Xiaomi Home Integration for Home Assistant

#269
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.

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

Re: Xiaomi Home Integration for Home Assistant

#270

If you are thinking of deploying Home Assistant (HA), let me give you a few tips that 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. All of the following are "for now, as you start out": Do not gyrate over which version of HA to run. Run the HAOS loaded on RasPi, or a dedicated machine. You can m…

Two more important notes:

- Use an MicroSD card that can handle multiple read/write like the purple MicroSD cards. Can also be a benefit with too big card to save some writes, to make the card last longer. Talking about -It’s just Python, Jinja and Sqlite3 at the core. For custom programs I find it easier to write the Python program and then just convert to Jinja syntax.

Post reply on HN