GithubHelp home page GithubHelp logo

project-owl / dms-lite Goto Github PK

View Code? Open in Web Editor NEW
31.0 6.0 7.0 11.97 MB

DMS LITE is the lightweight version of Project OWL's Data Management System. Build to run local on the PaPi

Home Page: https://www.project-owl.com

License: Apache License 2.0

JavaScript 93.35% CSS 1.65% Python 1.32% Shell 1.03% EJS 2.64%
clusterduck-protocol papi dms iot mqtt

dms-lite's Issues

Typo in serial_sqlwriter.py leading to wrong Date/Time format

Issue: Typo in serial_sqlwriter.py leads to wrong Date/Time format preventing the "online" detection of the ducks-view from working.

Solution: Change line nr. 26 in serial_sqlwriter.py from

theTime = strftime("%Y-%m-%d %Hs:%M:%S", gmtime())

to

theTime = strftime("%Y-%m-%d %H:%M:%S", gmtime())

Dockerize the application

The use of docker containers would simplify the deployment of the software and other operating systems (e.g. Ubuntu Linux, Hypriot OS, Balena OS) could be supported. Furthermore, dependencies can be better managed and the installation can be done via script.

Here is a link to an example that shows how a Node.js application can be dockerized: https://nodejs.org/fr/docs/guides/nodejs-docker-webapp/

Data Visualization

Issue: Currently you can only see your data in table format. While this is useful to see a log of all your data it would also be helpful to some users to be able to generate some simple graphs about their networks. See Examples

Ex: DMS-Lite can be used to inform a user about how their network is performing, the health of devices, sensor data, etc... Anything really that could enhance network management.

Ex: Some of the Clusterduck devices have the ability to send GPS coordinates so maybe an interactive maps page to visualize where your ducks may be deployed.

Issues in Wifi-install.sh

I noticed some quirks in Wifi-install.sh which are as follows:

  • sqlite3 is contained in the Python 3 standard library and doesn't need to be installed, PyPi has no package with that name, hence the pip3 install sqlite3 line should be removed
  • doubles dashes for curl paramters in the last line are wrong, it needs to be one dash
  • the -y parameter for bash on Raspbian yields this error: bash: -y: invalid option, hence it should be removed from the script
  • nodejs 10 installer gives big deprecation warnings, maybe update to 12 ? (I'm no expert on that matter)

Ability to Edit Data with Buttons

Issue: Currently there is no easy way to select data to export to CSV, Delete data, or Filter out Data

Potential Solution: Some buttons on the front-end that would allow users to easily manipulate the data and export to a CSV if wanted.

Make install more configurable

Currently, the bash install includes all packages. While this is fine, it would make more sense to have an option to select how the PaPi is interfacing with PaPiDuck (WiFi vs serial vs other).

Serial Connection To PaPi

Right now the PaPiDuck sends data to the PaPi using the PaPi's WiFi AP. While this works pretty well, there are openings for issues (such as problems connecting, security, using too much energy) and adds more complexity than necessary.

A more reliable solution would be to have a serial connection between the PaPi and PaPiDuck. This can be done using Tx and Rx pins or using a USB connection.

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.