Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 385 Bytes

readme.md

File metadata and controls

5 lines (4 loc) · 385 Bytes

Arduino-Pir-Mqtt

Arduino sketch for Arduino Mega with Ethernet Shield and PIR sensor. Motion detected by the PIR is published via Serial and MQTT.

Configuration

The configuration is done within the config.h (PIN,MAC) and the settings.txt (MQTT-Server, credentials and topics). The settings.txt needs the be placed in the root folder of a SD-card within the Ethernet Shield.