Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apexskier/esp8266-switch

Basic wifi controlled switch based on an ESP8266 and Arduino.
https://github.com/apexskier/esp8266-switch

arduino esp8266 iot switch

Last synced: 29 days ago
JSON representation

Basic wifi controlled switch based on an ESP8266 and Arduino.

Awesome Lists containing this project

README

        

Basic wifi controlled switch based on an ESP8266 and Arduino.

## HTTP API

### GET `/`

Returns JSON describing switch status.

```json
{
"open": true
}
```

### POST `/?open=[true|false]`

HTTP status indicates success or failure.