05.Settings [ Automation ]



We can control a custom wireless home automation unit by this application.In next posts I'll show you how to prepare the automation unit by using an Arduino & some other modules.In this post I'll show you about the Automation settings.And how can we configure those settings.



As following image  we can control 8 devices by using this application & we can control all the 8 devices by using voice commands.Now I'll show you how to configure those settings.

First I'll show you how to manage/assign voice command for the devices to switch on & switch off.


 1.How to switch on a device

To switch on a device first we need to select activate/on(0) option.Then we need to select the device(3) , which we need to assign the command.Then type the command in command(4) filed.Then type any response which you preferred in response(5) field.Then click the respective save(6) button to insert the command to the database.

Now I'll demonstrate it by an example. 

Assume we need to assign a command to switch on the device 1.So this is how we do it.

  • Select the activate/on(0) option
  • Select the device 01
  • Type the command as "device one on"
  • Type the respond as "device one is on"
  • Click the save button

As the same we can assign commands for all the 8 devices.


2.How to switch off a device

To switch off a device first we need to select deactivate/off(1) option.Then we need to select the device(3) , which we need to assign the command.Then type the command in command(4) filed.Then type any response which you preferred in response(5) field.Then click the respective save(6) button to insert the command to the database.

Now I'll demonstrate it by an example. 

Assume we need to assign a command to switch on the device 1.So this is how we do it.

  • Select the deactivate/off(1) option
  • Select the device 01
  • Type the command as "device one off"
  • Type the respond as "device one is off"
  • Click the save button

As the same we can assign commands for all the 8 devices.


3.How to Link the application with the automation unit

To Link the automation unit we need to click the con(7) button.Then it will open a window as below.

 

 
 In here we can link the unit in two ways.Those are as below,

  • Via Serial Connection
  • Via Wireless Connection (Wi-Fi)


1.Connect Via Serial

To do this we need to plug the automation unit to the computer with an USB cable.Then we need to select serial option in the application.And click the save button.


2.Connect Via WiFi

To do this we need to click the WiFi option.Then it will open another window as below.


In here we need to type our WiFi connection name in Network Name(1) field.Then we need to type our WiFi password in Wi-Fi Password(2) field.Then we need to click the save(3) button.

As soon as we click the save button it will open two arduino sketch files.Those are as below,

  • Control_Unit.ino
  • Sensor_Unit.ino

Control_Unit.ino file is for the main control unit in automation system(will discuss in future posts) .We need to upload it to the main control unit's arduino board. 

Sensor_Unit.ino file is for the sensor control unit in automation system(will discuss in future posts) .We need to upload it to the sensor unit's arduino board.


Then after we upload both files to each arduino board we need to power up the automation unit which will discuss in future posts.Then it will show an IP address of the automation unit.

We need to type that address in the IP Address fields same as shown in the automation unit.Then click the save button. 


Below video will show how to configure the automation settings






In next post I'll show you about the mp3 organization part in the settings.