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/)
- 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
- ButterKnife - to bind views easily
- Retrofit - to call web requests
- GSON - to convert Java Objects into their JSON representation and vice-versa
- 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
- 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
- ...
- URL: http://<IP address>:9000/
- Implemented in Java
- Returns objects in JSON format
- Reads devices' initial values from initial_values.json
- GET /devices
- GET /divisions/{id}/devices
- GET /devices/{id}