Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

51–60 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#51
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…

I think the launch of Open Home Foundation [0] is a very good sign for the future of Home Assistant.

[0] https://www.openhomefoundation.org/

Re: Xiaomi Home Integration for Home Assistant

#52
post #43

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 landed on a mixture of MQTT and Zigbee communicating devices Almost everything I use is ZigBee, but at first, I used the built-in Zigbee support for it, not realizing what I was missing out on. After a move, I setup everything again, but this time via ZigBee2MQTT instead and the compatibility is miles ahead of the built-in integration. Just a word of advice to others who are using the built-in integration atm,…

I experimented a bit with ZHA (native Zigbee integration) but soon realised I needed something better, and Z2M was that something.

It had all been working wonderfully, until I had a problem recently that meant I had to redo the entire Zigbee setup.

I run HAOS on a VM, with the Zigbee radio being passed through from the host. Recently I wanted to play with Thread so I added a radio and passed it through to the VM as well. All was fine, though I wasn't having a lot of time to experiment and the Thread dongle was connected in an awkward position so I decided to yank it out. At this point all hell broke lose. Z2M wouldn't start, throwing cryptic error messages. After a lot of trial and error, I removed both USB passthroughs, rebooted the VM, shut it down again, re-plugged the Zigbee dongle and re-added the passthrough. At this point the hardware side of things was fine but my Zigbee network was gone. To make it worse, a new one couldn't be initialised because it was trying to use the same ID as the previous one. I had to manually change the ID in the config YAML, restart everything, then re-pair all devices.

I really feel like this stuff should be more resilient to failures. Otherwise, it's pretty good!

Re: Xiaomi Home Integration for Home Assistant

#53

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

In case anyone using a myQ opener comes across this, I feel the need to mention ratgdo which many have found to be a great inexpensive upgrade. https://ratcloud.llc/

I installed a pair of these, and haven't looked back. Yes, there is a little bit of a curve with rewiring your opener, but there is great documentation available, and safety in the fact that if you mess up, your door just won't open. If you snap a picture ahead of time, it's easy to undo. And from there, you can hook it in to Home Assistant or HomeKit and do whatever you want, which is amazing. My Home Assistant notifies me when the door has been open for 5, 10, 30, 60 minutes, as well as if the sensor is obstructed for the same intervals.

Re: Xiaomi Home Integration for Home Assistant

#54
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…

> What I'm missing out on is an (Android) app, and I think that this would be a good reason to think about moving over to HA.

There is! The Home assistant companion - it brings you a lot of functionality in terms of location, notifications, sensors and what not into the HA world.

https://companion.home-assistant.io/

Re: Xiaomi Home Integration for Home Assistant

#55

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/

I've been eyeing Valetudo for a while. I think it's a shame that it doesn't and (according to the author) never will support multiple maps. I don't want to have to buy a separate robot for each floor when I can easily carry it to the next floor when it's done.

Re: Xiaomi Home Integration for Home Assistant

#58

Earlier quoted context omitted.

This is how a lot of home assistant integrations work. Sure, many HA users (self included) try to avoid dependence on cloud services and opt for local only solutions, such as zwave or ZigBee or products that work with local-only wifi. But the nature of the beast is that some devices out there are built to talk only to a cloud service. Having a company start an upstream project is probably a better sign than not havin…

they could pull the plug on their access to cloud service It's happened to me twice. The first time was about seven years ago, when Fiet Electric sent out a software update that deliberately bricked all of its home hubs, and consequentially turned all of the connected smart light bulbs into dumb light bulbs. Speculation on IoT forums at the time was that Fiet failed to properly license some piece of code that was cri…

what's the state of bulbs that don't use apps? I have some from IKEA that get paired to a Bluetooth remote, and it seems pretty good for now but I'm kinda nervous about relying on a device like that.

Re: Xiaomi Home Integration for Home Assistant

#59

Earlier quoted context omitted.

I am looking to install a garage opener and due to meatspace constraints I will probably have to use jackshaft. Jackshafts are predominantly LiftMaster and Chamberlain => the smarts are myQ, which I don't want anywhere near my network. Genie jackshafts seem fine, but Genie's reputation is bad to the point where garage door companies may refuse to work on them. These motors also usually come with the ability to hook u…

Why don’t you want myQ anywhere near your network? Last I saw, 3rd party security analysis has actually been shockingly good. That said they’re rent seeking to use their products, eg $100/yr or thereabouts for Tesla integration.

> Why don’t you want myQ anywhere near your network?

Precisely because they're rent-seeking. I have a wifi-enabled garage door opener that I paid a lot of money for. Why should I have to pay MyQ every month to effectively just let something other than their app or their proprietary switch open the door?

Re: Xiaomi Home Integration for Home Assistant

#60
post #29

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

If you’ve got a spare garage remote control, a raspberry pi or Arduino board, a soldering iron, an optocoupler, and a sense of adventure, you can easily integrate your existing garage door opener into Home Assistant or what have you. In fact, the Arduino starter kit comes with a few optocouplers and instructions for basically exactly this project! Or you can get a tube of a dozen 4N25 optocouplers for like $8 on amaz…

> If you’ve got a spare garage remote control, a raspberry pi or Arduino board, a soldering iron, an optocoupler, and a sense of adventure,

You just excluded 99.9% of smart home product customers.

Post reply on HN