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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
GamerClassN7 98efb779b1 comment 1 year ago
.docker@0ee345e496 docker 1 year ago
app comment 1 year ago
backup Clean Up Backup Folder 1 year ago
config Introduced configurations and application object (test code) 1 year ago
core Remove test code 1 year ago
lang Make plugins list and switcher 1 year ago
library TODO 1 year ago
logs CleanUp After Docker Try 2 years ago
public Introduced configurations and application object (test code) 1 year ago
updater CleanUp After Docker Try 2 years ago
.editorconfig refactoring new project structure 2 years ago
.ftpignore Ftp ignor 2 years ago
.gitignore Create composer.json, ignore vendor/ folder. 1 year ago
.gitmodules Docker submodule fixed 1 year ago
.htaccess Few Fixes After infrastructure migration 1 year ago
.todo User Gavatar Support 2 years ago
LICENSE Licence Tweek 2 years ago
New_JS_EDITOR_ TEST.php CleanUp After Docker Try 2 years ago
README.md project structure refactoring 2 years ago
adminer.php Add device menu 1 year ago
composer.json Really basic application object. 1 year ago
composer.lock Really basic application object. 1 year ago
make.sh some fix and new firmware for shelly1 2 years ago
serviceWorker.js Make plugins list and switcher 1 year ago

README.md


Make your own Smart Home automation system


Explore wikis Report bugs

PHP JS HTML License: MIT Discord

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.

  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.

Authors

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

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