Difference between revisions of "Tutorial Domoticz Switch"

From Let's Control It
Jump to navigation Jump to search
Line 1: Line 1:
 
This tutorial will guide you to connect your first ESP Easy switch to Domoticz. We expect that you have a working Domoticz setup and have loaded the ESP Easy firmware onto your ESP.
 
This tutorial will guide you to connect your first ESP Easy switch to Domoticz. We expect that you have a working Domoticz setup and have loaded the ESP Easy firmware onto your ESP.
  
 +
= Add virtual hardware =
 
Domoticz Menu -> Setup -> Hardware
 
Domoticz Menu -> Setup -> Hardware
  
Line 9: Line 10:
 
[[File:Tutorial_Domoticz_Add_Hardware.png]]
 
[[File:Tutorial_Domoticz_Add_Hardware.png]]
  
 +
= Create a virtual sensor =
 
The new hardware should be in the list and there should be a button "Create Virtual Sensors"
 
The new hardware should be in the list and there should be a button "Create Virtual Sensors"
  
Line 17: Line 19:
 
[[File:Tutorial_Domoticz_Add_Sensor.png]]
 
[[File:Tutorial_Domoticz_Add_Sensor.png]]
  
 +
= Add device to your system =
 
Domoticz Menu -> Setup -> Devices
 
Domoticz Menu -> Setup -> Devices
  
Line 35: Line 38:
 
[[File:Tutorial_Domoticz_Device.png]]
 
[[File:Tutorial_Domoticz_Device.png]]
  
 
+
= Connect the ESP Easy to your network =
 
If you have your ESP board loaded with ESP Easy firmware, powerup the unit and an Access point named "ESP_0" should appear. Connect to this access point and browse to http://192.168.4.1. If all went well, the following screen should be shown:
 
If you have your ESP board loaded with ESP Easy firmware, powerup the unit and an Access point named "ESP_0" should appear. Connect to this access point and browse to http://192.168.4.1. If all went well, the following screen should be shown:
  
Line 54: Line 57:
 
[[File:Tutorial_Easy_Connected.png]]
 
[[File:Tutorial_Easy_Connected.png]]
  
 +
= Configure the ESP Easy Devices =
 
Click the "Devices" button
 
Click the "Devices" button
  

Revision as of 09:41, 29 August 2015

This tutorial will guide you to connect your first ESP Easy switch to Domoticz. We expect that you have a working Domoticz setup and have loaded the ESP Easy firmware onto your ESP.

Add virtual hardware

Domoticz Menu -> Setup -> Hardware

Tutorial Domoticz Menu.png

And add following hardware to you system:

Tutorial Domoticz Add Hardware.png

Create a virtual sensor

The new hardware should be in the list and there should be a button "Create Virtual Sensors"

Tutorial Domoticz Create Sensor.png

Click this button and choose Sensor Type "Switch"

Tutorial Domoticz Add Sensor.png

Add device to your system

Domoticz Menu -> Setup -> Devices

Tutorial Domoticz Menu.png

Your new temperature device should be listed here

Tutorial Domoticz Device List.png

Click the little green button with the arrow pointing in the right direction to add this device

Tutorial Domoticz Device Add.png

Name this device "Demo" and click add device.

Navigate to menu "Switches" and your device should be listed:

Tutorial Domoticz Device.png

Connect the ESP Easy to your network

If you have your ESP board loaded with ESP Easy firmware, powerup the unit and an Access point named "ESP_0" should appear. Connect to this access point and browse to http://192.168.4.1. If all went well, the following screen should be shown:

Easy Main.png

Click the "Config" button

Tutorial Easy Config.png

Enter your SSID and WPA key and click the "Submit" button

Click the "Tools" button and Click "Connect"

Tutorial Easy Tools.png

Go back to "Main" and chech the status. It should have an IP address:

Tutorial Easy Connected.png

Configure the ESP Easy Devices

Click the "Devices" button

Tutorial Easy Devices.png

Click the "Edit" button on the first row

Tutorial Easy DevicesConfig1.png

Select "Switch Input" and enter the IDX found earlier in Domoticz. In our demo it was 250.

click "Submit" to get additional settings for this device

Tutorial Easy DevicesConfig2.png

This should be the final result:

Tutorial Easy DevicesConfig3.png


Now toggle GPIO-0 pin high and low and the light bulb in Domoticz should turn on/off accordingly!