Switch

From Let's Control It
Revision as of 07:47, 3 October 2015 by Admin (talk | contribs) (→‎ESP Easy)
Jump to navigation Jump to search

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.

EasyConfigSwitch.png

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