ESP8266 PIR - Hacking the Ikea Molgan
Works and tested on ESP8266-01
Unit resets. Publishes a timestamped message to a MQTT broker and goes into deepsleep.
GPIO code from SDK Example folder + various sources on the net.
MQTT code based on https://github.com/tuanpmt/esp_mqtt
LED + and LED - goes replaces the LED on the PIR light. more info at :- coming soon.