pires / obd-server Goto Github PK
View Code? Open in Web Editor NEWWebapp responsible for storing OBD (Android OBD Reader) readings.
License: Apache License 2.0
Webapp responsible for storing OBD (Android OBD Reader) readings.
License: Apache License 2.0
Hi, I'm not sure you are still supporting this library.
I just downloaded your library and ran this command:
mvn clean package
After downloading a lot of things I got following messages:
`Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OBD Server ......................................... FAILURE [ 44.478 s]
[INFO] Entity Model ....................................... SKIPPED
[INFO] REST ............................................... SKIPPED
[INFO] Server executable .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------`
I'm having Java version 1.8 on my machine. Do you have any idea how can I fix it?
Thanks.
Cannot change the server port binding from 8080 to any other using the denoted command '--port XX' (in addition to start command) specified in chapter 2.2.3) of README instructions. I've checked that the new selected port is not occupied.
I can't find it anywhere in the source. I'm really curious. Thank you.
The server start command in chapter 2.2.2) of README instructions maybe incorrect. In my case, the compile/jar output was not in 'server/' but in 'server/target/'. This requires to change the start command to: 'java -jar server/target/server-< version >.jar'.
Relating to provide an easy way to get use of the data output, would it be beneficial to store the obd parameters as per individual and not in one JSON object ("readings")? Unconfigured/Unattended direct importing to external database/application (like PostgreSQL) works fine - but leads to the following result:
JSON-Input:
[{"latitude":40.0,"longitude":-8.1,"timestamp":1234567890,"vin":"testvin","readings":{"speed":"55","rpm":"3000"}}]
DB:
latitude | longitude | timestamp | vin | readings |
---|---|---|---|---|
40.0 | -8.1 | 1234567890 | testvin | {"speed":"55","rpm":"3000"} |
In my opinion, for using the data it seems to be easier to handle with the following JSON structure:
JSON-Input:
[{"latitude":40.0,"longitude":-8.1,"timestamp":1234567890,"vin":"testvin","speed":"55","rpm":"3000"}]
DB:
latitude | longitude | timestamp | vin | speed | rpm |
---|---|---|---|---|---|
40.0 | -8.1 | 1234567890 | testvin | 55 | 3000 |
Data technically not especially elegant but perhabs more compatible without specify parser/importer of external database/application or run complex processing.
JSON Request Call 'http://localhost/obd/?vin=testvin' requires to know the specific VIN. In some use cases the VINs are not known in advance. Is there a possibility to request/get records/content of all VINs from server - surely, this can produce a lot of data in a single response but in my case it would be great.
Additionally, a more elegant way could be to provide a solution to request/get a list of all/unique VINs.
I have tried everything, I have tried running the server-0.1-SNAPSHOT.jar which throws an exception about the domains.xml not found, and the original-server-0.1-SNAPSHOT.jar gives an error about the manifest being missing. I have followed the readme to the last letter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.