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
JonatanRek 216db28e60 Fixes
2020-04-21 15:19:05 +02:00
_INSTALATION Instalation user table fix 2019-10-13 14:10:33 +02:00
_README_IMG Usuń '_README_IMG/mobile1.jpg' 2019-10-16 18:45:17 +02:00
app Fixes 2020-04-21 15:19:05 +02:00
library router update 2020-04-21 14:04:01 +02:00
public Includes (js, css to public) 2020-04-21 15:01:29 +02:00
.editorconfig new project structure 2020-04-20 21:49:30 +02:00
.ftpignore Ftp ignor 2020-01-16 14:51:30 +01:00
.gitignore Firmware Updater (Backend + GUI) 2020-03-11 12:22:44 +01:00
.htaccess Main htacess change 2020-04-21 14:57:38 +02:00
.todo User Gavatar Support 2020-01-21 11:24:50 +01:00
api.php API device registration notification #FIX 2020-03-30 08:55:36 +02:00
apiFront.php New Api autentication token 2020-03-31 11:13:21 +02:00
config_sample.php History Clean Up 2019-08-23 13:39:42 +02:00
Docs_api.md Docs to MD 2020-03-31 11:14:38 +02:00
LICENSE Licence Tweek 2020-03-25 17:54:59 +01:00
make.sh some fix and new firmware for shelly1 2020-02-18 21:30:44 +01:00
manifest.json some fix and new firmware for shelly1 2020-02-18 21:30:44 +01:00
old.home some fix and new firmware for shelly1 2020-02-18 21:30:44 +01:00
README.md new project structure 2020-04-20 21:49:30 +02:00
serviceWorker.js Push Messages #2 2019-10-08 16:49:08 +02:00
test.php fix updater 2020-03-09 19:45:49 +01:00
update.php Release Fixes 2020-03-25 15:58:47 +01:00


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
    • /controllers
      • UserController.php
    • /models
      • UserModal.php
    • /views
      • /layouts
        • default.phtml
      • /templates
        • /components
        • /pages
    • Bootstrap.php
    • Db.php
    • Routes.php
  • /library
    • /types
      • Units.php
    • /vendor
    • Controller.php
    • Db.php
    • Router.php
  • config
    • config.php /
  • public
    • /css
    • /images
    • /js
    • .htaccess
    • index.php