WiFi Android temperature sensing, switch sensing, and relay control

WiFi Android temperature sensing, switch sensing, and relay control

Getting to Know Your WiFi Router


Legacy Page Bulletin for WiFi Blind Controller Info

Please note replacement item:

BroadLink® RF-IR Blaster Automation Hub: Need an easy phone app system? Take a look at our affordable blind and shade hub, operated by Android and IOS apps. This RF-IR blaster WiFi hub can "learn" RF radio signals for our blind motors and skylight/window openers, and many other devices. It has the ability to learn IR commands for all your media systems, and it also has IFTTT event triggering (if-this-then-that).

Turn all your old phones and tablets into powerful WiFi home automation controllers!

If you want to take it even further and add support for Alexa®, take a look at the Node-RED visual design system for home automation. Built into the Raspberry Pi operating system, it is a very rapid way to control blinds and build a home automation system that runs on any platform (Raspberry Pi included) and supports literally hundreds of devices, including our blind motors and skylight/window openers via the BroadLink® plug-in.

In the introduction to our 12v WiFi relay control device, we talked about how this unit uses your wifi router to communicate sensing data and to control relay outputs for motors, valves, lights, etc.

The Android app allows you to use any type of Android phone or tablet that has WiFi capability, and we'll show you how to select a vacant IP address for the relay module in this article.

You have to know a little bit about your wifi router in order to set this up properly, but it is not difficult.

Most wifi routers have an 'admin' function that allows you to see what is already attached to the network, and you will use this function to decide what the IP address of your relay controller will be. If you cannot access your admin as per the procedure below, please check your router documentation for more info.

The admin function can normally be accessed by any browser on your wifi network, by typing this address into the address bar at the top of your browser, just as if you were surfing to a website on the web:

http://192.168.1.1 (you don't have to use the http:// part as most browsers handle this for you).

If you have never accessed this before, you may be challenged by a dialog box requesting a username and password, and if you don't know it, you should be able to find the default setup in your router documentation.

If you don't have your router manual, you can usually find it online by searching for your model and brand. Please note that you should always change your username and password from the default settings for security reasons.

Choosing an IP Address For Your Relay Module

Here's a screenshot of our Asus router admin screen, showing a list of 'clients' (ie devices connected to the wifi network, each with a unique IP address). We have perhaps a dozen laptops, half a dozen wifi printers, a bunch of tablets and phones, and several home automation controllers.

Your list may not be as complicated, and your screen will likely look different, but the basic methodology is the same for most routers. Basically, you make sure all your network devices are ON, and you may have to refresh your admin screen if you forgot to switch something on (such as a wifi printer or scanner). Then you would examine the client (device) list to see what IP addresses are not used.

In our list below, we selected 192.168.1.200 as our target IP address that will be assigned to the WiFi relay module.

selecting IP address for Android relay controller

Once you have determined the available IP address that you wish to use, you can assign it to your wifi router using the configuration procedure in the Android app, so that the relays, inputs and temperature readings become addressable, with the information appearing on your Android device screen. We will cover that procedure in the next article.

WiFi controller can be purchased in our online store, click here to view in a new window

PART 1: WiFi Relay Controller - Introduction

PART 2: WiFi Relay Controller - Selecting an available IP address (YOU ARE HERE)

PART 3: WiFi Relay Controller - Assigning an IP address

PART 4: WiFi Relay Controller - Screw Terminal Connections (coming soon)

We sincerely hope you enjoy using these advanced motors; if you have any questions, please feel free to contact us at any time!