Smarthome (v2)

Hardware
Mobile

This app is the control interface of my custom built smart home.

Applied Skills

Dart
Flutter
Python
C++

How it works

Hardware

I used a Raspberry Pi to send serial signals to multiple PWM servo controllers. These controllers are linked to transistors which control the actual brightness of the LED strips.

Backend

Like in the last version of my smart home, I wrote two backends. The main backend is a Python script which uses Flask to receive requests and control the lights. The other backend is a express.js app to which the control app sends requests to. It combines the Python backend on my smart home Raspberry and another Python backend on my home server (also a Raspberry Pi). This allows me to get several information like CPU usage, RAM usage and disk usage of both Rarasperries in one request. I also added a cron job to implement an automatic fan control to cool down the Raspberries if needed.

Frontend

The frontend is an android app coded in Flutter. I published it to the Google Play Store to provide automatic updates to my parents which have limited control (toggle the shutters).

Loading

Get In Touch

Do you have any questions or want get in touch for planning your next project together with me? Feel free to contact me at any time.

Send a Message