Live data from Hacker News

Ask HN: What is your current pet project?

news.ycombinator.com

31–35 of 35 posts

Re: Ask HN: What is your current pet project?

#31

I'm playing with home automation/control. I integrated "smart" devices from 6 different vendors into a webapp with voice control that I run on wall-mounted tablets throughout the house [1]. From any room, I can say things like "dim the lights", "lock the front door", "turn up the heat" or "launch netflix on the living room TV". And, because I'm a bit of a Trekkie, the computer talks back. [2] 1: http://i.imgur.com/sd…

Any recommendation of which ones were easier to write against? Any APIs/interfaces that stood out?

Re: Ask HN: What is your current pet project?

#32
post #31

I'm playing with home automation/control. I integrated "smart" devices from 6 different vendors into a webapp with voice control that I run on wall-mounted tablets throughout the house [1]. From any room, I can say things like "dim the lights", "lock the front door", "turn up the heat" or "launch netflix on the living room TV". And, because I'm a bit of a Trekkie, the computer talks back. [2] 1: http://i.imgur.com/sd…

Any recommendation of which ones were easier to write against? Any APIs/interfaces that stood out?

None of it's particularly hard. I wrote a node.js server that serves a webpage for the dashboard, and passes messages back and forth between that webpage and the various devices.

Belkin WeMo switches and motion sensors are UPnP. Discovery can be flaky sometimes, otherwise they work well and there's plenty of sample code out there for UPnP and WeMo specifically.

The garage doors are Chamberlain MyQ, a proprietary website/app with no public API, but the website talks to a JSON API that was simple enough to figure out with Chrome's network inspector. I probably wouldn't buy MyQ stuff again if I were starting over just because of how closed it is. They don't want to integrate with anything else.

The Nest thermostat has a JSON API, also unofficial though an official one is in beta testing. There's a node package for that, so plug-and-play for me.

The rest of my stuff is Z-wave (short range 900MHz radio), which you need a hub for, to bridge that network to the home IP network. I got a Vera Lite for that as it's the best hub I found that has no subscription fees, is entirely self-hosted (there's an optional cloud component for remote access and setting backup without configuring your firewall), and exposes a REST API. That was the easiest thing to code against -- to lock/unlock the deadbolt on my front door for example, I just GET a URL with the device ID and command in the query string.

Re: Ask HN: What is your current pet project?

#33
I make this sweet Google Chrome extension for fun in my spare time: http://streamus.com It's a YouTube music player that I find more useful than Spotify b/c it integrates well with the browser. I've put 16 months of nights/weekends into it. It has 14k users, 4.8/5 in the web store and is completely open-source:

https://github.com/MeoMix/StreamusChromeExtension

https://github.com/MeoMix/StreamusWebsite

https://github.com/MeoMix/StreamusServer

I find it fun for a TON of reasons. I'm learning a lot more about programming than I ever had in the past. This is the first time I've ever been super interested in absorbing material because it has a great impact upon me.

I get messages from people all around the world every day saying thanks for the work. That feeling is super rewarding -- more so than a paycheck. I've had to bust out Google Translator to try and decipher messages and hold conversations, had people tell me their dreams of getting to America or even something as simple as just being excited to talk to the developer. It's really great.

Finally, it solves a problem I was having and for that I am stoked! I went from having tons of bookmarks organizing music on YouTube to having a much more friendly interface for storing and listening to the music.

Re: Ask HN: What is your current pet project?

#34
post #31

Earlier quoted context omitted.

Any recommendation of which ones were easier to write against? Any APIs/interfaces that stood out?

None of it's particularly hard. I wrote a node.js server that serves a webpage for the dashboard, and passes messages back and forth between that webpage and the various devices. Belkin WeMo switches and motion sensors are UPnP. Discovery can be flaky sometimes, otherwise they work well and there's plenty of sample code out there for UPnP and WeMo specifically. The garage doors are Chamberlain MyQ, a proprietary webs…

Thanks, that's great info. You have my admiration for that kind of setup!
Post reply on HN