tuanpmt / esp_mqtt

MQTT client library for ESP8266
http://tuanpm.net/post/esp_mqtt/
MIT License
1.15k stars 401 forks source link

ESP PIR sensor #136

Closed timhodson closed 7 years ago

timhodson commented 7 years ago

This PR adds code to use the ESP's interrupts

Detect positive edges on GPIO2 and send an MQTT message when this happens.