2019-08-23 11:43:46 +00:00
|
|
|
|
<p align="center">
|
2019-10-12 19:27:41 +00:00
|
|
|
|
<img src="ICON HERE" height="100" width="100">
|
2019-10-12 19:17:52 +00:00
|
|
|
|
</p>
|
|
|
|
|
# Smart Home
|
|
|
|
|
**PHP, JS, HTML - Supports PWA**
|
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)
|
2019-10-12 19:17:52 +00:00
|
|
|
|
[![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:17:52 +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
|
|
|
|
|
|
|
|
|
# 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:27:41 +00:00
|
|
|
|
# Screenshots
|
2019-10-12 19:17:52 +00:00
|
|
|
|
### 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
|
|
|
|
|
2019-10-12 19:17:52 +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:17:52 +00:00
|
|
|
|
# API
|
|
|
|
|
### POST Message (Spínač)
|
2019-08-23 11:39:42 +00:00
|
|
|
|
```
|
|
|
|
|
{
|
|
|
|
|
"token":"2"
|
|
|
|
|
}
|
|
|
|
|
```
|
2019-10-12 19:17:52 +00:00
|
|
|
|
|
|
|
|
|
### Answer (Spínač)
|
2019-08-23 11:39:42 +00:00
|
|
|
|
```
|
|
|
|
|
{
|
|
|
|
|
"device":{
|
|
|
|
|
"hostname":"2",
|
|
|
|
|
"sleepTime":0
|
|
|
|
|
},
|
|
|
|
|
"state":"succes",
|
|
|
|
|
"value":"0"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
2019-10-12 19:17:52 +00:00
|
|
|
|
|
|
|
|
|
### POST Message (Sensor)
|
2019-08-23 11:39:42 +00:00
|
|
|
|
```
|
|
|
|
|
{
|
|
|
|
|
"token":"4",
|
|
|
|
|
"values":{
|
|
|
|
|
"door":{
|
|
|
|
|
"value":1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
Answer (Sensor)
|
|
|
|
|
```
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
```
|
2019-10-12 19:17:52 +00:00
|
|
|
|
|
|
|
|
|
# Contributions
|
|
|
|
|
//tu jebnę coś o pull requestach
|
|
|
|
|
|
|
|
|
|
# Authors
|
|
|
|
|
//tu jebnę autorów
|