Difference between revisions of "Switch"

From Let's Control It
Jump to navigation Jump to search
(Created page with "= Introductie = The ESP module can read a basic switch to send a state or dimmer value to your controller. The input switch needs to be connected to a configurable GPIO on th...")
 
Line 8: Line 8:
  
 
----
 
----
[[File:DS18B20.jpg|320px]]
+
[[File:Lightswitch.jpg|320px]]
 
----
 
----
  

Revision as of 13:12, 13 September 2015

Introductie

The ESP module can read a basic switch to send a state or dimmer value to your controller.

The input switch needs to be connected to a configurable GPIO on the ESP module.

Hardware

Connext a switch between ground and the GPIO pin.


Lightswitch.jpg


Software

Custom Sketch

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Switch Input" from the dropdown box and enter the IDX found in the Domoticz device page. Also select the GPIO pin that you have used to connect the switch device. That should be all.

ESP Connexio