Home Automation
Because IoT is crap.
This is a rewrite of a former project I’ve implimented into my home. My goal is to integrate current standards for security and communication for the web server. This will be an open source project that anybody is welcome to use or contribute to.
Techniques and Technologies
- PHP/JavaScript/C++ Languages
- Object Oriented Programming
- OWASP Guided Project
- Modular Library
References
- Github Project - https://gitlab.com/SudoSaibot/smartspinach
- OWASP Site - https://www.owasp.org
- Arduino - https://www.arduino.cc/en/Reference/HomePage
System Overview
System topology seperates the client from the controller. The web server handles authentication, metrics, commands and requests to controllers. The controller will have basic authentication and should reside within a protected and firewalled network.
[ Client <-> Webserver <-> Arduino <-> Sensors ]
The Software
This project will be separated into three parts. Follow the corresponding posts below as they will be developed in tandem.
- HVAC Controller [Click] - Basic looping program to handle heating and cooling. Simple http communication.
- Web UI Control [Click] - Input from user or schedule will be sent to the controller to adjust behavior.
- Web Telemetry [Click] - Monitor and record statistics from controller inputs and outputs.
Format
Tabbed, long hand, lower case first letter on variables, upper case first letter on functions and classes. Comment, yes please.
Void function FunkyChicken()
{
If(condition)
{
//do something
}
}