Giter VIP home page Giter VIP logo

smart-home-project's Introduction

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

smart-home-project's People

Contributors

isabelcosta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.