esp-mqtt_presence Firmware to run in a ESP8266: it detects presence and publishes the event in a MQTT topic. Build with platformio pio run -t upload Remember to edit the platformio.ini file and put your WiFi SSID and password.