Difference between revisions of "Tutorial Domoticz Switch"
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 = | = Add virtual hardware = | ||
Line 5: | Line 6: | ||
[[File:Tutorial_Domoticz_Menu.png]] | [[File:Tutorial_Domoticz_Menu.png]] | ||
+ | |||
And add following hardware to you system: | And add following hardware to you system: | ||
[[File:Tutorial_Domoticz_Add_Hardware.png]] | [[File:Tutorial_Domoticz_Add_Hardware.png]] | ||
+ | |||
= Create a virtual sensor = | = Create a virtual sensor = | ||
Line 14: | Line 17: | ||
[[File:Tutorial_Domoticz_Create_Sensor.png]] | [[File:Tutorial_Domoticz_Create_Sensor.png]] | ||
+ | |||
Click this button and choose Sensor Type "Switch" | Click this button and choose Sensor Type "Switch" | ||
[[File:Tutorial_Domoticz_Add_Sensor.png]] | [[File:Tutorial_Domoticz_Add_Sensor.png]] | ||
+ | |||
= Add device to your system = | = Add device to your system = | ||
Line 23: | Line 28: | ||
[[File:Tutorial_Domoticz_Menu.png]] | [[File:Tutorial_Domoticz_Menu.png]] | ||
+ | |||
Your new temperature device should be listed here | Your new temperature device should be listed here | ||
[[File:Tutorial_Domoticz_Device_List.png]] | [[File:Tutorial_Domoticz_Device_List.png]] | ||
+ | |||
Click the little green button with the arrow pointing in the right direction to add this device | Click the little green button with the arrow pointing in the right direction to add this device | ||
[[File:Tutorial_Domoticz_Device_Add.png]] | [[File:Tutorial_Domoticz_Device_Add.png]] | ||
+ | |||
Name this device "Demo" and click add device. | Name this device "Demo" and click add device. | ||
Line 37: | Line 45: | ||
[[File:Tutorial_Domoticz_Device.png]] | [[File:Tutorial_Domoticz_Device.png]] | ||
+ | |||
= Connect the ESP Easy to your network = | = Connect the ESP Easy to your network = | ||
Line 42: | Line 51: | ||
[[File:Easy_Main.png]] | [[File:Easy_Main.png]] | ||
+ | |||
Click the "Config" button | Click the "Config" button | ||
[[File:Tutorial_Easy_Config.png]] | [[File:Tutorial_Easy_Config.png]] | ||
+ | |||
Enter your SSID and WPA key and click the "Submit" button | Enter your SSID and WPA key and click the "Submit" button | ||
Line 52: | Line 63: | ||
[[File:Tutorial_Easy_Tools.png]] | [[File:Tutorial_Easy_Tools.png]] | ||
+ | |||
Go back to "Main" and chech the status. It should have an IP address: | Go back to "Main" and chech the status. It should have an IP address: | ||
[[File:Tutorial_Easy_Connected.png]] | [[File:Tutorial_Easy_Connected.png]] | ||
+ | |||
= Configure the ESP Easy Devices = | = Configure the ESP Easy Devices = | ||
Line 61: | Line 74: | ||
[[File:Tutorial_Easy_Devices.png]] | [[File:Tutorial_Easy_Devices.png]] | ||
+ | |||
Click the "Edit" button on the first row | Click the "Edit" button on the first row | ||
[[File:Tutorial_Easy_DevicesConfig1.png]] | [[File:Tutorial_Easy_DevicesConfig1.png]] | ||
+ | |||
Select "Switch Input" and enter the IDX found earlier in Domoticz. In our demo it was 250. | Select "Switch Input" and enter the IDX found earlier in Domoticz. In our demo it was 250. | ||
Line 71: | Line 86: | ||
[[File:Tutorial_Easy_DevicesConfig2.png]] | [[File:Tutorial_Easy_DevicesConfig2.png]] | ||
+ | |||
This should be the final result: | This should be the final result: | ||
Line 77: | Line 93: | ||
+ | = Testing = | ||
Now toggle GPIO-0 pin high and low and the light bulb in Domoticz should turn on/off accordingly! | Now toggle GPIO-0 pin high and low and the light bulb in Domoticz should turn on/off accordingly! |
Revision as of 09:43, 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.
Contents
Add virtual hardware
Domoticz Menu -> Setup -> Hardware
And add following hardware to you system:
Create a virtual sensor
The new hardware should be in the list and there should be a button "Create Virtual Sensors"
Click this button and choose Sensor Type "Switch"
Add device to your system
Domoticz Menu -> Setup -> Devices
Your new temperature device should be listed here
Click the little green button with the arrow pointing in the right direction to add this device
Name this device "Demo" and click add device.
Navigate to menu "Switches" and your device should be listed:
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:
Click the "Config" button
Enter your SSID and WPA key and click the "Submit" button
Click the "Tools" button and Click "Connect"
Go back to "Main" and chech the status. It should have an IP address:
Configure the ESP Easy Devices
Click the "Devices" button
Click the "Edit" button on the first row
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
This should be the final result:
Testing
Now toggle GPIO-0 pin high and low and the light bulb in Domoticz should turn on/off accordingly!