Skip to content
ESP8266 based security sensor for magnet switch or PIR
Branch: master
Clone or download
roberttidey Add image
Latest commit 262b86b Jun 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information. Add example config file Dec 13, 2018
Schematic_SecurityPIRSchematic.png Initial commit Dec 13, 2018
Schematic_SecuritySwitchSchematic.png Initial commit Dec 13, 2018
SecuritySensor.ino Initial commit Dec 13, 2018
SecuritySensorMagnetic.jpg Add image Jun 12, 2019
espConfig Add example config file Dec 13, 2018

Battery security sensor for ESP8266

Can be magnetic reed switch or PIR See schematics for hook up.


  • Actions notification, web, easyIOT reporting
  • WifiManager for initial set up
  • OTA for updates


  • Uses espConfig file on central server
    • Matches against mac address to have different configs


  • ESP8266WiFi
  • ESP8266HTTPClient
  • ESP8266WebServer
  • ESP8266mDNS
  • ESP8266HTTPUpdateServer
  • ArduinoJson // not currently used
  • DNSServer
  • WiFiManager
  • IFTTTMaker.h

Install procedure

  • Change passwords and notification keys in ino to suit
    • WifiManager,OTA, config server
  • Normal arduino esp8266 compile and upload
  • Use WifiManager to config local wifi
  • Edit espConfig to suit and put on central server
You can’t perform that action at this time.