Skip to content

This is a work-in progress. This repository contains the code I currently use for some devices around my house. I might write some documentation and make it usable for others at some point in the future, although it's not likely to be soon.

Notifications You must be signed in to change notification settings

dominik-polic/Smart-Home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart-Home

This is a repository containing old version of Aarduino and Raspberry Pi programs I previously used in my home automation system.

The Android App is still updated, and it's open source, but it's also available on Google Play Store, but only for my personal use currently.

The rest of the code for my smart home project can be found in the new repository

Software and services currently used for this project

  • Android Studio (Android Phone and Wear OS app)
  • Firebase Real-time database
  • Firebase cloud messaging
  • NodeRED
  • Mosca MQTT broker
  • Arduino IDE

Android App features

These are some of the features of the Android App:

Login screen

Fully functional login screen, storing user credentials and data in a Firebase Database

image

Control screen

A basic control screen, design is stilla work in progress, but backend is fully implemented. If you have a working internet connection actions are almost instant, meaning that, for example, light turns on within about 200ms when you press a button.

image

Web interface

Basically a NodeRED dashboard displayed in app. More functions and better design, but slow to load, therefore this will be removed once the in-app control screen is finished.

image

Notifications

Currently, the only implemented notification is the one that activates when someone rings a bell, showing you the preview image from a security camera pointing at the bell and basic action buttons for opening the gates. You can enable/disable this notification in-app or by disabling dedicated notification channel in Android O and later.

image

Clicking on a notification opens up a quick preview with basic options to open the gate. Everything works, but the design is not finished yet.

image

Widgets

Currently, there are 2 basic widgets, one only for opening/losing the car gate, and one also including my room light switch. The widget allows you to simply open the gate from your home screen without opening the app, which is what we use the app for the most.

image

Quick settings Tiles

Similar to widgets, currently 2 tiles are available, one for light and one for gate. As opposed to widgets, the tiles reflect the actual current state of these nodes and update when clicked or the node is changed from another source.

image

The tiles are only available if you are logged in and have an active internet connection, otherwise they are disabled.

image image

The tiles can be very useful if made easily accessible

image

Other

Other features include:

  • Quick settings
  • App shortcuts
  • Notification channels
  • App sidebar
  • Adaptive icon
  • Wear OS companion app
  • Wear OS quick tile

image image image image image

About

This is a work-in progress. This repository contains the code I currently use for some devices around my house. I might write some documentation and make it usable for others at some point in the future, although it's not likely to be soon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published