Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

Android application to control a Smart Home, that receives data from a Central HTTP Server. Ambient Intelligence course project.

Notifications You must be signed in to change notification settings

isabelcosta/smart-home-project

Repository files navigation

Smart Home Project

Android application to control a Smart Home, that receives data from a Central HTTP Server. Developed for Ambient Intelligence course.

  • A house configuration, is specificated in a XML file basic_config_1.xml according to DomoBus Specification. (http://www.domobus.net/)

Modules:

  • app - all code related to the android app; dependency on :commonLib
  • server - all code related to the server; dependency on :commonLib
  • commonlib - contains all common classes like XML parser & entities for Domo Bus configuration file

Libraries:

  • ButterKnife - to bind views easily
  • Retrofit - to call web requests
  • GSON - to convert Java Objects into their JSON representation and vice-versa

Android App

  • Minimum version: 4.4 KitKat
  • MinSdkVersion: 19
  • Used Model-View-Presenter (MVP) pattern inspired by googlesamples example
  • Used Material Design icons
  • Used vector images for divisions and devices from Pixabay and Canva for logo

Features

  • Login after loading XML file configuration (by clicking a button)
  • Login with remember me option
  • Logout from application
  • See all divisions
  • See devices by division
  • See all devices
  • ...

Server

  • URL: http://<IP address>:9000/
  • Implemented in Java
  • Returns objects in JSON format
  • Reads devices' initial values from initial_values.json

Server API:

  • GET /devices
  • GET /divisions/{id}/devices
  • GET /devices/{id}

Wireframe:

app wireframe

About

Android application to control a Smart Home, that receives data from a Central HTTP Server. Ambient Intelligence course project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages