Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

271–280 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#271

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.

Good microsd cards have write cycle or bytes written estimates in their specs. I usually buy those meant for dashcams since they have a bigger reserve capacity and are decently fast.

Re: Xiaomi Home Integration for Home Assistant

#272

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 was unreliable as f. Conbee lost connection whenever he wanted. HA was way to heavy for modern raspi. Documentation was horrible for all tools and plugins I needed. Many python connectors I found to work with HA in my research before turned out to be outdated and/or only work in specific setups.

As the far majority of my devices is bound to random online APIs anyway, I hacked my own solution back then and today sometimes 'i port' HA plugins using chatgpt :)

Re: Xiaomi Home Integration for Home Assistant

#273
post #146
post #141

Earlier quoted context omitted.

What I wish I had known: HA is just a python program, it's pretty easy to run it manually. After my Pi's sdcard died, I wanted to use an old laptop (more reliable with a built-in backup battery) so I followed the deployment recommendations and used the VM image. After that, for the first time I started having problems with HA not running - because VirtualBox would run only about a month before crashing. And I didn't…

Just use Docker?

USB passthrough for docker (and LVM) is a massive pain. Avoid if you're just starting out. VMs or physical deployments are much more straight forward.

Re: Xiaomi Home Integration for Home Assistant

#274
post #218

Earlier quoted context omitted.

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.

HAOS uses docker to containerize everything, so it can’t be that difficult, and it really is not. Docker has a —-device flag for this purpose, udev makes it easy enough to assign stable names.

Trust me it's not worth the effort to get USB passthrough for HAOS on Docker.

Re: Xiaomi Home Integration for Home Assistant

#275

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 am running HA with Conbee II using zigbee2mqtt in docker, and it is very stable and easy to use. However the Conbee II stick needs to left at an older version of firmware. The most recent updates of Conbee II firmware are unstable.

"Warning: Conbee 2 firmware versions newer than 0x26580700 will result in an unstable network with devices dropping randomly, see Issue 9554" https://www.zigbee2mqtt.io/guide/adapters/deconz.html

Re: Xiaomi Home Integration for Home Assistant

#276

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.

Instead of an error-prone SD card, use an SSD (internal, external doesn't matter).

OR create frequent backups that are pushed to a better medium.

Re: Xiaomi Home Integration for Home Assistant

#277

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…

As far as hardware, you can just get https://www.home-assistant.io/green (plus https://www.home-assistant.io/connectzbt1/ if you need Zigbee and Matter).

Or get an ODROID! Much more powerful for (nearly) the same price.

Re: Xiaomi Home Integration for Home Assistant

#278
post #203

Earlier quoted context omitted.

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 ?

You mean exploiting FOSS for personal profit would be a business model?

Yes, yes most definitely it would be.

We see that all the time in the world. Extract money with the easy tasks and leave the hard stuff (actually building things, long-term support, you name it) to "someone else". And it's perfectly legal too; Just a shameful thing to do.

privatize profits, socialize costs

Post reply on HN