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.
Go to file
haitem 4ab70a1c2d Remake approved view and add rename input in setting for room name 2021-03-01 17:38:44 +01:00
.docker@0ee345e496 docker 2020-10-21 14:38:41 +02:00
app Remake approved view and add rename input in setting for room name 2021-03-01 17:38:44 +01:00
backup Clean Up Backup Folder 2020-10-21 14:44:31 +02:00
config Fixes 2021-01-06 19:23:12 +01:00
core Remove test code 2020-12-15 21:50:42 +01:00
lang Make plugins list and switcher 2020-10-26 00:01:30 +01:00
library TODO 2020-07-21 10:46:57 +02:00
logs CleanUp After Docker Try 2020-05-16 17:18:27 +02:00
public FTP -> GIT Diff 2021-03-01 16:02:21 +01:00
updater CleanUp After Docker Try 2020-05-16 17:18:27 +02:00
.editorconfig refactoring new project structure 2020-04-21 17:59:37 +02:00
.gitignore FTP -> GIT Diff 2021-03-01 16:02:21 +01:00
.gitmodules Docker submodule fixed 2020-12-15 09:13:23 +01:00
.htaccess Few Fixes After infrastructure migration 2020-09-14 15:15:47 +02:00
.todo User Gavatar Support 2020-01-21 11:24:50 +01:00
LICENSE Licence Tweek 2020-03-25 17:54:59 +01:00
README.md Repository Statistic 2021-02-10 16:12:51 +01:00
composer.json Really basic application object. 2020-12-15 21:10:42 +01:00
composer.lock Really basic application object. 2020-12-15 21:10:42 +01:00
git-stats.ps1 Git Stats + Remove Empty Rooms 2021-02-14 20:13:29 +01:00
make.sh some fix and new firmware for shelly1 2020-02-18 21:30:44 +01:00

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

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