SmartHome IoT

Smart home control with Tasmota + MQTT

PHPMQTTTasmotaIoTDockerCaddy
SmartHome IoT

The SmartHome IoT system is based on Szécsényi Zoltán's (my mentor) Billman BAS project. I took over the source code and deployed it on my own infrastructure, my own network, with my own smart devices. The original system was developed by Zoltán in PHP for smart home control. I adapted it for my own apartment: my own server, my own domain, my own devices.

The foundation is 5 Tasmota Connector smart plugs that come with Tasmota firmware out of the box. No factory firmware replacement needed: these plugs run completely offline on private infrastructure, sending no data to cloud services (Tuya, Google Home). They communicate via MQTT protocol with a central server, sending real-time consumption data (watts, kWh, voltage, current).

The web dashboard shows current consumption per device, allows scheduling (e.g., nighttime shutoff), and enables remote control through the application running on a Contabo VPS.

The infrastructure runs in Docker Compose with a Caddy reverse proxy. The MQTT broker is Mosquitto, with TLS-encrypted communication.

For me, this project was a hands-on introduction to the IoT world: Tasmota configuration, MQTT topic structure design, real-time data processing, and adapting an existing codebase to my own needs.