ppet36 / openhab-lightswitch

OpenHAB lightswitch based on ESP8266.
GNU General Public License v3.0
7 stars 3 forks source link

Read original light state switch on GPIO2 #2

Open MaikoHermans opened 5 years ago

MaikoHermans commented 5 years ago

I'm currently building a similar switch, however I'm not sure on how to track the state when the hardware switch is used. Do I need to connect a wire from the hardware switch to the board as well?

I'm actually using a relay board specifically made for the esp01 (see link) I would love to hear how to set this part up since I'm not sure how to make sense of the schematics you posted.

https://www.aliexpress.com/item/5V-ESP8266-ESP-01-Wifi-Relay-Module-Wireless-App-Remote-Control-IOT-Relay-Switch-ESP8266-ESP01/32963300866.html?spm=a2g0z.10010108.1000001.12.1a4e344bkKkza4&isOrigTitle=true