News for hackers. Stuff that matters.
Re:Home Assistant is an open-source home automation platform... by cardmagic on Saturday October 21, 2017 @04:23PM (#15523441)
Is anyone else here completely confused at how much hype there is around automated light management systems? I don’t get it. Is it really that hard to turn on and off lights manually that people really need all this stuff? What am I not getting?
Re:Home Assistant is an open-source home automation platform... by dbm5 on Saturday October 21, 2017 @04:36PM (#15523500)
While I understand your skepticism, there are a few use cases for which I use HA which would be either painful manually, or would require alternate devices such as timers/etc:

1 - outside lights - various lights which light our home's pathway or areas we prefer to have lit at night come on automatically at sundown and turn off at sun-up.

2 - scenes; with HA, we can click one button - a switch with scene control in our case - and have the lights in the room go to a specific set point, receiver come on, select sonos, and tune in to a particular station - an activity which would conventionally require several manual steps with various input devices.

3 - notifications; with HA, I get notifications when the front door or garage doors are opened/closed.

There are several things I plan to implement:

1 - using presence detection and adjusting temps/lights/etc based upon that

2 - fan control; we are heavy users of ceiling fans, and integrating them into home automation would be a significant upgrade. Haven't found a replacement for our Minka controllers which supports zwave (or anything else).

All of this has been possible for years - usually with single vendor solutions which are very costly; HA integrates nearly all automation platforms into a single system allowing each platform's features to work together relatively seamlessly. It's a moving target, but has become very stable/reliable with recent releases.

Re:Home Assistant is an open-source home automation platform... by alkonaut on Sunday October 22, 2017 @06:36AM (#15526071)
Tried to get a single outside light automated through a z-wave gaget hidden behind the switch. Endless hours later the thing is still either working intermittently or not at all. Even with the nodes in the network right next to each other the network is fragile as hell. I just can't believe how expensive z-wave things can be so much worse than the old 433mhz things that have been around for ages.

I finally gave up and now it's just on (or off) 24/7...

I'm considering giving it another try but I'm not to keen on investing in another tech only to see it fail as miserably as first gen z-wave

Is there no good standard that works over electric lines? Seems it could be so much more reliable and cheap. And every single device already has the wires.

Powerline Ethernet is sketchy with some wiring configurations but you'd think that these minimal bandwidths could be handled in nearly all wiring setups.

Re:Home Assistant is an open-source home automation platform... by iakh on Sunday October 22, 2017 @10:22AM (#15526942)
Z-wave is a mesh network, so the more devices you have the better the connectivity. If you only need a single device, try locating your hub as close to the switch as possible. Otherwise, ironically, the solution may be to invest in more light switches.
Re:Home Assistant is an open-source home automation platform... by alkonaut on Sunday October 22, 2017 @10:35AM (#15527006)
Yes. I considered the distance but before spending more money on switches I don't really need, I figured I'd try with the base next to the switch. Didn't work reliably there either. So I'm not going to dare buying more nodes.

Is there any standard that isnt mesh based? Hub and spoke with lots of power like wifi seems much smarter.

Seems like complete idiocy to use a fragile low power mesh network for something that a) has to have 99.9999 reliability (like lights) and also has unlimited power (2kW+ available at each node!!) like lights.

The reason I went with zwave was because of the need to work behind an existing switch. For sockets it would have been much easier with 433-plugs.

Re:Home Assistant is an open-source home automation platform... by stereo on Monday October 23, 2017 @01:34AM (#15530940)
You’re probably using one of those cheap USB z-wave stick. Attaching it to a USB extension will improve reception significantly. You can also try changing the angle of the stick.
Re:Home Assistant is an open-source home automation platform... by alkonaut on Monday October 23, 2017 @02:07AM (#15531049)
Definitely a regular z-stick yes. I don't think it's the problem though, because it reliably switches an external wall socket plug I use for testing. Just not the recessed switch I need it to manage...

I think the problem is that the switch itself is too weak in signal, and sits built into the wall. The z-stick doesn't reliably switch it even if I have it inches from the switch.

Re:Home Assistant is an open-source home automation platform... by cardmagic on Saturday October 21, 2017 @04:54PM (#15523572)
My Kuna security cameras turn lights on at night and off at sun-up. My Nest already has presence detection and adjusts temps based on that.

More importantly, I didn't buy a Kuna for lights on and off with the sun, nor a Nest for presence detection, so I still don't see these functions as killer apps for HA.

Re:Home Assistant is an open-source home automation platform... by ryukafalz on Saturday October 21, 2017 @07:02PM (#15524085)
Can you use the Nest's presence detection to turn your lights off when there's nobody home?

One of the "killer apps" for HA is connecting different silo'd smart devices.

Re:Home Assistant is an open-source home automation platform... by semi-extrinsic on Saturday October 21, 2017 @05:09PM (#15523639)
My $8 "dumb" LED outdoor bulbs have sunrise/sunset sensors built in...
Re:Home Assistant is an open-source home automation platform... by oh_sigh on Saturday October 21, 2017 @05:44PM (#15523774)
Can you have them turn on 30 mins before sunset?
Re:Home Assistant is an open-source home automation platform... by semi-extrinsic on Sunday October 22, 2017 @04:16AM (#15525723)
There is usually a screw to adjust at what light level they turn on. So I suppose you could hit the 30 min. mark with some trial and error. But why would you?
Re:Home Assistant is an open-source home automation platform... by lttlrck on Saturday October 21, 2017 @09:31PM (#15524636)
You can get an astronomical light switch that replaces the manual light switch that can do that and more based around actual sunrise/sunset time for $30 - it’s a little pricey but they just work.
Re:Home Assistant is an open-source home automation platform... by agentdrtran on Sunday October 22, 2017 @12:30AM (#15525168)
All of my Zigbee stuff 'just works' as well and is under $30/bulb for basic lights.
Re:Home Assistant is an open-source home automation platform... by brewdad on Sunday October 22, 2017 @01:51PM (#15527991)
Yes but I have 4 bulbs outdoors controlled by my $27 switch. Bulbs will fail over time, especially when exposed to the elements and seasonal temperature swings. I can set my lights to turn on off at a fixed time relative to sunset/rise or randomize it +- 30 mins. All with a switch that I bought at a big box store 10 years ago.
Re:Home Assistant is an open-source home automation platform... by zild3d on Saturday October 21, 2017 @06:49PM (#15524043)
that would definitely require them to not be "dumb" anymore.

A simple sunset/sunrise detector can be had from a cheap photo-resistor. 30 minutes prior to sunset sounds like it needs at least a micro controller with a real time clock and a lookup table with sunset times

Re:Home Assistant is an open-source home automation platform... by escapologybb on Sunday October 22, 2017 @09:52AM (#15526827)
I don't mean this to sound snarky, I really don't so please don't take it as such but yes, it is really hard to turn light switches on and off when you are quadriplegic. This software solves that problem completely.

Again, I am not trying to flame you, just telling you how I use it and giving you my reason for using the software.

Have a nice day! :-)

Re:Home Assistant is an open-source home automation platform... by mike-cardwell on Saturday October 21, 2017 @05:44PM (#15523776)
Cron job on my home server starts sending commands over zwave at 6am for about half an hour to slowly increase the brightness of my master bedroom light from 0% to 100% at 1% increments. So when I get up, it's not pitch black, and I don't go from zero to blinding light in one moment. Probably my favourite thing I've done with home automation so far.
Re:Home Assistant is an open-source home automation platform... by vonseel on Saturday October 21, 2017 @06:07PM (#15523884)
Built into the Hue app, but I bet it was fun to code :)
Re:Home Assistant is an open-source home automation platform... by mike-cardwell on Saturday October 21, 2017 @07:37PM (#15524218)
Some basic bash scripting and a cron job.

Can I control a Hue light bulb with some basic bash scripting and a cron job? Can I do it without calling out to some Internet based web service?

Re:Home Assistant is an open-source home automation platform... by a254613e on Sunday October 22, 2017 @01:14AM (#15525271)
Yes.

    curl --request PUT --data '{"on":true}' http://<local bridge ip address>/api/<your api key>/lights/<light id>/state
https://developers.meethue.com/documentation/getting-started
Re:Home Assistant is an open-source home automation platform... by mike-cardwell on Sunday October 22, 2017 @06:09AM (#15525988)
That's good. Does it generate any Internet traffic it all, or is it entirely local?

One thing I noticed from your command: No authentication. Looks like any software on any device on the LAN can control the light. Is that really true?

Re:Home Assistant is an open-source home automation platform... by wrboyce on Sunday October 22, 2017 @07:16AM (#15526220)
You were being offered a slightly simplified example, the Hue bridge does indeed require authentication.

To answer your other question, the bridge can be accessible via the online “meethue” portal for things like easy remote access but I think this is optional.

EDIT: oh, and it’ll generate internet traffic for firmware updates I suppose!

Re:Home Assistant is an open-source home automation platform... by mike-cardwell on Sunday October 22, 2017 @07:39AM (#15526304)
Ok. I'll probably stick with Z-Wave then. Hue doesn't seem to offer anything extra.
Re:Home Assistant is an open-source home automation platform... by cdcarter on Sunday October 22, 2017 @08:36PM (#15529875)
Yes, the Hue hub will expose a local internal REST API where you can easily GET the status of your bulbs and POST updates, and really do anything the Hue app can.

You just curl to your hub and everything...works.

Re:Home Assistant is an open-source home automation platform... by kabes on Saturday October 21, 2017 @04:30PM (#15523480)
Lots of time I'm lying in bed, almost falling asleep and suddenly realizing I left the kitchen light on. In fact, I'm not sure I did. But it doesn't allow me to sleep, so now I need to wake up, check the kitchen for a light that might not even be on. At that moment I'd be willing to pay a lot for a button on my phone to turn off all the lights.
Re:Home Assistant is an open-source home automation platform... by cardmagic on Saturday October 21, 2017 @04:41PM (#15523519)
I have a Roomba and if I don't close my bathroom door at night, it always gets stuck in the bathroom when it goes off in the morning. So every night, I make sure the bathroom door is closed before I go to bed. I would not pay anything for an app that closed my bathroom door. I just make sure I check at night. It still doesn't make sense to me.

Roomba makes sense to me. Sweeping is hard and takes a significant amount of time. Flipping a switch is not hard and takes no time at all.

Re:Home Assistant is an open-source home automation platform... by trumpeta on Saturday October 21, 2017 @04:46PM (#15523539)
One use I like is having the lamp come on gradually about 20 minutes before my alarm in the morning.
Re:Home Assistant is an open-source home automation platform... by cardmagic on Saturday October 21, 2017 @04:55PM (#15523581)
That's cool, I like that one, except the sun does that for me in my case. But if I needed to wake up earlier than the sun, I could see that being useful.
Re:Home Assistant is an open-source home automation platform... by gulperxcx on Saturday October 21, 2017 @05:08PM (#15523636)
That is a pretty cool use case
Re:Home Assistant is an open-source home automation platform... by Programmatic on Sunday October 22, 2017 @12:35PM (#15527580)
I think light switches are an absolutely fantastic UI. You can look at them to determine state, you an interact with them without unlocking a device and when they're placed well you can just "wave your hand" and lights come on.

However, when the light switches aren't well placed it is nice to add a layer of software abstraction between the switch and the light to be able to rearrange existing switches in your home without having to pull new wiring. So you can essentially just keep what you are already doing but make the existing, mature UI even more suited to your needs even if you're skeptical of all of the rest of it.

Re:Home Assistant is an open-source home automation platform... by verylittlemeat on Sunday October 22, 2017 @10:40AM (#15527024)
This might sound crazy but my remote dimming hue lightbulb is probably my favorite purchase all year - more than my 55" 4k tv and new gaming computer.

Light dimming alone is a huge improvement but the ability to start a movie or go to sleep without needing to get up to turn off the light is really great. Believe me I was just as skeptical as many people here.

All the other options I tried before the (admittedly more expensive) hue bulb were either clunky/big or unreliable.

Re:Home Assistant is an open-source home automation platform... by spaginal on Saturday October 21, 2017 @05:27PM (#15523705)
I installed extra lighting temporarily in the corner of my garage/shop. By using a zwave outlet controller, zwave light switch, and Home assistant, in about 10 minutes I could turn those lights on or off with the main lights without having to rewire my garage. When I’m done with my project I can simply take the lights down or move them around the garage without changing any wiring. It’s simple and convenient.
Re:Home Assistant is an open-source home automation platform... by iakh on Sunday October 22, 2017 @10:36AM (#15527010)
Another benefit not already mentioned is home security. Getting some cheap zigbee window/door/presence senors, I was able to completely set up a home security system for < $200 by myself. That's about an order of magnitude less than existing solutions. Granted its a self-monitored solution, you could just as easily pay for a monitoring service afterwards.
Re:Home Assistant is an open-source home automation platform... by nitrogen on Saturday October 21, 2017 @05:56PM (#15523825)
Is your first reaction to anything you don't understand to question its existence? Maybe try to find the value others see first, then you will be better prepared to weigh that value against your own values.
Re:Home Assistant is an open-source home automation platform... by danellis on Saturday October 21, 2017 @07:51PM (#15524265)
> Maybe try to find the value others see first

That is exactly what he's doing.

Re:Home Assistant is an open-source home automation platform... by nitrogen on Sunday October 22, 2017 @01:23PM (#15527846)
No, the questions in the original comment were posed in a clearly dismissive way, in a way trying to get others to join in the dismissal ("Does anybody else..." isn't an honest question, it's a call to action).
Re:Home Assistant is an open-source home automation platform... by foobarbecue on Saturday October 21, 2017 @05:27PM (#15523708)
I don't get why people are all excited about pushing buttons on a machine to write. Is it so hard to carve stuff into a stone tablet? Help me out here.

(Seriously, I use a nanoleaf aurora to make a nice sunrise to wake up to, and it also acts as a clock and part of it lights up red if any of my servers are down. I'm pretty excited about open HA.)

Re:Home Assistant is an open-source home automation platform... by travmatt on Saturday October 21, 2017 @08:18PM (#15524380)
What am I not getting?

How lazy I am once in bed.