Smart home ESP8266 driver. It controls power sockets basing on settings from database. Additionally it checks parameters and send through API into database(humidity, room temperature, water temperature).
- https://github.com/wojtaszek171/personalApi
- https://github.com/wojtaszek171/MicrocontrollerHome
- https://github.com/wojtaszek171/pwojtaszko-design
- ESP8266 NodeMCU
- Real time clock (DS1302)
- hdc1080 sensor (humidity, temperature)
- 4 relays module (for my project I created power sockets controllable with relays)
- Hermetic temperature sensor (DS1820)
- getSockets.php - fetch database values about power sockets settings
- setSensor.php - send sensor value to database
- Fetching time from web and save value to real time clock module (stores time when no internet connection between restarts)
- Fetching sockets settings (enabled, lightModes) and save to EEPROM (stores settings when no internnet connection between restarts)
- Reading sensors values (hdc1080, DS1820) and sending to database
- Switching power sockets basing on current time from web/clock module and settings from database/eeprom.
- Access point functionality to provide host and WiFi information
- Support for Aquael day and night LED light modes switching (3 light modes: night, day, evening)
- Reading sensors values (hdc1080, bme280) and sending to database
- Reading sensors values (hdc1080) and sending to database
For my purpose I created additional project Smart home (https://github.com/wojtaszek171/SmartHome) which display all values and settings. It contains also administration panel for changing sockets settings.







