Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

81–90 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

#81
Meanwhile MyQ “closed” their API and broke all HA integration because it “cost” the company too much. Where in reality, they just wanted people to use their app since they started serving ads. Say what you want about China and the security implications but a lot of their IoT companies are way more opened than our US counterparts.

Re: Xiaomi Home Integration for Home Assistant

#82

Earlier quoted context omitted.

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…

I completely agree with the grandparent. This is all avoided by using Zigbee or Z-Wave devices. All our smart lights are Hue. If they decide to stop supporting it, they can be controlled with the Samsung/Aeotec SmartThings Hub, Home Assistant, Zigbee2MQTT, or whatever you please. Similarly, our smart plugs are also Zigbee and we use a couple of Aeotec Z-Wave temperature/humidity sensors. Best of all, less worries abo…

With hue there is still potential risk of a lockin with their hue app. They allow it still, because their sales are not really good. But otherwise they might have restricted it.

Re: Xiaomi Home Integration for Home Assistant

#83
post #40

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

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

Re: Xiaomi Home Integration for Home Assistant

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

There is an app that is basically a wrapper arround the mobile version of HA. But it works quite well. The dashboards of HA are responsive and there is no need for a native version.

Re: Xiaomi Home Integration for Home Assistant

#85
post #73

Earlier quoted context omitted.

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.

Some robots support restoring map snapshots. I wonder what's stopping people from using this as a multi floor implementation?

I use a fork [1] of Valetudo and it lets me do just this. I save one map per floor, then restore when carrying it between floors. One floor gets cleaned much more often, but so far I have preferred this over buying two robots.

[1] https://github.com/rand256/valetudo

Re: Xiaomi Home Integration for Home Assistant

#86
post #60
post #29

Earlier quoted context omitted.

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.

Yes, well, but here at HN, hopefully we’ve got the 0.1% in attendance!

Re: Xiaomi Home Integration for Home Assistant

#87

Earlier quoted context omitted.

I wish FEIT devices were compatible. I've seen their smart bulbs at costco for as low as $2.50/ea.

There's a reason Feit is so cheap.

People have had success flashing custom firmware in the past, so hardware wise they are compatible.

Re: Xiaomi Home Integration for Home Assistant

#88

Earlier quoted context omitted.

Not sure how it works with a jackshaft vs. the more traditional residential opener, but ratgdo can speak the myQ protocol and control it from mqtt or home assistant. I have it working with my Chamberlain opener as do many others.

Besides the questionable rent-seeking behavior from myQ: * I don't want to use an integration that needs a round-trip through the cloud to work. Long-term changes are inevitable (company goes out of business, randomly changes API, etc.) * I fundamentally do not like Amazon Key integration. It gives someone else control over my security hardware which makes me very uncomfortable. I am not sure if it's opt-in or out, b…

Ratgdo doesn't go through the cloud. It's a separate board. You wire it into the opener the same way would a button, and it speaks the serial protocol that a myQ enabled button or console would use. Then it can speak MQTT over wifi.

I never paired my opener with any app nor do I have it on WiFi.

Re: Xiaomi Home Integration for Home Assistant

#89
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 migrate to other solution if that does not end up to be the best choice.

Make sure you get the latest Zigbee radio dongle the HA Forum recommends. I use in all my HA installs a combination dongle for Zigbee & Z-Wave and it works flawlessly (NORTEK Quickstick Combo).

Start with a few cheap Zigbee devices. Stay away from WiFi, LoRaWAN and other solutions. Z-Wave devices are great, but more expensive. You know you do not know if you even want to do this.

Initially, just use the built-in Zigbee (ZHA) integrations. Once you are comfortable deploying other ways, like MQTT can be established easily.

Do not spend too much on the devices now. I suggest you pick up a PIR motion sensors, door & window opening sensors, temperature & humidity sensors, smart plugs, and light bulbs. Anything else is overkill to try out. Sub-tip: all of these are battery operated, so try to consolidate on a standard battery. The ones I listed can all run off of 2032 cell batteries. Ikea sells most of these, Aqara is well known, and so on. If it is Zigbee (not Matter) you will have 96% chance it will work with HA.

Have fun!

Post reply on HN