PHP_SMART_HOME_V3/README.md

126 lines
3.5 KiB
Markdown
Raw Normal View History

2019-10-12 19:45:12 +00:00
<!--
*** Smart_Home by JonatanRek
*** README by revox, 2019
-->
<!-- LOGO -->
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
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:45:12 +00:00
<!-- ABOUT THE PROJECT -->
## About Smart_Home
**Smart_Home** is a home automation project suited for **ESP boards** family (including NodeMCU). It supports PWA; supports tons of sensors; has modern and elegant UI; is easily customizable; is multilangual.
#### What works with Smart_Home?
2019-10-12 19:55:55 +00:00
* temperature sensors (e.g. DHT11/22)
* humidity sensors (e.g. DHT11/22)
* light detectors
* water leak sensors
* voltage meters
* electricity consumption meters
* switches
* and many more!
2019-10-12 19:45:12 +00:00
<!-- TABLE OF CONTENTS -->
## Table of Contents
* [About Smart_Home](#about-smart_home)
* [Screenshots](#screenshots)
* [Installation](#instalation)
* [Contributing](#contributing)
* [License](#license)
* [Built With](#built-with)
* [Authors](#authors)
2019-08-23 11:39:42 +00:00
2019-10-12 19:36:52 +00:00
## Installation
2019-10-12 20:22:24 +00:00
ok that's it for today. Will make more tommorow
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:55:55 +00:00
<img src="./_README_IMG/1.png" height="200" width="400"> <img src="./_README_IMG/2.png" height="200" width="400">
<img src="./_README_IMG/3.png" height="200" width="400"> <img src="./_README_IMG/4.png" height="200" width="400">
2019-08-23 11:39:42 +00:00
### Mobile (PWA)
2019-08-23 11:39:42 +00:00
2019-10-12 19:48:54 +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 20:22:24 +00:00
<!-- CONTRIBUTING -->
## Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create.
If you know how to fix, improve or optimze something, go ahead and contribute! Help is greatly appreciated.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Make sure everything works as intended
6. Open a Pull Request :wink:
<!-- LICENSE -->
## License
Distributed under the MIT License. See `LICENSE` for more information.
<!-- AUTHORS -->
2019-10-12 19:36:52 +00:00
## Authors
2019-10-12 19:55:55 +00:00
* [GamerClassN7](https://github.com/GamerClassN7) - Lead developer
* [Silentis](https://github.com/Silentis) - Developer
* [Xinatorus](https://github.com/Xinatorus) - Developer
* [revoxhere](https://github.com/revoxhere/) - ReadMe & Wikis
Project Link: [https://github.com/GamerClassN7/Smart_Home/](https://github.com/GamerClassN7/Smart_Home/) <br> <br>
<sup><sub>Tags (ignore): ESP32 ESP12 ESP08 ESP01 ESP Smart Home Automation System PWA PHP HTML JS DHT11 DHT22