mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
82 lines
1.8 KiB
Markdown
82 lines
1.8 KiB
Markdown
<p align="center">
|
|
<img src="ICON HERE" height="100" width="100">
|
|
</p>
|
|
# Smart Home
|
|
**PHP, JS, HTML - Supports PWA**
|
|
|
|
[](https://github.com/GamerClassN7/Smart_Home/search?l=php)
|
|
[](https://github.com/GamerClassN7/Smart_Home/search?l=js)
|
|
[](https://github.com/GamerClassN7/Smart_Home/search?l=html)
|
|
[](https://opensource.org/licenses/MIT)
|
|
[](https://discord.gg/6BPErAS)
|
|
|
|
|
|
* 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 (Spínač)
|
|
```
|
|
{
|
|
"token":"2"
|
|
}
|
|
```
|
|
|
|
### Answer (Spínač)
|
|
```
|
|
{
|
|
"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 |