Live data from Hacker News

Home Assistant is an open-source home automation platform running on Python 3

home-assistant.io

31–40 of 178 posts

Re: Home Assistant is an open-source home automation platform running on Python 3

#31
post #25
post #22

Earlier quoted context omitted.

Hey Baloob. I watched you talk at PyCon. How have your experiences been since you switched to asyncio?

asyncio is amazing. It has been way faster and more predictable. Home Assistant has a lot of small tasks running all the time with the occasional task taking a long time (ie. trying to reach a device which has been turned off). The number of tasks running simultaneously used to be limited by the size of the thread worker pool, which is no longer the case. A request taking a long time is now just a coroutine pending r…

this would be another great talk.. consider! :)

Re: Home Assistant is an open-source home automation platform running on Python 3

#32
post #5

How does it compare to OpenHAB 2, other than the language (OpenHAB is written in Java)? I'm currently running OpenHAB and it's rock solid (I have one with >2 years uptime on a BananaPI). If I want to extend it, I usually write Python scripts that either use OpenHAB HTTP API or send MQTT messages, so I've not yet felt the need to write Java code. While I'm proficient with Java, I'd have to set up a development environ…

> The Home Assistant community appears to be more active (about 2x) and the barrier for entry is much lower. I would go so far as to say Home Assistant is literally the best open source community out there today. Very active, lots of folks happy to help users with issues, and lots of devs happy to help newer devs through the PR process.

Having contributed to a number of projects via github, this is not true at all. I have had prs closed within minutes with curt replies. That is not how you “help newer devs through a PR process.” In another case this happened for a very clear bug. I’m cool with making amendments but maintainers do not seem open to that often, feeling more content to close things because they see the fix as a “hack”. Compared to other projects HASS is one of the worst I have dealt with, sorry to say.

Re: Home Assistant is an open-source home automation platform running on Python 3

#33
Reasonable satisfied user here. I love python and even contributed support for one particular device to a component library.

But my plan for the next free weekend is to look into Node-RED and a fully MQTT based system. I feel like that's the way to mix and match different frontends, automations, components etc.

Re: Home Assistant is an open-source home automation platform running on Python 3

#34
post #14

I'm a co-founder of Snips https://snips.ai , we are building a 100% on-device Voice AI platform which protects your privacy as it does not rely on sending voice on servers like Google and Apple do You can use the platform for free (we will also open-source over time), it can run on Raspberry 3 and we added an integration with the amazing Home Assistant: https://home-assistant.io/components/snips

> which protects your privacy as it does not rely on sending voice on servers like Google and Apple do And on your website: > The First On-Device Voice Platform Android already has on-device voice recognition. Just try getting in airplane mode and saying "OK Google, play music" or something that does not require being online.

Can apps/services hook into that?

Re: Home Assistant is an open-source home automation platform running on Python 3

#35
post #12

Founder of Home Assistant here. If anyone has any questions, let me know! Besides being able to install it as a Python package on Python 3, you can also install it using our Hass.io OS. Based on ResinOS and powered by Docker, it offers over the air updates and management of your device via the user interface: https://home-assistant.io/hassio/

Hass.io? In case you don't know, hass means hatred in German.

Yep, unfortunate naming...

Re: Home Assistant is an open-source home automation platform running on Python 3

#36
For people interested in the tech stack:

Backend is Python 3 with asyncio. Source: https://github.com/home-assistant/home-assistant - License: Apache 2

Frontend is a PWA powered by Polymer 2 Source: https://github.com/home-assistant/home-assistant-polymer - License: Apache 2 - Demo: https://home-assistant.io/demo/

Re: Home Assistant is an open-source home automation platform running on Python 3

#37
One of the best things of HA is the Emulated Hue Bridge. It allows you the mapping of any kind of Hardware on the corresponding Hue Device. It basically translates e.g. MQTT to Hue. This nicely allowed it to me to integrate my custom built devices in my Home Automation and control them with Amazons Echo Dot.

Re: Home Assistant is an open-source home automation platform running on Python 3

#38
This thing seems to be mostly an interface for other home automation devices. In the demo, it doesn't directly control anything important. It's not like there are motor control relays connected to the Raspberry Pi's GPIO ports.

A big question is how this fails. It needs to fail into some safe condition. Raspberry Pi machines have a full Linux and no stall timer, so they can end up crashed or hung. If this thing turns devices on and is relied on to turn them off, that's a problem.

Re: Home Assistant is an open-source home automation platform running on Python 3

#39
post #20
post #13

Earlier quoted context omitted.

Founder? Is this for-profit? If so, how you gonna make money? Edit: glad to see the project on Github is APACHE licensed. Any drawbacks from using the software compiled str8 from Github as opposed to downloading the binary blob from the website?

It is not for-profit. We will soon start a program for people to support the project. The published version of Home Assistant is 100% what is on GitHub. Home automation is able to gather very private details of your house. It knows when you're home, what TV shows you watch, when you go to sleep. We keep all this data locally in your house, without the cloud. We want to make sure that anyone can check and influence th…

[deleted]

Re: Home Assistant is an open-source home automation platform running on Python 3

#40
post #14

I'm a co-founder of Snips https://snips.ai , we are building a 100% on-device Voice AI platform which protects your privacy as it does not rely on sending voice on servers like Google and Apple do You can use the platform for free (we will also open-source over time), it can run on Raspberry 3 and we added an integration with the amazing Home Assistant: https://home-assistant.io/components/snips

> which protects your privacy as it does not rely on sending voice on servers like Google and Apple do And on your website: > The First On-Device Voice Platform Android already has on-device voice recognition. Just try getting in airplane mode and saying "OK Google, play music" or something that does not require being online.

Sure, but the Google platform is still in the cloud.
Post reply on HN