ESP8266 – Switch automatically between 2 access points

Overview Sometimes it is necessary to switch the ESP8266’s connection between two WiFi access points. For example if you have a second AP in your house as a backup if your main AP fails. In my case I stumbled over a connectivity problem with my ESP8266 devices. On my lot I needed to have 2 WiFi access points, because the WiFi modem/router I got from my ISP has a really lousy WiFi range (internal antenna). So I added a second

Read more

ESP8266 – WiFi controlled light

In home control systems you often need a simple remote controllable relay. Just to switch on or off some lights or appliances. Here is my solution where I used an ESP8266 to control a relay over TCP socket communication. It is a real simple and easy to build system, but special care has to be taken here, because we are dealing with 220V or 110V, depending on the region you live. In hardware description below I show the two option,

Read more

My Home Control System – Devices, tasks and communication

After talking about the basics of a server-less system, it is time to show the architecture of my system. To see the code used send the  UDP broadcast, read this post. For the code for the TCP communication, read this post. At the moment I have the following devices in the system: Solar panel monitoring – Arduino Yun Front yard security device – ESP8266 CCTV still camera – ESP8266 Back yard security device – ESP8266 Bedroom light switch and dimmer

Read more

ESP8266 – WiFi controlled aircon remote

How to use an ESP8266 as a remote control for aircons (and maybe other appliances). In my other post Solar panel monitoring I shared my small project to monitor the production of our solar panels. As we have to be very careful not to produce more energy than we consume, the next logical step is to automatically switch on appliances in the case of energy over-production. This post is about my small project to automatically switch on the aircon if enough energy

Read more

ESP8266 – Google Cloud Messaging without external server

I was looking into a solution to send push notifications from an ESP8266 module to an Android application. I know that this is possible with the Google Cloud Messaging service. But what I found on the internet is using an external webserver, able to run PHP (or Python) scripts and using a MySQL server to store registration IDs. So the information flow looks like: The developer opens a project in the Google Developer Console, gets an API key and uses this

Read more
Free Link Directory