Live data from Hacker News

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

github.com

21–30 of 98 posts

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

#22
post #20

Earlier quoted context omitted.

What type of AC / Heating does your home have? Are those two knobs in the photo the central climate control?

Hello. I have a Panasonic AC, that I'm controlling via IR LED Diode (see schematics in repo), here is the actual picture of the AC: http://imgur.com/lXHxvWt . I'm also using similar heater: http://gazifikaciya-otoplenie.uslugi.catalog.bg/images/produ... , which I'm controlling via Servo (thermostat) and a central on/off relay. Going to add a video later tonight :)

In your pics I saw what looked like a servo turning your dial. Is that what you mean?

It's a great solution. Most houses in the US have central heating/cooling so the IR remote isn't an option. Although I have seen that style before.

What I want to do is integrate it directly with the system. Here's an example of a Honeywell connector similar to mine.

http://diyhousehelp.com/how-to/honeywell-4-and-5-wire-thermo...

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

#23

anyone know good but cheap WiFi/Bluetooth-enabled adapter(?) for lightbulbs? e.g. so I can use any machine (not just Pi) that supports WiFi/Bluetooth to control (at least on/off) the bulb. so: wall --> adapter --> lightbulb

The Sonoff is a $5 WiFi relay with an embedded ESP8266 that is programmable via Arduino (and several other dev platforms), allowing you to control the relay via HTTP/REST/MQTT/etc.

https://www.itead.cc/sonoff-wifi-wireless-switch.html

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

#24
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 current. I bought a 16-relay board and eventually got it wired up. For someone with little electronics experience, there was a lot to learn. [1] is an attempt before I realized I had to use the relays. Eventually I got it working and used it all summer. With cron, I can schedule things however I want!

The second is a security camera for a vacation rental home, and is not quite done yet. The hardware side was not challenging at all, but I still need to work out how to copy the images up to S3 or a Linode. I'm using MotionEyeOS and it doesn't seem to know how to do that itself. One of the big reasons I went with a Pi is I didn't want to pay or rely on someone else's servers. Also I wanted to avoid the security problems that have been in the news lately. I don't want inbound traffic to my LAN; I'd rather push the video somewhere else.

It took me a long time to figure out worthwhile uses for a Pi. A friend of mine loves using these things for media servers and CI servers and whatnot, but to me it's only satisfying if it's something where you actually need the miniature scale. Also a Pi really hits the sweet spot for me in terms of hardware-vs-software. I'm sure I could have done the first project with an Arduino, but using ssh, cron, and python was really nice.

[1] http://raspberrypi.stackexchange.com/questions/50435/driving...

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

#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/

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

#26
post #20

Earlier quoted context omitted.

What type of AC / Heating does your home have? Are those two knobs in the photo the central climate control?

Hello. I have a Panasonic AC, that I'm controlling via IR LED Diode (see schematics in repo), here is the actual picture of the AC: http://imgur.com/lXHxvWt . I'm also using similar heater: http://gazifikaciya-otoplenie.uslugi.catalog.bg/images/produ... , which I'm controlling via Servo (thermostat) and a central on/off relay. Going to add a video later tonight :)

Is the relay for your heater controlling the main voltage input or is it controlling at the thermostat connection?

I've been wanting to do something similar with the units in my apartment (they're similar to what you'd see in a hotel window unit). The thermostat and controls are integrated and I can't disassemble to access them, so I either need to build a rig to push the buttons (hard) and turn the temperature dial or just put a relay at the mains and manually set them for AC\Heat depending on season. Adding a relay to the mains seems straightforward, but it's 220v and I don't want to mess up.

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

#27
post #26
post #20

Earlier quoted context omitted.

Hello. I have a Panasonic AC, that I'm controlling via IR LED Diode (see schematics in repo), here is the actual picture of the AC: http://imgur.com/lXHxvWt . I'm also using similar heater: http://gazifikaciya-otoplenie.uslugi.catalog.bg/images/produ... , which I'm controlling via Servo (thermostat) and a central on/off relay. Going to add a video later tonight :)

Is the relay for your heater controlling the main voltage input or is it controlling at the thermostat connection? I've been wanting to do something similar with the units in my apartment (they're similar to what you'd see in a hotel window unit). The thermostat and controls are integrated and I can't disassemble to access them, so I either need to build a rig to push the buttons (hard) and turn the temperature dial…

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...

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

#28

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…

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.

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

#29
post #22
post #20

Earlier quoted context omitted.

Hello. I have a Panasonic AC, that I'm controlling via IR LED Diode (see schematics in repo), here is the actual picture of the AC: http://imgur.com/lXHxvWt . I'm also using similar heater: http://gazifikaciya-otoplenie.uslugi.catalog.bg/images/produ... , which I'm controlling via Servo (thermostat) and a central on/off relay. Going to add a video later tonight :)

In your pics I saw what looked like a servo turning your dial. Is that what you mean? It's a great solution. Most houses in the US have central heating/cooling so the IR remote isn't an option. Although I have seen that style before. What I want to do is integrate it directly with the system. Here's an example of a Honeywell connector similar to mine. http://diyhousehelp.com/how-to/honeywell-4-and-5-wire-thermo...

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

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

#30
post #27
post #26

Earlier quoted context omitted.

Is the relay for your heater controlling the main voltage input or is it controlling at the thermostat connection? I've been wanting to do something similar with the units in my apartment (they're similar to what you'd see in a hotel window unit). The thermostat and controls are integrated and I can't disassemble to access them, so I either need to build a rig to push the buttons (hard) and turn the temperature dial…

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...

Thanks!
Post reply on HN