DIY WiFi Sprinkler Controller Software

DIY WiFi Sprinkler Controller using ESP8266 (Part 2)

Welcome to part 2 of my series on my DIY WiFi Sprinkler Controller using ESP8266. Last week I wrote an article on the hardware involved in the project, definitely check it out if you haven’t already. It goes in depth to all the components used. Today’s article will be looking closer at the software of the system. Including the firmware running on the device and the Home Assistant integration.

[Read more…]DIY WiFi Sprinkler Controller using ESP8266 (Part 2)

DIY WiFi Sprinkler Controller

DIY WiFi Sprinkler Controller using ESP8266 (Part 1)

Thinking about getting a smart sprinkler controller for your house? Want completely local control using no cloud services? Today’s article walks through the hardware I used to create my own DIY WiFi sprinkler controller using an ESP8266. I’ll be going over the software portion in part 2 of the series. The goals of the project are:

  • Control my sprinkler system in an automated fashion, but still turn on individual zones manually when needed
  • No reliance on the cloud, should work over local network
  • Be extendable to any number of zones relatively easy
  • Keep the controller simple, keep the scheduling logic on the home automation platform
  • Inexpensive to build, but must be reliable

[Read more…]DIY WiFi Sprinkler Controller using ESP8266 (Part 1)

4 Essential Tips for Improving Your DIY Home Automation Projects

4 Essential Tips for Improving Your DIY Home Automation Project

Home Automation projects are rarely “complete”. They evolve over time. A few weeks ago I posted an article about creating a DIY garage door opener using MicroPython. Since then, I received lots of awesome feedback from the community and improved the design. I’ve summarized the feedback into 4 essential tips for improving your DIY Home Automation project.

  • Use PlatformIO for Build Environment
  • Add temperature and humidity sensors
  • Update your firmware over WiFi using over the air updates
  • Add a heartbeat

Check out the original article on how to create DIY Smart Garage Door Opener if you haven’t already, to get a starting point for this project. These could also be applied to my DIY Bed Presence Detection solution or any other DIY home automation project you’re working on.

[Read more…]4 Essential Tips for Improving Your DIY Home Automation Project

DIY Bed Occupancy Sensor

DIY Bed Presence Detection in Home Assistant

Ever want to create an automation around someone sitting on a chair or laying in bed? Using an ESP8266, load cells, an MQTT broker and Home Assistant you can create a DIY weight sensor attached to your bed to form a smart bed! This that will allow you to detect these events and trigger automations.

While you could use this to accurately measure the weight of something, I’m focused on detecting presence on a piece of furniture. You can use this data to create automations based on where people are currently located in your home.

Some hardware you’ll need:

[Read more…]DIY Bed Presence Detection in Home Assistant

Running MicroPython on ESP8266 NodeMCU

For some upcoming projects, I’m going to make some DIY sensors and switches using the ESP8266 NodeMCU. It’s a pretty cheap board that is based on the ESP8266 which has built-in WiFi. In this post today I’m going to be getting a brand new “ESP8266 NodeMCU” up and running with MicroPython. MicroPython allows you to write microcontroller code using Python instead of using C or the Arduino libraries.

To get started you’ll need:

There are lots of other ESP8266 boards floating around the internet so if you decide to go with a different board I would just ensure it comes with at least 1Mbyte of flash so you can run the full version of MicroPython.

[Read more…]Running MicroPython on ESP8266 NodeMCU