Live data from Hacker News

Raspberry Pi 3 based home automation with Node.js and React Native

github.com

91–98 of 98 posts

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#91
post #56
post #25

Cool! I'm doing something similar, but more from the data-analysis side of things for my condo's efficiency. I've been trying to keep a blog of my progress, if anyone is interested, though please forgive the poor grammar / stream-of-consciousness in the posts... I've been writing quickly to get caught up. https://dan-nadler.github.io/

Looks interesting, bookmarked it for later reading :) I noticed that you have sensor in all parts of the house from the images. I wonder how did you solve the wiring issue? I mean I'm looking for a cheap way to connect all sensors, but avoid putting wires everywhere.

Yeah, that's a problem I'm still working on solving.

Initially, I had planned to wire through the basement, but getting through the floor turned out to be a littler more difficult than I had hoped.

At the moment, the wires are run under carpet and behind furniture. I just ordered another Pi (and am looking at cheaper boards) to set up another 'base station' to reduce the amount of wires I need to get full coverage.

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#92
post #47

Cool, working on a similar project, but having a different stack 1. Z-wave switches/outlets/locks - all lamps, receptacles and locks controlled by Vera Edge; 2. DSC alarm system - door/flood sensors, integrated with Vera; 3. Nest cameras - not integrated; 4. Nest thermostat - integrated with Vera and Alexa; Currently trying to integrate Vera and Alexa to have fully voice- controlled home.

[deleted]

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#93
post #47

Cool, working on a similar project, but having a different stack 1. Z-wave switches/outlets/locks - all lamps, receptacles and locks controlled by Vera Edge; 2. DSC alarm system - door/flood sensors, integrated with Vera; 3. Nest cameras - not integrated; 4. Nest thermostat - integrated with Vera and Alexa; Currently trying to integrate Vera and Alexa to have fully voice- controlled home.

If you are somewhat of a "programmer" you can complete that integration using a RPI and a software package called "Home Assistant". They have links between Vera and the Echo along with a TON of other things.

Yes, that's what I'm going to do.

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#94

This looks like a lot of fun! Using a RaspPi is really attractive to me because you can make everything interoperate, and nothing depends on some company's servers. I've done two Pi projects now that I keep meaning to blog about. One was a sprinkler control system. My old system was dying, and not very flexible, so I decided to run everything off a Pi. The tricky part was driving 13 sprinkler lines with 24V AC curren…

Controlling the sprinkler with the Pi is a cool idea!

> The second is a security camera for a vacation rental home, and is not quite done yet.

What is the purpose of the camera?

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#95
post #28

Earlier quoted context omitted.

Having a pi cluster "feels" more like a datacenter with many servers. Using kubernetes to coordinate it all is pretty fun when you actually have several "servers" to coordinate across. That to me was the satisfying part. Not that I NEEDED miniature scale, but that the miniature scale felt like a valid downsizing of real scale.

I've been tempted to do something like this, what are you doing about shared storage?

I have a nas on the network as well. That isn't set up quite like it would be in a real datacenter, but it works for centralizing data

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#96
post #27

Earlier quoted context omitted.

The relay is controlling the main voltage input and it's similar to http://i.ebayimg.com/00/s/NTAwWDUwMA==/z/ZS0AAOSwr81UNgc9/$_... . The relay's function is to act like a central switch. I have also a servo attached to the thermostat and it's only role is to spin the thermostat controller. The servo is similar to http://www.conrad.com/medias/global/ce/2000_2999/2000/2060/2...

You could also look at SSRs, which tend to be easily controllable with logic level outputs on a microcontroller.

Thanks! Will definitely look into them :)

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#97
post #29

Earlier quoted context omitted.

Yes, that's what I meant. Unfortunately, I did not want to disassemble the unit as it would void the warranty.

I'm a bit confused here; looking at the video and pics of your water heater/boiler, the knob the servo is turning looks like it sets the temperature the boiler heats the water to for the central heating loop. This is generally not the thermostat, and once set to a value you are happy with shouldn't need to be adjusted.

Yes, it is not a thermostat, I have similar heater (also Vaillant) and it just sets the temperature of the water in the pipes (generally you set it higher when the outside temperature gets lower, and all the way up when it reaches the minimum at your location).

Re: Raspberry Pi 3 based home automation with Node.js and React Native

#98
post #36

Earlier quoted context omitted.

I literally clicked into the comments here to mention how awesome Home Assistant is at things exactly like this. Glad to see I am not the only happy user / occasional contributor!

Home Assistant has a staggeringly large base of contributors. I think that's in part because there are a ton of individual use cases that spark a contribution, but I think it also speaks to how well Paulus handles contributions.

Couldn't agree more. Also, thanks for fixing the timing attack issues wrt HASS :)
Post reply on HN