diff --git a/README.md b/README.md index 46b9157..2a4c14f 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,83 @@ -

- + -# Smart_Home -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![Discord](https://img.shields.io/discord/601817042475286540.svg?color=Blue&label=Discord&logo=Discord)](https://discord.gg/nMe5evu) + +
+

+ + + +

Make your own Smart Home automation system

+

+ Watch demo » +
+ Explore wikis + + Report bugs +
+

-PHP, JS, HTML - Supports PWA +[![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) -# Installation -default user is Admin and his password id ESP + +## About Smart_Home -# Discord -https://discord.gg/nMe5evu +**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. -## Browser (Desktop PWA) +#### What works with Smart_Home? +* 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! - - - - - + +## Table of Contents -## Mobile (PWA) +* [About Smart_Home](#about-smart_home) +* [Screenshots](#screenshots) +* [Installation](#instalation) +* [API](#api) +* [Contributing](#contributing) +* [License](#license) +* [Built With](#built-with) +* [Authors](#authors) - - - - - + +## Screenshots +### Browser (Desktop PWA) -API -POST Message (Spínač) + + +### Mobile (PWA) + + + + +## Installation +See [Wikis](https://github.com/GamerClassN7/Smart_Home/wiki) for help about installation, usage and troubleshooting. + + +## API +#### POST Message (switch) ``` { "token":"2" } ``` -Answer (Spínač) + +#### Answer (switch) ``` { "device":{ @@ -50,7 +89,8 @@ Answer (Spínač) } } ``` -POST Message (Sensor) + +#### POST Message (sensor) ``` { "token":"4", @@ -61,9 +101,45 @@ POST Message (Sensor) } } ``` -Answer (Sensor) + +#### Answer (sensor) ``` { } ``` + + +## 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 + + +## License + +Distributed under the MIT License. See `LICENSE` for more information. + +## Built with +This section briefly lists major frameworks that Smart_Home uses: +* [PHP](https://www.php.net) +* [JS](https://www.javascript.com) +* HTML +* [Arduino IDE](https://www.arduino.cc) + + +## Authors +* [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/)

+Tags (ignore): ESP32 ESP12 ESP08 ESP01 ESP Smart Home Automation System PWA PHP HTML JS DHT11 DHT22 \ No newline at end of file diff --git a/_README_IMG/1.png b/_README_IMG/1.png deleted file mode 100644 index 416a96d..0000000 Binary files a/_README_IMG/1.png and /dev/null differ diff --git a/_README_IMG/10.png b/_README_IMG/10.png deleted file mode 100644 index ebd6b84..0000000 Binary files a/_README_IMG/10.png and /dev/null differ diff --git a/_README_IMG/2.png b/_README_IMG/2.png deleted file mode 100644 index de620ea..0000000 Binary files a/_README_IMG/2.png and /dev/null differ diff --git a/_README_IMG/3.png b/_README_IMG/3.png deleted file mode 100644 index 1337e69..0000000 Binary files a/_README_IMG/3.png and /dev/null differ diff --git a/_README_IMG/4.png b/_README_IMG/4.png deleted file mode 100644 index 0850c06..0000000 Binary files a/_README_IMG/4.png and /dev/null differ diff --git a/_README_IMG/5.png b/_README_IMG/5.png deleted file mode 100644 index aed64ef..0000000 Binary files a/_README_IMG/5.png and /dev/null differ diff --git a/_README_IMG/6.png b/_README_IMG/6.png deleted file mode 100644 index 92bd953..0000000 Binary files a/_README_IMG/6.png and /dev/null differ diff --git a/_README_IMG/7.png b/_README_IMG/7.png deleted file mode 100644 index 7ca17ac..0000000 Binary files a/_README_IMG/7.png and /dev/null differ diff --git a/_README_IMG/8.png b/_README_IMG/8.png deleted file mode 100644 index a567150..0000000 Binary files a/_README_IMG/8.png and /dev/null differ diff --git a/_README_IMG/9.png b/_README_IMG/9.png deleted file mode 100644 index bf6a3ce..0000000 Binary files a/_README_IMG/9.png and /dev/null differ diff --git a/_README_IMG/desktop1.png b/_README_IMG/desktop1.png new file mode 100644 index 0000000..5e4ede5 Binary files /dev/null and b/_README_IMG/desktop1.png differ diff --git a/_README_IMG/desktop2.png b/_README_IMG/desktop2.png new file mode 100644 index 0000000..b44457c Binary files /dev/null and b/_README_IMG/desktop2.png differ diff --git a/_README_IMG/desktop3.png b/_README_IMG/desktop3.png new file mode 100644 index 0000000..e1c1f5a Binary files /dev/null and b/_README_IMG/desktop3.png differ diff --git a/_README_IMG/mobile1.png b/_README_IMG/mobile1.png new file mode 100644 index 0000000..78d5852 Binary files /dev/null and b/_README_IMG/mobile1.png differ diff --git a/_README_IMG/mobile2.png b/_README_IMG/mobile2.png new file mode 100644 index 0000000..22922be Binary files /dev/null and b/_README_IMG/mobile2.png differ diff --git a/_README_IMG/mobile3.png b/_README_IMG/mobile3.png new file mode 100644 index 0000000..a5f62b6 Binary files /dev/null and b/_README_IMG/mobile3.png differ diff --git a/app/controls/dashboard.php b/app/controls/dashboard.php index ed952f5..384f909 100644 --- a/app/controls/dashboard.php +++ b/app/controls/dashboard.php @@ -1,7 +1,7 @@