News for hackers. Stuff that matters.
Re:Philips Hue blocks 3rd party lights by xutopia on Monday December 14, 2015 @03:54PM (#10733773)
So what would you recommend we use instead?
Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @04:19PM (#10733952)
I would strongly recommend that any home automation device you buy has a direct method that it can be interfaced with and programmed in a local way. If a device is only programmable by a web API, rule it out.

You may also wish to consider looking for devices which are based on a switch, rather than a bulb. Controllable bulbs do not play nice with the state of physical light switches, and in the case of multi-bulb fixtures, bulb solutions may be excessively expensive. Meanwhile, a smart switch plays nice with physical users and can control as many bulbs as you want.

Re:Philips Hue blocks 3rd party lights by gregmac on Monday December 14, 2015 @04:39PM (#10734127)
I never understood the desire to control lights without using a wall switch. I say this having had X10 and later Insteon installations in 3 different houses over the past 10 years.

Even today, I have the ability to control nearly all the lights on the main floor of my house with an app on my phone. I actually use this feature maybe once or twice a year, being generous. Even if my phone is on me and already unlocked (due to being in my house), I have to pull it out, swipe the screen, launch an app, wait for it to load, then find the lights I want and click to turn on. Or I can press the switch on the wall next to me.

Or, even better, a timer/motion sensor has already turned on the light for me and I don't even have to think about it. This is what real home automation is all about.

Re:Philips Hue blocks 3rd party lights by egypturnash on Monday December 14, 2015 @06:29PM (#10734775)
It's not so much a desire as a work-around for the fact that smart bulbs need a trickle of power 24-7 so they can respond to external messages from timers/sensors/etc. The wall switch has to stay on, so you need to kludge up some other way to control it.

These kludges are slowly getting better: maybe you can get a menu bar app so you can control your lights from the computer, maybe your phone/tablet light app can stick some buttons in an Android widget or in the iOS notifications pulldown, there are even people trying to make switches that you can stick over the normal switches and hit to trigger light changes without having to hire/be an electrician who can replace the switches.

Re:Philips Hue blocks 3rd party lights by odbol on Monday December 14, 2015 @08:46PM (#10735429)
Tappur does exactly that: http://tappur.co

It's a widget in your notifications bar and your lock screen with buttons for remote control. Also has a smartwatch app. I use it all the time and it's so much faster than the official Hue app.

Re:Philips Hue blocks 3rd party lights by egypturnash on Monday December 14, 2015 @09:00PM (#10735468)
I use the LIFX bulbs myself (such better greens and blues!); their iOS app has a notification widget. And a watch UI as well.

And I wrote a little app that lives in my Mac's menu bar and lets me pick from the scenes I set up in the official app, too, someday I should actually package it up properly. (https://github.com/egypturnash/weatherlight)

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @04:48PM (#10734177)
I certainly use remote activation when I'm not home, for instance, I have cameras so I can check on my pets, and I turn on the lights so I can see better when it's dark. (They're infrared cams, but that's questionably useful sometimes.)

But yeah, 90% of the time, if I am turning on a light, I'm hitting the physical switch. So a bulb that is ignorant of my switch's position isn't a lot of use to me. Because if I want to turn that bulb on... my switch is probably already off. And the bulb can't work if the physical switch is off.

Re:Philips Hue blocks 3rd party lights by wvenable on Monday December 14, 2015 @04:48PM (#10734176)
I bought some bulbs to create a light alarm -- automatic wake up by slowing increasing the light in the room (and nice soft coloring too). I actually use the wall switch to turn them off an on the rest of the time.

I might get some more bulbs (mi.light) if I start finding more uses but for now it seems pretty niche.

Re:Philips Hue blocks 3rd party lights by detaro on Monday December 14, 2015 @05:44PM (#10734578)
> Or, even better, a timer/motion sensor has already turned on the light for me and I don't even have to think about it. This is what real home automation is all about.

And doesn't involve a wall switch.

Of course, a fully integrated system with switch/dimmer modules in the electrical system is nice, but not really an option in many situations (e.g. renters). Control purely by a phone is certainly not ideal, but is a simplest useable solution you can build on, with additional hardware, apps for special functions, ...

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @05:46PM (#10734594)
Why? It's pretty easy to swap out a light switch when you move in, and put it back when you move out, without causing any real 'damage' to the unit.
Re:Philips Hue blocks 3rd party lights by detaro on Monday December 14, 2015 @05:50PM (#10734604)
All electrical work in the unit has to be done by someone legally qualified to do so (I'm not) and it is not worth getting a bill for a "proper" electrician to fix it for. Also only work for one lamp per room (that already has a light switch) and doesn't do any fancy new color-control features. Everything else needs additional modules and wireless controls anyways, so why do it differently for this one case?

Exchanging batteries in additional lightswitches seems stupid, but doesn't happen THAT often. You can add them if you want them, others make do with the phone and maybe NFC tags or other tricks.

Sure, if I owned the place or would be staying here for many years it might be worth it, but not yet.

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @06:02PM (#10734665)
I kinda wanna know how many people actually get asked to show proof the electrical work of shutting off the power, unscrewing wires from a light switch, and screwing them back onto a new light switch, was done by a licensed professional. I get you probably don't want someone running new wiring around a place who doesn't know what they're doing, but changing out light switches isn't substantially more difficult than changing a light bulb.
Re:Philips Hue blocks 3rd party lights by detaro on Monday December 14, 2015 @06:40PM (#10734828)
I really depends on the situation (Here it certainly would be noticed and questioned), but that really wasn't the main point I wanted to make. I was more going after your argument that true home automation isn't flipping switches: a principle I very much agree with, and in my experience various wireless systems make setting that up relatively easy. Because it is linked to a computer for more complex features, and you can move stuff around within seconds. Just because some of these systems come as only a bridge and a smartphone app doesn't mean that's how people actually use it, as far as I can see. But many start with just a fancy colorful lamp as an effect, which works fine with just the app, and then comes integrating it with the TV, and the alarm, and ...

These basic sets require very low effort to get started, and THEN people are interested.

I hope I got my point across better now, it's kinda late here.

Re:Philips Hue blocks 3rd party lights by TeMPOraL on Monday December 14, 2015 @06:26PM (#10734756)
In case of renting an apartment, you risk getting in trouble with your landlord. Given how hostile landlord-tenant relationships can be, non-invasive solutions may be desirable to some.
Re:Philips Hue blocks 3rd party lights by rblatz on Monday December 14, 2015 @10:04PM (#10735639)
I've installed my Nest in 3 separate apartments, installed a fan in another, rewired an outlet so only one outlet was switched, and replaced multiple outlets with zwave outlets and no maintenance guys or landlords have said anything.
Re:Philips Hue blocks 3rd party lights by fixermark on Monday December 14, 2015 @04:27PM (#10734018)
Any recommendations for your favorite smart switch?

I installed a few INSTEONS in my house and got bit badly when they just stopped communicating. The most frustrating thing is that there's no diagnostic tool, so I can't tell if the switches are broken or if their signals are getting sent but aren't understood by intended recipients.

Next time I get deeply into home automation, I'll make sure to use a kit that includes tools for sensing wifi signal and diagnosing bad connections.

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @04:36PM (#10734095)
I am using INSTEON myself. The bite there is that they :are: proprietary, though the PLM is openly programmable (I'm writing my own INSTEON controller) and not reliant on a web API of any kind. They can't disable functionality on me. I haven't had a bad experience :yet:, but I'd jump on a good open protocol with the same type of functionality. (RF/powerline dual-band is a huge perk, IMHO, and I prefer the non-use of Wi-Fi/Bluetooth.)
Re:Philips Hue blocks 3rd party lights by CrazedGeek on Monday December 14, 2015 @03:59PM (#10733807)
If the important part of the bulbs to you is the remote control (and not the color changing part), any generic ZigBee Light Link or Z-Wave light bulb paired with a home automation hub (like Wink or SmartThings) will work fine.
Re:Philips Hue blocks 3rd party lights by jevinskie on Monday December 14, 2015 @07:21PM (#10735046)
The Wink hub (at least the current generation), is permanently rootable thanks to a flash-ROM uboot glitching trick. I have one but haven't bothered to root it yet. My goal is to use it for ZigBee wardriving. :)

DerbyCon presentation by Crypt0s: https://www.youtube.com/watch?v=Bl4PdLQW-8I

Re:Philips Hue blocks 3rd party lights by on_and_off on Monday December 14, 2015 @06:22PM (#10734744)
I can only recommend you not to buy LIFX bulbs.

I have one and it has been widely unreliable from day one.

It does not default to on when you use the light switch, so you always have to use the app to interact with it. Half the time, the app fails to detect it. The rest of the time, it can take random amounts of time for it to respond.

It also likes to randomly light up red in the middle of the night or to flicker very rapidly (absolutely unbearable).

I have just removed it and replaced with a dumb light.

Re:Philips Hue blocks 3rd party lights by timothyb89 on Monday December 14, 2015 @11:49PM (#10735999)
Bulb detection used to be a big frustration for me as well, but they've 100% resolved my issues with it in the latest firmware update (now a few months old). I'd previously had issues with detection after power-on since WiFi would take ages to connect, but now its down to a pretty impressive 5-6 seconds from cold start and is far more reliable.

Random color changes or flickering sounds like a defective bulb, I'm sure they'd replace it for you if you contacted them.

Re:Philips Hue blocks 3rd party lights by on_and_off on Tuesday December 15, 2015 @04:43AM (#10736803)
maybe they have corrected it in an ulterior hardware/software revision, I have the Kickstarter version and judging from the comments at that time it was at least a widespread issue.

I am not really willing to throw more money their way though.

Re:Philips Hue blocks 3rd party lights by aktive0 on Monday December 14, 2015 @08:54PM (#10735454)
I have LIFX bulbs and do not experience this issue at all. In fact, if I've turned the bulb off via software, I can flick the physical switch off, then on and the bulb comes on. Their app is amazing and they are constantly adding new features and have a great api to boot.
Re:Philips Hue blocks 3rd party lights by CaptSpify on Monday December 14, 2015 @04:22PM (#10733971)
I personally use these: http://www.amazon.com/Mi-Light-Dual-Color-Dimmable-Light/dp/... as they have an open api. I'd love to see a real open-source one though
Re:Philips Hue blocks 3rd party lights by rosser on Monday December 14, 2015 @04:38PM (#10734118)
I recently bought a pile of these:

https://www.indiegogo.com/projects/world-s-most-affordable-w...

They're much less expensive than Hue, support IFTTT integration, and seem to be much more open in spirit than Philips' offering.

Re:Philips Hue blocks 3rd party lights by odbol on Monday December 14, 2015 @08:42PM (#10735416)
It seems a little disingenuous to recommend a product that hasn't even shipped yet. You have no idea if they work, or if they'll even be built.
Re:Philips Hue blocks 3rd party lights by rlpb on Monday December 14, 2015 @04:39PM (#10734126)
I've been looking into this but haven't committed to buying anything yet.

Insteon doesn't seem well enough documented for third party controller implementations to me, although there are third party controllers available.

Z-Wave (distinctively different from Zigbee) are the main contender for me right now. They seem to have the most interoperability but it is still a closed protocol in that documentation isn't freely available. But access higher up in the stack does seem easier. It looks like I'll be able to act as a controller, rather than being forced to talk to one.

I like Insteon's dual signaling and bridging capability (between radio and signaling through the mains) but it has very limited security and it looks tricky for me to put a controller together myself (which as a developer is my test for openness).

X10 (supported by Insteon devices) has no security and is quite limited, so I don't want to invest in that now.

Re:Philips Hue blocks 3rd party lights by roel_v on Monday December 14, 2015 @05:37PM (#10734542)
Zwave works great. Ppl harp on it because it's not 'open' - yet there is an open source interface library, products from dozens of vendors interoperate great, there are many choices in software to drive it (open source and commercial with more features). Meanwhile the 'open' alternatives like zigbee don't interoperate at all (in practise), and that is if you can buy products that use it at all; and now there is this hue debacle. I never got what people like about hue at all; is it that they are just screw in and don't need further setup? Home automation is so much more than turning the lights on and off with your phone. That's trivial. It was clear from the start that hue would be very narrow in application. (I'll admit though that using lights to follow what's on the tv is cool, and not available in any other system I know of)
Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @05:05PM (#10734312)
INSTEON documentation is actually somewhat decent. But fragmented. There's some great third party software, there's some great third party hardware. The thing that excited me into building my own INSTEON controller, is that you can directly control a light with about 20 lines of VB .NET code: http://madreporite.com/insteon/plm_basics.html

Since I've been so unhappy with home automation software I've found, not doing exactly what I want, I've started building my own in VB .NET. The basics, plus what I specifically want it to do.

X10 is outright terrible. It was designed before nearly as much signal interference existed on powerline, so now you need tons of phase couplers and filters to get a good signal. INSTEON's mesh network (and dual-band powerline/RF) jumps signal issues far better. INSTEON's newer devices also drop support for X10, FYI.

Re:Philips Hue blocks 3rd party lights by rlpb on Monday December 14, 2015 @05:23PM (#10734439)
> INSTEON documentation is actually somewhat decent. But fragmented.

Any help, please? For example, let's say that I want to buy a USB interface (for a controller), a motion sensor, and a light switch (eg. a micro dimmer). I want to plug the USB interface into a modern Linux distribution and speak to it to read motion and the switch and control the light (and configure the switch to operate the light directly without the controller).

Where do I find documentation on:

* What drivers I'll need for the USB interface to get to something I can talk to from userspace, whether this is Free Software, whether I'll need external drivers or not and where I might get these.

* The protocol to speak to the USB interface from userspace.

* The protocol to speak to each of the devices over the interface.

I've spent hours looking, and I only feel that I have half the answers. For example the dimmer is documented at http://www.insteon.com/developer/#devdocs but the motion sensor is not. And I still have no idea about the USB end.

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @05:40PM (#10734558)
I haven't tried to run the USB interface off of Linux, but I know they're supported pretty commonly, Mister House is a popular open source project that supports INSTEON on Linux. INSTEON PLMs like the 2413U are basically straight up USB-to-serial adapters, I think they might be supported directly in the Linux kernel, but I'm not positive.

The madreporite.com site I provided above has some decent documentation on device IDs and commands for a lot of devices. And as you can see from the link I provided, communication with the devices is generally pretty simple, 8 or 21 bytes sent over a serial connection, that can be written in a few lines of code. Receiving is a bit more complicated, but he provides sample code for that as well.

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @05:43PM (#10734573)
In my code development, I've definitely found some fun cases. i2cs (newer protocol) devices require a checksum, and they respond a bit differently in some cases. So for instance, my code that does a Product Data Request to get the model info for a device isn't working for i2cs devices right now. I'm still working on that, probably tonight.

I'd think something like Mister House would probably do the sort of simple case you need without figuring out all of the INSTEON protocol.

Re:Philips Hue blocks 3rd party lights by rlpb on Monday December 14, 2015 @09:42PM (#10735573)
> I'd think something like Mister House would probably do the sort of simple case you need without figuring out all of the INSTEON protocol.

I'm a developer and I want to hook all kinds of things together. I don't need a GUI but would like full programmatic access. The case I have in mind would start off as a few lines of Python, probably using asyncio or something which is really powerful for this kind of thing. I'd prefer to just write a few lines against an API than have to use a framework, deal with maintaining a larger software deployment, etc.

Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Tuesday December 15, 2015 @02:04AM (#10736379)
Well, as I said before, I doubt you'll find many devices easier to control than like 20 lines of Visual Basic (probably less in more concise languages).

But you are right that there are holes in their documentation. The code I'm using does a good job showing unknown commands though, so it's pretty easy to fill in what's missing. I think IoT has a lot worse devices, documentation wise.

Re:Philips Hue blocks 3rd party lights by striking on Monday December 14, 2015 @05:40PM (#10734559)
I would hope that this website helps: http://www.linuxha.com/common/iplcd/
Re:Philips Hue blocks 3rd party lights by rlpb on Monday December 14, 2015 @09:38PM (#10735562)
That page is helpful, but it looks to me that it is mainly from a group of hackers who have reverse engineered things. I'm appreciative of that and would find it really useful had I inherited an existing system. But I don't particularly want to buy into a new system that relies on reverse engineering rather than normative documentation. If I'm going to be spending money and have the luxury of choosing the system to use, I'd prefer a system that is better than that.
Re:Philips Hue blocks 3rd party lights by ocdtrekkie on Monday December 14, 2015 @05:45PM (#10734589)
The worthwhile note there is everything regarding the "PLC" rather than the PLM is too old to work with modern devices. The 2414 is basically not supported by anything anymore. And that page is eight years old, so it's likely missing any content on most of the newer INSTEON devices and protocols.
Re:Philips Hue blocks 3rd party lights by egypturnash on Monday December 14, 2015 @06:16PM (#10734721)
LIFX. $60/bulb, just like the Hues, but they connect via wi-fi so there's no hub needed. Better blues and greens than the Hues, as well.

I've tried them and the Hues. I gave the Hues away to my ex. I've got eight LIFX bulbs in my apartment, and would happily buy more if I was in a bigger place that needed more lighting.

Re:Philips Hue blocks 3rd party lights by kels on Monday December 14, 2015 @04:41PM (#10734144)
I have 12 LIFX bulbs that I really love. No base station needed and it has a local and web API.
Re:Philips Hue blocks 3rd party lights by timothyb89 on Monday December 14, 2015 @05:31PM (#10734501)
Same here, I love mine as well. As a plus, the company seems to be pretty open-source friendly, and they've published official APIs and full protocol documentation over the last few months.
Re:Philips Hue blocks 3rd party lights by dnr on Monday December 14, 2015 @11:45PM (#10735989)
Another vote for Z-Wave. As others have said, the lack of being "open" means that stuff actually interoperates. I'm using a Razberry with an older Raspberry Pi as the controller, and Linear brand in-wall dimmers and lamp modules, plus a motorized drapery system from Somfy.

The software that comes with the Razberry acts as a basic controller, but I wrote my own web front-end that talks to their controller over local http. It's all very customizable, and has been very reliable. (I don't know if there are Z-Wave colored lights, though, mine just dim.)

http://razberry.z-wave.me/

Re:Philips Hue blocks 3rd party lights by gergles on Tuesday December 15, 2015 @11:27AM (#10738654)
Domoticz and OpenZWave are actually way more powerful than Razberry, and I'd highly recommend investigating that so that you don't need to keep updating your own controller. Domoticz also has a pretty good scripting (lua) support built-in, so you can automate stuff in a really simple way.
Re:Philips Hue blocks 3rd party lights by dnr on Wednesday December 16, 2015 @05:35PM (#10747897)
I'm just using razberry as an api to send z-wave commands and occasionally get status updates. I'm writing all my own logic and scripting and stuff in my web front-end (using coffeescript on node). I'm sure I'm duplicating effort, and of course no one will ever reuse my code, but now that I've wrapped the basics of the razberry api, it's easier for me to just code more logic than to learn someone else's framework.

(I'm also integrating a handful of devices I built myself from esp8266's, that communicate over basic http over wifi. I wonder if those could be integrated into one of those frameworks easily?)

Re:Philips Hue blocks 3rd party lights by wvenable on Monday December 14, 2015 @04:24PM (#10733993)
I just bought some Milight compatible bulbs, hub, and remote. It's less advanced and plug-and-play as the Philips system but hacker friendly. I'm currently coding up my own light wake-up alarm system (which is the reason I bought it).
Re:Philips Hue blocks 3rd party lights by pc86 on Monday December 14, 2015 @03:57PM (#10733796)
Apparently Philips Hue bulbs.
Re:Philips Hue blocks 3rd party lights by pjmlp on Monday December 14, 2015 @04:27PM (#10734022)
Normal dumb lamps?
Re:Philips Hue blocks 3rd party lights by mikeash on Monday December 14, 2015 @04:28PM (#10734030)
How about a cheap dumb bulb from Home Depot or similar?