Live data from Hacker News

Xiaomi Home Integration for Home Assistant

github.com

61–70 of 344 posts

Re: Xiaomi Home Integration for Home Assistant

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

I'm not buying any device that's not 3, everything else turns into a brick as soon as there's some larger change.

I have some older Google Speakers, and while they seemed to be 2, after being powered off for long enough they can't be set up again, not even with internet access since their firmware was also outdated and the app isn't able to set them up again.

Re: Xiaomi Home Integration for Home Assistant

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

I'm curious about what you're issue was finding cameras as, to me, that's the easiest thing to find cloud free since they have a long history of being used in closed networks as POE, onvif cameras long before smart homes were really a thing.

Re: Xiaomi Home Integration for Home Assistant

#63

I have some xiaomi bulbs that used to work until I needed to re-pair them to a new wifi and (unofficial) integration kept asking me for pairing code - which is nowhere to be found. I probably got rid of the boxes where it's supposed to be located. Wonder if there's a workaround for that.

Not familiar with xiaomi bulbs, do they have QR codes on the base?

A few years ago Xiaomi started enforcing region locks to reduce gray market sales, so a bunch of products stopped pairing when app set to wrong region, without indication why. I had to repair my vacuum, air purifier, security cameras on profile with PRC region, and other stuff on profile with Singapore region. Very annoying.

Re: Xiaomi Home Integration for Home Assistant

#64

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…

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.

IIRC Ikea bulbs all use Zigbee so should be pretty safe.

Re: Xiaomi Home Integration for Home Assistant

#65
post #4

Better late than never, I have 3 of their bulbs in the house, and not being able to integrate with HA prevented me from buying more (at least before Matter was announced). I've been using them with Google Home, so the lights weren't automated with HA. I'll try the integration out.

They sold bulbs under various brands. I’ve got some very old ones branded yeelight that work entirely offline with HA.

Tried to rebuy got a different brand and they don’t work offline properly. Bit of a crapshoot

These days I try to buy preflashed tasmota gear. Things like athom.tech

Re: Xiaomi Home Integration for Home Assistant

#66

I have some xiaomi bulbs that used to work until I needed to re-pair them to a new wifi and (unofficial) integration kept asking me for pairing code - which is nowhere to be found. I probably got rid of the boxes where it's supposed to be located. Wonder if there's a workaround for that.

There is python code floating around in github somewhere to grab the codes

Re: Xiaomi Home Integration for Home Assistant

#68

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…

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 about yet another IoT device with probably vulnerable software that we have to put on a VLAN/IoT WiFi network. Zigbee and Z-Wave are also much simpler than WiFi/Bluetooth, so less likely that they are a swiss cheese of vulnerabilities.

Re: Xiaomi Home Integration for Home Assistant

#69

I mean....I guess this is better than not having it, but I'm not personally interested in cloud-only smart integrations. Cloud option? Fantastic! Cloud-only? No thank you.

I don't believe it's completely cloud only, "local control" https://github.com/XiaoMi/ha_xiaomi_home#:~:text=Home%20Inte... sounds quite a bit like non-cloud control?

Could still be behind cloud authentication, though.

Re: Xiaomi Home Integration for Home Assistant

#70

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…

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…

> This is how a lot of home assistant integrations work.

And it how the _current_ integration works. So what are we gaining here? I certainly don't yet have any option for a vacuum that isn't Valetudo.

Post reply on HN