GithubHelp home page GithubHelp logo

cartracker's Introduction

CarTracker

Android Car Tracker

cartracker's People

Contributors

mwcaisse avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

paulobunga

cartracker's Issues

OAuth for Authentication

use OAuth for authentication rather than storing and managing account credentials in the app.

Stop service on Reader Disconnect

Stop the OBD Service when disconnected from the bluetooth device, so it doesn't keep trying to read data while it has no connection.

Driven in X

Add a Driven X miles in day, week, month view to car homepage.

  • Display how many miles car drove in day, week, month timeframe.

  • Drill in to see the trips for day, week, month.

Login Page accessible when logged in

User can still visit the log-in page, despite already being logged in.

Add a redirect to the home page if the user attempts to access login page while logged in.

Updating Trip Name saves too much

When updating a Trip from the UI, only the trip Name is allowed to be changed. However the whole trip object is persisted to the server. This could cause unwanted updates to trip (UI's default values might overwrite nulls).

Add a separate controller endpoint to just update trip name.

Create Settings UI

Create the UI that will display the settings. Will also be the entry point to the application

Spring Version

Updated Spring version of webapp to latest release or possibly 5RC.

Android Requester Spring version is currently 2.

Service Stop Timeout

When determining when to stop the service, don't instantly stop when "-1" is returned from reader.

It occasionally returns that mid stream (could be my OBDII dongle turning off?)

  • Check if the OBDII reader is still connected.
  • If connected, don't stop service continue reading
  • If not connected, wait a few seconds, see if we can reconnect.

Create Settings Backing

Create the backing that will be used to store and fetch settings. For both the settings UI and the foreground service

Determing handling non existant entities

Need to determine how I want to handle a request for an entity that doesn't exist

  1. Can return a 404 error
  2. Can return an EntityResponse with an error message filled out

1 is likely the better option as then the client can determine what to show to the user when it is not found, and it can also take action and determine what to do. But this depends on how the client will handle the 404 response.

Could also add an error code into the EntityResponse.. But likely that will be pointless as I can already do that with Http Status and returning a 404.. Unless I need to add additional meta data to the response.

WebService Backoff

Implement a Web Service backoff. If a request fails to submit to the webservice, don't just try again. Wait a bit before we try again. Maybe check if we have network connection as well.

Related to #16

Trip Reader Logs

When viewing a trip show the reader logs that are associated with that trip.

Have a section on the page that shows the logs from around the time the trip started to when the trip ended.

Update View

Change the Debug View into the main status view for the application.

  • Add the settings bar up top to open the application settings
  • Improve the view to display better status of the application.

Create Broadcast Receiver

Create the Broadcast receiver that will be used to Start / Stop the service when it detects the bluetooth device is connected / disconnected.

Create Mock OBD Service

Create a mock portion of the OBD service that spits out random / mock OBD data.

Allows for testing and creation of the web service + web client.

Car API Controller

Create the API Controller for Car.

Allows users to:

  • Fetch all Cars
  • Fetch a Car
    • By Id
    • By VIN
  • Register a new Car
  • Update an existing car

Local Reading Cache

Add a cache so if the device does not have a network connection, it can store the data locally until one becomes available.

OBD Command Settings

Add a settings option for choosing with OBD commands to execute / collect data with.

Service Connection Retry

Add the ability to retry the bluetooth / obd connection.

If it only fails once then the service doesn't just quit. It will try to re-establish connection more than once.

OBD Connection Retry

When the connection to the OBD reader is lost, don't instantly end the trip, try and see if we can reconnect to the reader.

On occasion the app loses connection to the OBD reader, but the car is still running.

PiReader OBD Reset Command

Investigate why the OBD Reset command behaves differently and causes application to hang waiting for input.

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.