Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 238 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 238 Bytes

Basic wifi controlled switch based on an ESP8266 and Arduino.

HTTP API

GET /

Returns JSON describing switch status.

{
    "open": true
}

POST /?open=[true|false]

HTTP status indicates success or failure.