PHP_SMART_HOME_V3/README.md

86 lines
2.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p align="center">
<img src="ICON HERE" height="100" width="100">
</p>
# Smart_Home
[![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)
[![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)
**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
* tu jebnę tabelkę
* taką wyjebaną
* w c..j xD
## Installation
//zrób tu dużo panie revoxie!
## Screenshots
### Browser (Desktop PWA)
<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">
### Mobile (PWA)
<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">
## API
### POST Message (switch)
```
{
"token":"2"
}
```
### Answer (switch)
```
{
"device":{
"hostname":"2",
"sleepTime":0
},
"state":"succes",
"value":"0"
}
}
```
### POST Message (sensor)
```
{
"token":"4",
"values":{
"door":{
"value":1
}
}
}
```
### Answer (sensor)
```
{
}
```
## Contributions
//tu jebnę coś o pull requestach
## Authors
//tu jebnę autorów