https://github.com/shajanjp/easyhome
Home automation using NodeMCU. Dashboard for easy device management.
https://github.com/shajanjp/easyhome
arduino dashboard esp8266 home-automation internet-of-things iot nodemcu wifi
Last synced: about 2 months ago
JSON representation
Home automation using NodeMCU. Dashboard for easy device management.
- Host: GitHub
- URL: https://github.com/shajanjp/easyhome
- Owner: shajanjp
- Created: 2017-09-20T05:48:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-11T17:04:11.000Z (over 3 years ago)
- Last Synced: 2025-03-25T03:57:10.969Z (over 1 year ago)
- Topics: arduino, dashboard, esp8266, home-automation, internet-of-things, iot, nodemcu, wifi
- Language: HTML
- Homepage: https://shajanjacob.com/easyhome
- Size: 324 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EasyHome
Home automation and ambient lighting using NodeMCU.
Control up to 4 devices and neopixel strips.

## PIN Connections
* Device 1 => GPIO 5 => D1
* Device 2 => GPIO 4 => D2
* Device 3 => GPIO 14 => D5
* Device 4 => GPIO 12 => D6
## API
### Get device details
#### Request :
`GET /plugs`
#### Response :
```json
[
{
"plug": 1,
"status": 0
},
{
"plug": 2,
"status": 1
},
{
"plug": 3,
"status": 1
},
{
"plug": 4,
"status": 0
}
]
```
### Turn device 1 on
#### Request :
`GET /plugs?plug=1&status=1`
#### Response :
```json
{
"plug": 1,
"status": 1
}
```
### Turn device 2 off
#### Request :
`GET /plugs?plug=2&status=0`
#### Response :
```json
{
"plug": 2,
"status": 0
}
```
### Strip lighting
#### Request :
`GET /strip?r=150&g=50&b=200`
#### Response :
```json
{
"msg": "Enjoy the colors"
}
```
### Strip light effects
#### Request :
`GET /strip?r=150&g=50&b=200&type=roll`
#### Response :
```json
{
"msg": "Enjoy the colors"
}
```
### Available strip effect types
* roll
* snake
* rainbow