Summary of OH HAI! on Windows 10 IoT Core
Hai is a Raspberry Pi–based smart-home integration platform that optimizes electricity and water use (lighting, HVAC, irrigation). It aggregates weather data, controls devices via microcontrollers and ESP8266 Wi-Fi modules, and supports Raspbian and Windows IoT Core on Raspberry Pi 2. The project includes rain catchment with a bilge pump, float-switch water-level sensing, and an IR blaster for AC units using temperature/humidity sensors to compute real feel.
Parts used in the Hai project:
- Raspberry Pi (Raspbian OS or Windows IoT Core on Pi 2)
- ESP8266 Wi-Fi module
- Arduino (Arduino Nano or ATTiny85)
- DHT22 or DHT11 temperature and humidity sensor
- IR LED or IR blaster components for AC control
- Float switches (series) for water level sensing
- Bilge pump
- Relay to switch bilge pump
- 12V solar-connected battery
- Capacitor for 3.3V surge support
- Gutters and roof catchment hardware (rain collection)
Oh, Hai
Hai (‘hi’) is an integration point for several stand alone smart home technologies. Hai runs on the Raspberry Pi and can be adapted to optimize electricity consumption (lighting/HVAC) and water usage (irrigation/rain collection) in a number of ways. Hai was originally envisioned for any Pi running Raspbian OS, but is also being ported over to utilize the new Windows IoT Core on a Raspberry Pi 2.
The New Normal?
I live in Southern California, where one of the worst droughts in recent memory is currently taking place. Our Summers are typically warm with dry winds, but this year it has been uncharacteristically humid and the evening ocean breeze hasn’t been enough to cool us down. With electricity at 4x the national average ($0.42 per kWh and increasing again next year), I can’t afford to run the AC all day; and now with water rationing, our garden has seen better days.
I don’t know how everyone else is handling this, but I’m going to fix it the only way I know how…with a gratuitous use of technology!
- What platforms does Hai run on?
Hai runs on Raspberry Pi using Raspbian OS and is being ported to Windows IoT Core on Raspberry Pi 2. - How does Hai get weather information?
Hai pulls weather forecasts from the wunderground API using Probability of Precipitation and Quantitative Precipitation Forecast. - Can Hai control irrigation scheduling?
Yes, the Arduino can use a hard coded watering schedule or receive forecasts from Hai via ESP8266 to control irrigation. - What sensors are used for indoor thermal sensing?
DHT22 or DHT11 sensors are used to measure temperature and humidity for real feel calculations. - How is AC controlled in the project?
An IR blaster controlled by an ATTiny85 or Arduino Nano sends commands to point of use AC units, coordinated with sensor data and ESP8266 communication. - How is rainwater collection integrated?
Gutters feed a large reservoir; a bilge pump, controlled by a relay and Arduino, waters drip irrigation and float switches monitor water level. - What powers the field devices and pump?
Field devices and the bilge pump are powered from a 12V solar-connected battery; the ESP8266 is powered from the Arduino 3.3V bus with a capacitor for surge support. - Does the system log and centrally manage devices?
Yes, the ESP8266 allows central management and logging from Hai.

