PHP_SMART_HOME_V3/README.md

86 lines
2.0 KiB
Markdown
Raw Normal View History

2019-08-23 11:43:46 +00:00
<p align="center">
2019-10-12 19:28:58 +00:00
<img src="ICON HERE" height="100" width="100">
</p>
2019-10-12 19:36:52 +00:00
# Smart_Home
2019-08-23 11:39:42 +00:00
2019-10-12 19:27:41 +00:00
[![PHP](https://img.shields.io/badge/PHP-brightgreen.svg)](https://github.com/GamerClassN7/Smart_Home/search?l=php)
[![JS](https://img.shields.io/badge/JS-red.svg)](https://github.com/GamerClassN7/Smart_Home/search?l=js)
[![HTML](https://img.shields.io/badge/HTML-blue.svg)](https://github.com/GamerClassN7/Smart_Home/search?l=html)
2019-08-23 11:39:42 +00:00
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Discord](https://img.shields.io/discord/604697675430101003.svg?color=Blue&label=Discord&logo=Discord)](https://discord.gg/6BPErAS)
2019-08-23 11:39:42 +00:00
2019-10-12 19:36:52 +00:00
**Smart_Home** is a home automation project suited for *NodeMCU* boards. It supports PWA; supports temperature, humidity, light sensors and switches; has modern and elegant UI; is easily customizable; is multilangual.
### Table of contents
2019-08-23 11:39:42 +00:00
* tu jebnę tabelkę
2019-10-12 19:27:41 +00:00
* taką wyjebaną
* w c..j xD
2019-08-23 11:39:42 +00:00
2019-10-12 19:36:52 +00:00
## Installation
2019-10-12 19:27:41 +00:00
//zrób tu dużo panie revoxie!
2019-08-23 11:39:42 +00:00
2019-10-12 19:36:52 +00:00
## Screenshots
### Browser (Desktop PWA)
2019-08-23 11:39:42 +00:00
2019-10-12 19:27:41 +00:00
<img src="./_README_IMG/1.png" height="250" width="500">
<img src="./_README_IMG/2.png" height="250" width="500">
<img src="./_README_IMG/3.png" height="250" width="500">
<img src="./_README_IMG/4.png" height="250" width="500">
<img src="./_README_IMG/5.png" height="250" width="500">
2019-08-23 11:39:42 +00:00
### Mobile (PWA)
2019-08-23 11:39:42 +00:00
2019-10-12 19:27:41 +00:00
<img src="./_README_IMG/6.png" height="250" width="125">
<img src="./_README_IMG/7.png" height="250" width="125">
<img src="./_README_IMG/8.png" height="250" width="125">
<img src="./_README_IMG/9.png" height="250" width="125">
<img src="./_README_IMG/10.png" height="250" width="125">
2019-08-23 11:39:42 +00:00
2019-10-12 19:36:52 +00:00
## API
2019-10-12 19:28:58 +00:00
### POST Message (switch)
2019-08-23 11:39:42 +00:00
```
{
"token":"2"
}
```
2019-10-12 19:28:58 +00:00
### Answer (switch)
2019-08-23 11:39:42 +00:00
```
{
"device":{
"hostname":"2",
"sleepTime":0
},
"state":"succes",
"value":"0"
}
}
```
2019-10-12 19:28:58 +00:00
### POST Message (sensor)
2019-08-23 11:39:42 +00:00
```
{
"token":"4",
"values":{
"door":{
"value":1
}
}
}
```
2019-10-12 19:28:58 +00:00
### Answer (sensor)
2019-08-23 11:39:42 +00:00
```
{
}
```
2019-10-12 19:36:52 +00:00
## Contributions
//tu jebnę coś o pull requestach
2019-10-12 19:36:52 +00:00
## Authors
//tu jebnę autorów