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.
.docker@0ee345e496 | ||
app | ||
backup | ||
config | ||
core | ||
lang | ||
library | ||
logs | ||
public | ||
updater | ||
.editorconfig | ||
.ftpignore | ||
.gitignore | ||
.gitmodules | ||
.htaccess | ||
.todo | ||
adminer.php | ||
composer.json | ||
composer.lock | ||
git-stats.ps1 | ||
LICENSE | ||
make.sh | ||
New_JS_EDITOR_ TEST.php | ||
README.md | ||
serviceWorker.js |
Make your own Smart Home automation system
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?
- 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
Screenshots
Browser (Desktop PWA)
Mobile (PWA)
Installation
See Wikis for help about installation, usage and troubleshooting.
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)
{
}
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Make sure everything works as intended
- Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Authors
- GamerClassN7 - Lead developer
- Silentis - Developer
- Xinatorus - Developer
- revoxhere - ReadMe & Wikis
Project Link: https://github.com/GamerClassN7/Smart_Home/
Tags (ignore): ESP32 ESP12 ESP08 ESP01 ESP Smart Home Automation System PWA PHP HTML JS DHT11 DHT22
Code Statistics
Type | Files | Lines |
---|---|---|
php | 2 | 2298 (89%) |
md | 1 | 171 (7%) |
js | 1 | 64 (2%) |
sh | 1 | 34 (1%) |
json | 1 | 10 (0.4%) |
----- | ------- | ----------- |
All | 6 | 2577 |
Folder structure
- /app # app specific files
- /controllers
- UserController.php
- /library # helpers etc.
- /models
- /types
- Units.php
- UserModal.php
- /views
- /layouts
- default.phtml
- /templates
- /components
- /pages
- Bootstrap.php
- Db.php
- Routes.php
- /library # framework, 3rd libraries etc.
- /vendor
- Controller.php
- Db.php
- Router.php
- config
- config.php /
- public
- /css
- /images
- /js
- .htaccess
- index.php