Skip to content

Android application created to visualize esp8266 measurments on charts. Retrofit is used to fetch data from PHP server REST API. Project created in accordance with MVP design pattern.

Notifications You must be signed in to change notification settings

Lycan7hropus/IoT_Manager-ANDROID-APP

Repository files navigation

IoT_Manager-ANDROID-APP

Android application created to visualize esp8266 measurments on charts. Retrofit is used to fetch data from PHP server REST API. Project created in accordance with MVP design pattern.
This is app part of my IoT Manager project https://github.com/HomoLupus/IoT_Manager-WEBAPP-AND-SERVER

image

LOGIN ACTIVITY

Open if user isn't logged in. Validation take place on a server, android app sends login and password to server and wait for response, If credentials were valid, Bearer token is retrived. Token is required to fetch data from server.

image

REGISTER ACTIVITY

image

HOME ACTIVITY

image

GRAPH ACTIVITY

In a request 3 parameters are sent

  • PERIOD: HOUR/DAY/WEEK/MONTH
  • ID: SENSOR_ID
  • TYPE: TEMP/HUM/PRES/ALL
The bearer token is sent in the authorization header. In database, token is assigned to specific user, server check if this user is associated with sensor_id sent in parameter

image

About

Android application created to visualize esp8266 measurments on charts. Retrofit is used to fetch data from PHP server REST API. Project created in accordance with MVP design pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages