Coder Social home page Coder Social logo

lio-core's People

Contributors

iamniklas avatar

Watchers

 avatar

lio-core's Issues

Read Configuration From File

  • Read Configuration from config file (config.txt)
  • Contains MQTT configuration atm
  • This logic is used for all depended programs except the app

Implement HTTP endpoints that match (and extend) the existing mqtt logic

POST /led/procedure/ --- Set new procedure
GET /led/procedure/ --- Get current procedure (type)
GET /led/procedure/all/ --- Get current procedure with data bundle
GET /led/variables/ --- Get data bundle of current procedure
PUT /led/variables/ --- Update data bundle of current procedure

GET /device/info/name/ --- Get device name from configuration
GET /device/info/ --- Get device configuration
GET /device/echo/ --- Get device echo for scanning

Update Based On Timestamp/Frametime Rather Than Thread.sleep()

  • The sleep method from the Thread class has a bit of a delay which makes it difficult to synchronize actions across multiple devices
  • This is why the update/render call should be made after a certain frametime has passed since the last timestamp has been captured

Recognize Faulty Scripts

  • Make the program recognize invalid scripts that are either faulty, contain bugs or may harm the system

Remove Any HTTP logic

  • HTTP as a network protocol is outdated and has been replaced by MQTT
  • Remove all HTTP code to prevent ghost code

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.